Skip to content

Capgemini/step-packer-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wercker Packer Push

A step for pushing packer templates into Atlas.

Dependencies

This build-step depends on ansible, wget and unzip being installed, if any it's missing, the buildstep wil fail. Please install those in your box wercker.yml

You can do this as follows:

build:
  steps:
    - install-packages:
        packages: wget unzip

## Usage

deploy:
  steps:
    - capgemini/step-packer-push:
        packer_version: 0.8.1
        packer_folder: packer
        packer_templates: 'ubuntu-14.04_amd64-amis.json,ubuntu-14.04_amd64-droplet.json'

This will make a "git diff" between the last two merges into the current branch and will "run packer push" for every template in case there is any file changed inside "packer_folder".

## License

The MIT License (MIT)

About

A Wercker step for packer push into Atlas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages