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

Commit 9688312

Browse files
authored
Merge pull request #145 from topcoder-platform/qa
qasync [skip ci]
2 parents 84f8ab8 + 3aa0be0 commit 9688312

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

.circleci/config.yml

Lines changed: 17 additions & 1 deletion
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.8 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 .
@@ -55,6 +55,14 @@ jobs:
5555
APPNAME: "mfe-header"
5656
steps: *builddeploy_steps
5757

58+
"build-qa":
59+
<<: *defaults
60+
environment:
61+
DEPLOY_ENV: "QA"
62+
LOGICAL_ENV: "qa"
63+
APPNAME: "mfe-header"
64+
steps: *builddeploy_steps
65+
5866
"build-prod":
5967
<<: *defaults
6068
environment:
@@ -76,6 +84,14 @@ workflows:
7684
- dev
7785
- feat/regsource
7886

87+
- "build-qa":
88+
context: org-global
89+
filters:
90+
branches:
91+
only:
92+
- qa
93+
94+
7995
# Production builds are exectuted only on tagged commits to the
8096
# master branch.
8197
- "build-prod":

config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = (() => {
44
const env = process.env.APPENV || "dev";
55

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

config/qa.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
URL: {
3+
ACCOUNTS_APP_CONNECTOR: "https://accounts-auth0.topcoder-qa.com", // "http://localhost:5000"
4+
AUTH: "https://accounts-auth0.topcoder-qa.com", // "http://localhost:5000"
5+
TC_NOTIFICATION_URL: "https://api.topcoder-qa.com/v5/notifications",
6+
CONNECT_DOMAIN: "https://connect.topcoder-qa.com",
7+
COMMUNITY_DOMAIN: "https://www.topcoder-qa.com",
8+
PLATFORM_DOMAIN: "https://platform.topcoder-qa.com",
9+
TAAS_APP: "https://platform.topcoder-qa.com/taas/myteams",
10+
PLATFORM_UI: "https://platform-ui.topcoder-qa.com",
11+
},
12+
API: {
13+
V3: "https://api.topcoder-qa.com/v3",
14+
V5: "https://api.topcoder-qa.com/v5",
15+
},
16+
REAUTH_OFFSET: 55, // seconds
17+
PROFILE_CREATION_DATE_THRESHOLD: "2021-10-25", // format: "YYYY-MM-DD"
18+
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"start-local-proxy": "sh start-local-proxy.sh",
77
"dev": "cross-env APPMODE=development webpack-dev-server",
88
"dev-https": "cross-env APPMODE=development webpack-dev-server --https",
9+
"qa": "cross-env APPMODE=development webpack-dev-server",
910
"build": "webpack --mode=${APPMODE:-development} --env.config=${APPENV:-dev}",
1011
"analyze": "webpack --mode=production --env.analyze=true",
1112
"lint": "eslint src --ext js",

0 commit comments

Comments
 (0)