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

CORE-201 Shut down Community App - Beta,Staging,Test & QA envs #6957

Merged
merged 11 commits into from
Jan 19, 2024
70 changes: 37 additions & 33 deletions .circleci/config.yml
kkartunov marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -132,32 +132,34 @@ jobs:
./master_deploy.sh -d ECS -e QA -t latest -s qa_communityapp_taskvar -i communityapp

# Build & Deploy against prod api backend
"build-prod-beta":
<<: *defaults
steps:
# Initialization.
- checkout
- setup_remote_docker
- run: *install_dependency
- run: *install_deploysuite
# Restoration of node_modules from cache.
- restore_cache: *restore_cache_settings_for_build
- run:
name: "configuring environment"
command: |
./awsconfiguration.sh PROD
./buildenv.sh -e PROD -b beta_communityapp_buildvar,beta_communityapp_deployvar -l prod_communityapp_buildvar_ps
# Build of Docker image.
- run: *build_docker_image
# Caching node modules.
- save_cache: *save_cache_settings
# Deployment.
- deploy:
name: Running MasterScript
command: |
source awsenvconf
source buildenvvar
./master_deploy.sh -d ECS -e PROD -t latest -s beta_communityapp_taskvar, -i communityapp
# Deprecate this workflow due to beta env shutdown
# https://topcoder.atlassian.net/browse/CORE-201
# "build-prod-beta":
# <<: *defaults
# steps:
# # Initialization.
# - checkout
# - setup_remote_docker
# - run: *install_dependency
# - run: *install_deploysuite
# # Restoration of node_modules from cache.
# - restore_cache: *restore_cache_settings_for_build
# - run:
# name: "configuring environment"
# command: |
# ./awsconfiguration.sh PROD
# ./buildenv.sh -e PROD -b beta_communityapp_buildvar,beta_communityapp_deployvar -l prod_communityapp_buildvar_ps
# # Build of Docker image.
# - run: *build_docker_image
# # Caching node modules.
# - save_cache: *save_cache_settings
# # Deployment.
# - deploy:
# name: Running MasterScript
# command: |
# source awsenvconf
# source buildenvvar
# ./master_deploy.sh -d ECS -e PROD -t latest -s beta_communityapp_taskvar, -i communityapp

# Build & Deploy against prod api backend
"build-prod-staging":
Expand Down Expand Up @@ -366,20 +368,22 @@ workflows:
only:
- qaenv
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
filters:
branches:
only:
- develop
# Deprecate this workflow due to beta env shutdown
# https://topcoder.atlassian.net/browse/CORE-201
# - "build-prod-beta":
# context : org-global
# filters:
# branches:
# only:
# - develop
# This is stage env for production QA releases
- "build-prod-staging":
context : org-global
filters: &filters-staging
branches:
only:
- develop
- HOTFIX_Contentful_Not_Working_June222023
- CORE-201
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
Expand Down
184 changes: 0 additions & 184 deletions automated-smoke-test/config/automation-config-beta.json

This file was deleted.

1 change: 1 addition & 0 deletions config/backup-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module.exports = {
STUDIO_FONTS_POLICY:
'http://help.topcoder.com/hc/en-us/articles/217959447-Font-Policy-for-Design-Challenges',
TOPCODER_TERMS: 'https://www.topcoder.com/community/how-it-works/terms/',
TOPGEAR_TERMS: 'https://topgear.topcoder.com/challenges/terms/detail/f1d8cca9-ac24-473c-998d-02f499a829cb',
HOWTOCOMPETEINMARATHON: 'https://www.topcoder.com/thrive/articles/How%20To%20Compete%20in%20a%20Marathon%20Match',
USABLECODEDEV: 'https://www.topcoder.com/thrive/articles/Usable%20Code%20in%20Dev%20Challenges',
EXTENSIONVSCODE: 'https://marketplace.visualstudio.com/items?itemName=Topcoder.topcoder-workflow&ssr=false#overview',
Expand Down
1 change: 1 addition & 0 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ module.exports = {
STUDIO_FONTS_POLICY:
'http://help.topcoder.com/hc/en-us/articles/217959447-Font-Policy-for-Design-Challenges',
TOPCODER_TERMS: 'https://www.topcoder.com/community/how-it-works/terms/',
TOPGEAR_TERMS: 'https://topgear.topcoder.com/challenges/terms/detail/f1d8cca9-ac24-473c-998d-02f499a829cb',
HOWTOCOMPETEINMARATHON: 'https://www.topcoder.com/thrive/articles/How%20To%20Compete%20in%20a%20Marathon%20Match',
USABLECODEDEV: 'https://www.topcoder.com/thrive/articles/Usable%20Code%20in%20Dev%20Challenges',
EXTENSIONVSCODE: 'https://marketplace.visualstudio.com/items?itemName=Topcoder.topcoder-workflow&ssr=false#overview',
Expand Down
8 changes: 0 additions & 8 deletions docs/deployment-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ There are total 4 deployment environments
| 1 | Development | Development | feature/fixes testing | `https://community-app.topcoder-dev.com` |
| 2 | Test | Development | feature/fixes testing | `https://test-community-app.topcoder-dev.com`|
| 3 | QA | Development | Smoke/regression testing | `https://qa-community-app.topcoder-dev.com` |
| 4 | Beta | Production | Smoke testing only | `https://beta-community-app.topcoder.com` |
| 5 | Production | Production | Main production | `https://www.topcoder.com` |


Expand Down Expand Up @@ -39,13 +38,6 @@ workflows:
branches:
only:
- develop
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
filters:
branches:
only:
- develop
```
4. Commit the changes
5. Status of the deployment environments can be checked here https://cci-reporter.herokuapp.com/
Loading
Loading