No commit activity in last 3 years
No release in over 3 years
Create a puppet enviroment for each pull request
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
>= 0
>= 0
<= 4.0, >= 3.0
>= 0

Runtime

>= 0
~> 4.9
 Project Readme

Autostager

Automatically stage a local directory based on Github pull request.
For non-Ruby versions, see Ports below.

Build status for master branch: Circle CI

Installation

Add this line to your application's Gemfile:

gem 'puppet-autostager'

And then execute:

$ bundle

Or install it yourself as:

$ gem install puppet-autostager

Usage

Create an access token as described at https://github.com/octokit/octokit.rb#oauth-access-tokens then export a few environment variables:

export repo_slug=ISEexchange/puppet
export access_token=<your 40-char token>
export base_dir=/tmp/puppet/environments
export debug=anything

# Set a timeout for git operations (default 120 seconds).
export timeout=180

# Override the default 30 second interval.
export sleep_interval=60

# Or run as a single-shot operation.
export sleep_interval=0

# Set an alternate git server (default: github.com)
export git_server=git.example.com
export OCTOKIT_API_ENDPOINT=https://git.example.com/api/v3/

Then run:

autostager

Build workflow

We use CircleCI to build and publish to rubygems.org:

simplified workflow

If build is clean on master branch, CircleCI pushes the built gem to https://rubygems.org/gems/puppet-autostager.

Ports