Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass $ST2_RELEASE to docker-compose from CI #12

Closed
arm4b opened this issue Nov 3, 2015 · 2 comments
Closed

Pass $ST2_RELEASE to docker-compose from CI #12

arm4b opened this issue Nov 3, 2015 · 2 comments

Comments

@arm4b
Copy link
Member

arm4b commented Nov 3, 2015

Add ability to pass revision number aka release number from CI, to control package versioning.

st2api_0.14dev-20_amd64.deb

So the version number 0.14dev is parsed from st2common automatically and revision number 20 is injected from outside via ENV.

Same as we have for mistral in docker-compose.

docker-compose should pick up env via docker/compose#1765 when using:

export ST2_RELEASE=20
docker-compose up debian

^^ I'm happy that feature with ENV variables was introduced in docker-compose and released in 1.5 version just hours ago. We're lucky here 🍀

Docs: https://github.com/docker/compose/blob/8cc8e61/docs/compose-file.md#variable-substitution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants