Git Product home page Git Product logo

passed_smoke_test's Introduction

Passed Smoke Test

Updates

Python utility that checks to see if a commit has made it through smoke testing.

Insallation

  • Clone the repo.:

    git clone [email protected]:barleyj-puppet/passed_smoke_test.git
    
  • Set your Jenkins username and api token up. The token can be found by clicking your name and selecting configure then clicking the "Show API Token" button.:

    export JENKINS_USERNAME='your.username'
    export JENKINS_TOKEN='your api token'
    
  • Set your Jira username and api token up.:

    export JIRA_USERNAME='your.username'
    export JIRA_TOKEN='your api token'
    
  • Set your Github username and api token up.:

    export GITHUB_USERNAME='your.username'
    export GITHUB_TOKEN='your api token'
    
  • Jira, Jenkins, and Github tokens will be securely prompted for if they are not set in an environment variable or passed in as an option.

  • Install passed_smoke_test. From within the passed_smoke_test directory run.:

    sudo pip install .
    
    # If you are doing development, this will symlink the source directory
    sudo pip install --editable .
    

Features

  • Check if the latest repo commit was tested in the lastest smoke test.:

    passed_smoke_test latest_build --repo puppetlabs-pe_repo --branch davis
    
  • Check what commits are in the latest enterprise-dist.:

    passed_smoke_test commits --repo puppetlabs-pe_repo --branch glisan
    commit 98130963dcf3be0d45c0f9765aad0e93b1c0f0e0
    
      Merge pull request #337 from puppetlabs/mergeup/2016.4.x_to_glisan/2017_09_11_17_58
    
      Mergeup/2016.4.x to glisan/2017 09 11 17 58
    
    commit 7312bd23cb4f28fd0f36b2cee1017be43b8072ec
    
      Merge pull request #335 from ajroetker/PE-22243
    
      (PE-22243) Add hiera.yaml to configure module to pull data from pe.conf
    
    commit c79a203482759d82ca3759cadb776ba44f5d5993
    
      Merge pull request #333 from puppetlabs/mergeup/2016.4.x_to_glisan/2017_09_06_22_41
    
      Mergeup/2016.4.x to glisan/2017 09 06 22 41
    
    commit 2f26cddd39c3a81e574dbc4676e87e42cef6bc38
    
      Merge pull request #330 from puppetlabs/mergeup/2016.4.x_to_glisan/2017_09_01_22_43
    
      Mergeup/2016.4.x to glisan/2017 09 01 22 43
    
  • Check what the last commit of a repo was if it passed one of the current smoke tests:

    passed_smoke_test last_build --repo puppetlabs-pe_manager --branch hoyt
    Commit 31815ef244ea7fdf9a49689c28d5f611fb45977c in repo puppetlabs-pe_manager passed smoke test in build 2017.3.2-rc1-58-ge8209b5
    
  • Check if all branch commits for a ticket have passed smoke test and been promoted:

    passed_smoke_test ticket --branch hoyt --ticket PE-22678 --jira-username jayson.barley
    Ticket PE-22678 passed smoke test in build 2017.3.2-rc1-37-gf90291d
    Ticket PE-22678 was promoted in build 2017.3.2-rc1-37-gf90291d
    

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

passed_smoke_test's People

Contributors

barleyj-puppet avatar

Forkers

mwbutcher highb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.