Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
04df305a
Commit
04df305a
authored
Nov 13, 2020
by
Etienne Baqué
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs - added prerequisites for autodeploy to ec2
parent
ff05e068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
doc/ci/cloud_deployment/index.md
doc/ci/cloud_deployment/index.md
+6
-3
No files found.
doc/ci/cloud_deployment/index.md
View file @
04df305a
...
...
@@ -284,11 +284,14 @@ When running your project pipeline at this point:
#### 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
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
`build_artifact`
in your
`.gitlab-ci.yml`
file. For example:
Next, define a job for the
`build`
stage. To do so, you must reference the
`Auto-DevOps.gitlab-ci.yml`
template and include a job named
`build_artifact`
in your
`.gitlab-ci.yml`
file. For example:
```
yaml
# .gitlab-ci.yml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment