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

Parallel Deploys to multiple ElasticBeanstalk Applications / Environments #58

Open
thesmith opened this issue Feb 12, 2018 · 0 comments

Comments

@thesmith
Copy link

If you try to do a parallel deploy to multiple ElasticBeanstalk Applications / Environments then only one artefact gets replicated across all those environments :(

Because this line uses the commit ID and the date/time, and does not include the artefact / environment name, while the artefacts can be built from different folders, they will resolve to the same S3 object. That will then be deployed everywhere.

VERSION_NAME=${CI_COMMIT_ID}-${CI_BUILD_ID}-`date +%Y-%m-%d.%H:%M:%S`

Sometimes you'll get lucky and the second will be different, but I'm not that lucky.

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

1 participant