Skip to content

Commit 80dc2ef

Browse files
authored
Merge pull request #4395 from topcoder-platform/develop-on-qa-env
Develop on qa env
2 parents b904d12 + 6999d78 commit 80dc2ef

File tree

2 files changed

+36
-120
lines changed

2 files changed

+36
-120
lines changed

.circleci/config.yml

+36-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,35 @@ jobs:
9191
source awsenvconf
9292
source buildenvvar
9393
./master_deploy.sh -d ECS -e DEV -t latest -s test_communityapp_taskvar -i communityapp
94-
94+
95+
# Build & Deploy against testing backend
96+
"build-qa":
97+
<<: *defaults
98+
steps:
99+
# Initialization.
100+
- checkout
101+
- setup_remote_docker
102+
- run: *install_dependency
103+
- run: *install_deploysuite
104+
# Restoration of node_modules from cache.
105+
- restore_cache: *restore_cache_settings_for_build
106+
- run:
107+
name: "configuring environment"
108+
command: |
109+
./awsconfiguration.sh DEV
110+
./buildenv.sh -e DEV -b qa_communityapp_buildvar,qa_communityapp_deployvar
111+
# Build of Docker image.
112+
- run: *build_docker_image
113+
# Caching node modules.
114+
- save_cache: *save_cache_settings
115+
# Deployment.
116+
- deploy:
117+
name: Running MasterScript
118+
command: |
119+
source awsenvconf
120+
source buildenvvar
121+
./master_deploy.sh -d ECS -e DEV -t latest -s qa_communityapp_taskvar -i communityapp
122+
95123
# Build & Deploy against prod api backend
96124
"build-prod-beta":
97125
<<: *defaults
@@ -211,6 +239,13 @@ workflows:
211239
only:
212240
- develop
213241
- feature-contentful
242+
# This is alternate dev env for parallel testing
243+
- "build-qa":
244+
context : org-global
245+
filters:
246+
branches:
247+
only:
248+
- develop-on-qa-env
214249
# This is beta env for production soft releases
215250
- "build-prod-beta":
216251
context : org-global

deploy.sh

-119
This file was deleted.

0 commit comments

Comments
 (0)