Commit 04df305a authored by Etienne Baqué's avatar Etienne Baqué

Docs - added prerequisites for autodeploy to ec2

parent ff05e068
...@@ -284,11 +284,14 @@ When running your project pipeline at this point: ...@@ -284,11 +284,14 @@ When running your project pipeline at this point:
#### Custom build job for Auto DevOps #### Custom build job for Auto DevOps
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/216008) in GitLab 13.6.
To leverage [Auto DevOps](../../topics/autodevops/index.md) for your project when deploying to To leverage [Auto DevOps](../../topics/autodevops/index.md) for your project when deploying to
AWS EC2, you must specify a job for the `build` stage. AWS EC2, first you must define [your AWS credentials as environment variables](#run-aws-commands-from-gitlab-cicd).
To do so, you must reference the `Auto-DevOps.gitlab-ci.yml` template and include a job named Next, define a job for the `build` stage. To do so, you must reference the
`build_artifact` in your `.gitlab-ci.yml` file. For example: `Auto-DevOps.gitlab-ci.yml` template and include a job named `build_artifact` in your
`.gitlab-ci.yml` file. For example:
```yaml ```yaml
# .gitlab-ci.yml # .gitlab-ci.yml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment