Skip to content
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

CI/CD - Removed Staging Deployment #307

Merged
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
53 changes: 0 additions & 53 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,6 @@ jobs:
ROOT_DOMAIN: dev.communitybridge.org
PRODUCT_DOMAIN: easycla.dev.communitybridge.org

buildStaging:
<<: *buildAnchor
environment:
AWS_ACCESS_KEY_ID_ENV_VAR: AWS_ACCESS_KEY_ID_STAGING
AWS_SECRET_ACCESS_KEY_ENV_VAR: AWS_SECRET_ACCESS_KEY_STAGING
AWS_PROFILE: easycla
AWS_REGION: us-east-1
STAGE: staging
ROOT_DOMAIN: staging.communitybridge.org
PRODUCT_DOMAIN: easycla.staging.communitybridge.org

buildProd:
<<: *buildAnchor
environment:
Expand Down Expand Up @@ -201,17 +190,6 @@ jobs:
ROOT_DOMAIN: dev.communitybridge.org
PRODUCT_DOMAIN: easycla.dev.communitybridge.org

deployContributorConsoleStaging:
<<: *deployFrontendAnchor
environment:
AWS_ACCESS_KEY_ID_ENV_VAR: AWS_ACCESS_KEY_ID_STAGING
AWS_SECRET_ACCESS_KEY_ENV_VAR: AWS_SECRET_ACCESS_KEY_STAGING
AWS_PROFILE: easycla
AWS_REGION: us-east-1
STAGE: staging
ROOT_DOMAIN: staging.communitybridge.org
PRODUCT_DOMAIN: easycla.staging.communitybridge.org

deployContributorConsoleProd:
<<: *deployFrontendAnchor
environment:
Expand All @@ -223,7 +201,6 @@ jobs:
ROOT_DOMAIN: communitybridge.org
PRODUCT_DOMAIN: easycla.communitybridge.org


workflows:
build_and_deploy:
jobs:
Expand Down Expand Up @@ -254,35 +231,6 @@ workflows:
only:
- main

# Deploy Staging
- buildStaging:
filters:
branches:
ignore: /.*/
tags:
# see semver examples https://regex101.com/r/Ly7O1x/201/
only: /^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
- approveStaging:
type: approval
requires:
- buildStaging
filters:
branches:
ignore: /.*/
tags:
# see semver examples https://regex101.com/r/Ly7O1x/201/
only: /^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
- deployContributorConsoleStaging:
requires:
- approveStaging
- buildStaging
filters:
branches:
ignore: /.*/
tags:
# see semver examples https://regex101.com/r/Ly7O1x/201/
only: /^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/

# Deploy Prod
- buildProd:
filters:
Expand All @@ -294,7 +242,6 @@ workflows:
- approveProd:
type: approval
requires:
- deployContributorConsoleStaging
- buildProd
filters:
branches:
Expand Down