StackStorm / packer-st2

Packer templates for building & deploying Vagrant & OVA with StackStorm installed
https://app.vagrantup.com/stackstorm/boxes/st2
Apache License 2.0
14 stars 7 forks source link

Set 'st2_version' and 'box_version' dynamically or use env vars #26

Closed arm4b closed 6 years ago

arm4b commented 6 years ago

The PR adds the optional build params: environment variables could be passed to the build to control the StackStorm version and box/image version:

This way we avoid hardcoding the versions and use ENV vars when the pinning is needed (for example when creating a GitHub release aka git tag like v2.7.1-20180507).

Nice to have: ST2_VERSION and BOX_VERSION format validation.

arm4b commented 6 years ago

found this requirement of version pinning while working on https://github.com/StackStorm/packer-st2/issues/10