Skip to content

Commit

Permalink
update outdated 'copilot pipeline init' instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Hsing-Yu (David) Chen <[email protected]>
  • Loading branch information
davidhsingyuchen committed Apr 17, 2023
1 parent 6f0b89a commit bca9c4b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/microservices/frontend/tabs/copilot.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,17 @@ copilot pipeline init

Once again, you will be prompted with a series of questions. Answer the questions with the following answers:

- Which environment would you like to add to your pipeline? Answer: Choose "test"
- Which repository would you like to use for your pipeline? Answer: Choose the repo url that matches the code commit repository. It will contain `git-codecommit.<region>`
- What would you like to name this pipeline? Answer: Press `Enter` to use the default name (i.e., `ecsdemo-frontend-main`)
- What type of continuous delivery pipeline is this? Answer: Choose "Workloads"
- Which environment would you like to add to your pipeline? Answer: Choose "test"

The core pipeline files will be created in the ./copilot directory. Here is what the output should show:

![init](/images/copilot-pipeline-init.png)

Commit and push the new files to your repo. To get more information about the files that were created, check out the [copilot-cli documentation](https://github.com/aws/copilot-cli/wiki/Pipelines#setting-up-a-pipeline-step-by-step).
In short, we are pushing the deployment manifest (for copilot to use as reference to deploy the service), pipeline.yml (which defines the stages in the pipeline), and the buildspec.yml (contains the build instructions for the service).
Commit and push the new files to your repo. To get more information about the files that were created, check out the [copilot-cli documentation](https://aws.github.io/copilot-cli/docs/concepts/pipelines/).
In short, we are pushing the deployment manifest (for copilot to use as reference to deploy the service), manifest.yml (which defines the stages in the pipeline), and the buildspec.yml (contains the build instructions for the service).

```bash
git add copilot
Expand Down
Binary file modified static/images/copilot-pipeline-init.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/copilot-pipeline-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/copilot-pipeline-status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bca9c4b

Please sign in to comment.