Commit a663b754 authored by Stan Hu's avatar Stan Hu

Merge branch '219352-create-aws-folder' into 'master'

Moved Deploy-ECS template to AWS folder

Closes #219352

See merge request gitlab-org/gitlab!33759
parents 3f010a30 f4918e07
...@@ -121,11 +121,11 @@ After you're all set up on AWS ECS, follow these steps: ...@@ -121,11 +121,11 @@ After you're all set up on AWS ECS, follow these steps:
```yaml ```yaml
include: include:
- template: Deploy-ECS.gitlab-ci.yml - template: AWS/Deploy-ECS.gitlab-ci.yml
``` ```
The `Deploy-ECS` template ships with GitLab and is available [on The `Deploy-ECS` template ships with GitLab and is available [on
GitLab.com](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Deploy-ECS.gitlab-ci.yml). GitLab.com](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/AWS/Deploy-ECS.gitlab-ci.yml).
1. Commit and push your updated `.gitlab-ci.yml` to your project's repository, and you're done! 1. Commit and push your updated `.gitlab-ci.yml` to your project's repository, and you're done!
...@@ -138,7 +138,7 @@ After you're all set up on AWS ECS, follow these steps: ...@@ -138,7 +138,7 @@ After you're all set up on AWS ECS, follow these steps:
application. application.
CAUTION: **Warning:** CAUTION: **Warning:**
The [`Deploy-ECS.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Deploy-ECS.gitlab-ci.yml) The [`Deploy-ECS.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/AWS/Deploy-ECS.gitlab-ci.yml)
template includes both the [`Jobs/Build.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/Build.gitlab-ci.yml) template includes both the [`Jobs/Build.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/Build.gitlab-ci.yml)
and [`Jobs/Deploy/ECS.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/Deploy/ECS.gitlab-ci.yml) and [`Jobs/Deploy/ECS.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/Deploy/ECS.gitlab-ci.yml)
"sub-templates". Do not include these "sub-templates" on their own, and only include the main "sub-templates". Do not include these "sub-templates" on their own, and only include the main
......
stages:
- build
- test
- review
- deploy
- production
variables:
AUTO_DEVOPS_PLATFORM_TARGET: ECS
include:
- template: Jobs/Build.gitlab-ci.yml
- template: Jobs/Deploy/ECS.gitlab-ci.yml
# This template is deprecated and will be removed as part of GitLab 13.2!
#
# If you have referenced this template in your CI pipeline, please
# update your CI configuration by replacing the following occurrence(s):
#
# template: Deploy-ECS.gitlab-ci.yml
#
# with
#
# template: AWS/Deploy-ECS.gitlab-ci.yml
#
# --------------------
#
# Documentation: https://docs.gitlab.com/ee/ci/cloud_deployment/#deploy-your-application-to-the-aws-elastic-container-service-ecs
stages: stages:
- build - build
- test - test
...@@ -5,6 +20,9 @@ stages: ...@@ -5,6 +20,9 @@ stages:
- deploy - deploy
- production - production
before_script:
- printf '\nWARNING!\nThis job includes "Deploy-ECS.gitlab-ci.yml". Please rename this to "AWS/Deploy-ECS.gitlab-ci.yml".\n'
variables: variables:
AUTO_DEVOPS_PLATFORM_TARGET: ECS AUTO_DEVOPS_PLATFORM_TARGET: ECS
......
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