This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +42
-5
lines changed Expand file tree Collapse file tree 4 files changed +42
-5
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
defaults : &defaults
3
3
docker :
4
- - image : circleci /python:2.7-stretch -browsers
4
+ - image : cimg /python:3.11.0 -browsers
5
5
install_dependency : &install_dependency
6
6
name : Installation of build and deployment dependencies.
7
7
command : |
8
+ sudo apt update
8
9
sudo apt install jq
9
- sudo pip install awscli --upgrade
10
- sudo pip install docker-compose
10
+ sudo apt install python3-pip
11
+ sudo pip3 install awscli --upgrade
12
+ sudo pip3 install docker-compose
11
13
install_deploysuite : &install_deploysuite
12
14
name : Installation of install_deploysuite.
13
15
command : |
14
- git clone --branch v1.4.8 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
16
+ git clone --branch v1.4.15 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
15
17
cp ./../buildscript/master_deploy.sh .
16
18
cp ./../buildscript/buildenv.sh .
17
19
cp ./../buildscript/awsconfiguration.sh .
55
57
APPNAME : " mfe-header"
56
58
steps : *builddeploy_steps
57
59
60
+ " build-qa " :
61
+ << : *defaults
62
+ environment :
63
+ DEPLOY_ENV : " QA"
64
+ LOGICAL_ENV : " qa"
65
+ APPNAME : " mfe-header"
66
+ steps : *builddeploy_steps
67
+
58
68
" build-prod " :
59
69
<< : *defaults
60
70
environment :
@@ -76,6 +86,14 @@ workflows:
76
86
- dev
77
87
- feat/regsource
78
88
89
+ - " build-qa " :
90
+ context : org-global
91
+ filters :
92
+ branches :
93
+ only :
94
+ - qa
95
+
96
+
79
97
# Production builds are exectuted only on tagged commits to the
80
98
# master branch.
81
99
- " build-prod " :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module.exports = (() => {
4
4
const env = process . env . APPENV || "dev" ;
5
5
6
6
// 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 ) {
8
8
return require ( "./dev" ) ;
9
9
}
10
10
Original file line number Diff line number Diff line change
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
+ } ;
Original file line number Diff line number Diff line change 6
6
"start-local-proxy" : " sh start-local-proxy.sh" ,
7
7
"dev" : " cross-env APPMODE=development webpack-dev-server" ,
8
8
"dev-https" : " cross-env APPMODE=development webpack-dev-server --https" ,
9
+ "qa" : " cross-env APPMODE=development webpack-dev-server" ,
9
10
"build" : " webpack --mode=${APPMODE:-development} --env.config=${APPENV:-dev}" ,
10
11
"analyze" : " webpack --mode=production --env.analyze=true" ,
11
12
"lint" : " eslint src --ext js" ,
You can’t perform that action at this time.
0 commit comments