Skip to content

Stage a directory based on Github pull request (e.g., dynamic puppet environments)

License

Notifications You must be signed in to change notification settings

jfach/autostager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#autostager
___ __ __ ______ ____ _____ ______ ___ ______ ______ ____ / | / / / //_ // __ / // // | / // // _ _
/ /| | / / / / / / / / / /_
\ / / / /| | / / __ / __/ / /
/ / / ___ |/ /
/ / / / / /
/ /
/ / / / / ___ |/ /
/ // /
/ , / // ||_
/ // _/// // // ||_//___/// ||

Python port of jumanjihouse's autostager
Stage a directory based on Github pull request (e.g., dynamic puppet environments)

##Install: Clone the repo: git clone https://github.com/jfach/autostager.git
OR
Install via pip: pip install autostager

##Setup: Export environment variables:
access_token 40 character Github access token
repo_slug repository that you want to track
base_dir directory to stage PRs in
timeout timeout seconds for git operations, default is 120

>>> export access_token=<your 40-char token>
>>> export repo_slug=jfach/autostager
>>> export base_dir=/path/to/base/dir

##Usage:

>>> from autostager import autostager
>>> autostager = autostager.Autostager() # creates a new autostager instance
>>> autostager.run()

About

Stage a directory based on Github pull request (e.g., dynamic puppet environments)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages