Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit dc18bd7

Browse files
committed
QA changes
1 parent 501f2b5 commit dc18bd7

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.circleci/config.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install_dependency: &install_dependency
1111
install_deploysuite: &install_deploysuite
1212
name: Installation of install_deploysuite.
1313
command: |
14-
git clone --branch v1.4.2 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
14+
git clone --branch v1.4.14 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
1515
cp ./../buildscript/master_deploy.sh .
1616
cp ./../buildscript/buildenv.sh .
1717
cp ./../buildscript/awsconfiguration.sh .
@@ -58,6 +58,14 @@ jobs:
5858
APPNAME: "taas-app"
5959
steps: *builddeploy_steps
6060

61+
"build-qa":
62+
<<: *defaults
63+
environment:
64+
DEPLOY_ENV: "QA"
65+
LOGICAL_ENV: "qa"
66+
APPNAME: "taas-app"
67+
steps: *builddeploy_steps
68+
6169
"build-prod":
6270
<<: *defaults
6371
environment:
@@ -79,6 +87,13 @@ workflows:
7987
- dev
8088
- feature/shapeup4-cqrs-update
8189

90+
- "build-qa":
91+
context: org-global
92+
filters:
93+
branches:
94+
only:
95+
- qa
96+
8297
# Production builds are exectuted only on tagged commits to the
8398
# master branch.
8499
- "build-prod":

config/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = (() => {
66
console.log(`APPENV: "${env}"`);
77

88
// for security reason don't let to require any arbitrary file defined in process.env
9-
if (["prod", "dev"].indexOf(env) < 0) {
9+
if (["prod", "dev", "qa"].indexOf(env) < 0) {
1010
return require("./dev");
1111
}
1212

config/qa.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
/**
3+
* URL of Topcoder Community Website
4+
*/
5+
TOPCODER_COMMUNITY_WEBSITE_URL: "https://topcoder-qa.com",
6+
7+
/**
8+
* URL of Topcoder Connect Website
9+
*/
10+
CONNECT_WEBSITE_URL: "https://connect.topcoder-qa.com",
11+
12+
API: {
13+
V5: "https://api.topcoder-qa.com/v5", //"http://localhost:3000/api/v5"
14+
V3: "https://api.topcoder-qa.com/v3",
15+
},
16+
};

0 commit comments

Comments
 (0)