Skip to content

INF-2617 remove ecs build #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,35 +93,35 @@ workflows:
requires:
- testing-complete
# END ANSIBLE MANAGED BLOCK
build-and-deploy:
jobs:
- datacamp-ecr/build_and_push_image_to_ecr:
name: build
context: org-global
aws-access-key-id: $OPS_AWS_ACCESS_KEY_ID
aws-secret-access-key: $OPS_AWS_SECRET_ACCESS_KEY
account-url: $OPS_ECR_URL
puller-account-ids: '["301258414863", "487088987264"]'
docker-version: 20.10.2
- datacamp-deploy/deploy: # Staging
environment: staging
aws-access-key-id: $STAGING_AWS_ACCESS_KEY_ID
aws-secret-access-key: $STAGING_AWS_SECRET_ACCESS_KEY
context: org-global
requires:
- build
filters:
branches:
only:
- main
- datacamp-deploy/deploy: # Production
environment: prod
context: org-global
requires:
- build
aws-access-key-id: $PROD_AWS_ACCESS_KEY_ID
aws-secret-access-key: $PROD_AWS_SECRET_ACCESS_KEY
filters:
branches:
only:
- main
# build-and-deploy:
# jobs:
# - datacamp-ecr/build_and_push_image_to_ecr:
# name: build
# context: org-global
# aws-access-key-id: $OPS_AWS_ACCESS_KEY_ID
# aws-secret-access-key: $OPS_AWS_SECRET_ACCESS_KEY
# account-url: $OPS_ECR_URL
# puller-account-ids: '["301258414863", "487088987264"]'
# docker-version: 20.10.2
# - datacamp-deploy/deploy: # Staging
# environment: staging
# aws-access-key-id: $STAGING_AWS_ACCESS_KEY_ID
# aws-secret-access-key: $STAGING_AWS_SECRET_ACCESS_KEY
# context: org-global
# requires:
# - build
# filters:
# branches:
# only:
# - main
# - datacamp-deploy/deploy: # Production
# environment: prod
# context: org-global
# requires:
# - build
# aws-access-key-id: $PROD_AWS_ACCESS_KEY_ID
# aws-secret-access-key: $PROD_AWS_SECRET_ACCESS_KEY
# filters:
# branches:
# only:
# - main