Skip to content

Code deploy agent runs the wrong files in case of multiple deployments having same file path and name #80

@MojoJojo

Description

@MojoJojo

Hi
I've noticed this several times - consider a scenario where two deployments/revisions have a same file in the same path:

  1. In the first revision, the the file is scripts/ApplicationStop/application-stop.sh
  2. In the second revision (For a different application), if you have similar file in the same location (but different) content, code deploy will execute the previous file (file from the previous deployment).
  3. You deploy another revision, and this time code deploy will pick up the previous file (from revision 2).

we have a standard script/directory structure that we follow across deployments and this really causes code deploy agent to either run the wrong scripts or mess up data in some cases.

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