Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.
This repository was archived by the owner on May 31, 2024. It is now read-only.

Bugs in Lab1 and Lab2 buildspec.yml #28

@john20xdoe

Description

@john20xdoe

Was able to complete Lab 1 and Lab 2 but there are a couple of incorrect settings in the artifacts block that caused build and deploy to fail, respectively.

Are these intentional as a troubleshooting exercise to the user?

Lab1 > Stage 5 > buildspec.yml

   discard-paths: no  

FIX: discard-paths should be yes to work.

Lab2 > Stage 3 > buildspec.yml

artifacts:
  files:
    - appspec.yml
    - scripts/**/*
    - target/javawebdemo.war

FIX: scripts/**/* should be scripts/* to be included in the bundle (otherwise the scripts are missing in CodeDeploy).

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