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
4bd97fa3
Commit
4bd97fa3
authored
Mar 24, 2020
by
Etienne Baqué
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated AWS ECS documentation
parent
79553c8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
changelogs/unreleased/210543-update-deploy-ecs.yml
changelogs/unreleased/210543-update-deploy-ecs.yml
+5
-0
doc/ci/cloud_deployment/index.md
doc/ci/cloud_deployment/index.md
+14
-2
lib/gitlab/ci/templates/Deploy-ECS.gitlab-ci.yml
lib/gitlab/ci/templates/Deploy-ECS.gitlab-ci.yml
+1
-1
No files found.
changelogs/unreleased/210543-update-deploy-ecs.yml
0 → 100644
View file @
4bd97fa3
---
title
:
Update aws-ecs image location in CI template
merge_request
:
27382
author
:
type
:
changed
doc/ci/cloud_deployment/index.md
View file @
4bd97fa3
...
...
@@ -39,7 +39,7 @@ Some credentials are required to be able to run `aws` commands:
```
yml
deploy
:
stage
:
deploy
image
:
registry.gitlab.com/gitlab-org/cloud-deploy:latest
# see the note below
image
:
registry.gitlab.com/gitlab-org/cloud-deploy
/aws-base
:latest
# see the note below
script
:
-
aws s3 ...
-
aws create-deployment ...
...
...
@@ -47,7 +47,7 @@ Some credentials are required to be able to run `aws` commands:
NOTE:
**Note:**
Please note that the image used in the example above
(
`registry.gitlab.com/gitlab-org/cloud-deploy:latest`
) is hosted on the
[
GitLab
(
`registry.gitlab.com/gitlab-org/cloud-deploy
/aws-base
:latest`
) is hosted on the
[
GitLab
Container Registry
](
../../user/packages/container_registry/index.md
)
and is
ready to use. Alternatively, replace the image with another one hosted on
[
AWS ECR
](
#aws-ecr
)
.
...
...
@@ -119,3 +119,15 @@ After you're all set up on AWS ECS, follow these steps:
Finally, your AWS ECS service will be updated with the new revision of the
task definition, making the cluster pull the newest version of your
application.
Alternatively, if you don't wish to use the
`Deploy-ECS.gitlab-ci.yml`
template
to deploy to AWS ECS, you can always use our
`aws-base`
Docker image to run your own
[
AWS CLI commands for ECS
](
https://docs.aws.amazon.com/cli/latest/reference/ecs/index.html#cli-aws-ecs
)
.
```
yaml
deploy
:
stage
:
deploy
image
:
registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest
script
:
-
aws ecs register-task-definition ...
```
lib/gitlab/ci/templates/Deploy-ECS.gitlab-ci.yml
View file @
4bd97fa3
...
...
@@ -9,7 +9,7 @@ include:
-
template
:
Jobs/Build.gitlab-ci.yml
.deploy_to_ecs
:
image
:
registry.gitlab.com/
ebaque
/cloud-deploy/aws-ecs:latest
image
:
registry.gitlab.com/
gitlab-org
/cloud-deploy/aws-ecs:latest
script
:
-
ecs update-task-definition
...
...
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