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

CodeDeploy fails with path error #31

Open
waldoj opened this issue Dec 4, 2017 · 1 comment
Open

CodeDeploy fails with path error #31

waldoj opened this issue Dec 4, 2017 · 1 comment
Labels

Comments

@waldoj
Copy link
Member

waldoj commented Dec 4, 2017

Script does not exist at specified location: /opt/codedeploy-agent/deployment-root/50a5988b-69bb-4f4d-8ac9-b420362983d4/d-T7ZDC9H5Q/deployment-archive/rs-machine/deploy/postdeploy.sh

This is prompted by this bit of appspec.yml:

hooks:
  AfterInstall:
    - location: deploy/postdeploy.sh

The use of relative paths is supported by their example.

I have tried absolute paths, relative paths that include rs-machine, and relative paths that do not—nothing works.

Unfortunately, there is no appspec.yml validator.

I'm baffled.

@waldoj waldoj added the bug label Dec 4, 2017
waldoj added a commit that referenced this issue Dec 4, 2017
Things can run fine without this, for now. Toward #31.
@waldoj waldoj mentioned this issue Dec 24, 2017
@waldoj
Copy link
Member Author

waldoj commented Feb 18, 2018

Ohhhhh right:

Script does not exist at specified location: /opt/codedeploy-agent/deployment-root/50a5988b-69bb-4f4d-8ac9-b420362983d4/d-DNIXJZBKR/deployment-archive/rs-machine/deploy/predeploy.sh

Argh.

waldoj added a commit that referenced this issue Feb 18, 2018
Because #31. Stupid CodeDeploy YAML.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant