Skip to content

Parallel Deploys to multiple ElasticBeanstalk Applications / Environments #58

@thesmith

Description

@thesmith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions