This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ install_dependency: &install_dependency
11
11
install_deploysuite : &install_deploysuite
12
12
name : Installation of install_deploysuite.
13
13
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
15
15
cp ./../buildscript/master_deploy.sh .
16
16
cp ./../buildscript/buildenv.sh .
17
17
cp ./../buildscript/awsconfiguration.sh .
50
50
APPNAME : " micro-frontends-react-app"
51
51
steps : *builddeploy_steps
52
52
53
+ # Build & Deploy against development backend
54
+ " build-qa " :
55
+ << : *defaults
56
+ environment :
57
+ DEPLOY_ENV : " QA"
58
+ LOGICAL_ENV : " qa"
59
+ APPNAME : " micro-frontends-react-app"
60
+ steps : *builddeploy_steps
61
+
53
62
" build-prod " :
54
63
<< : *defaults
55
64
environment :
@@ -70,6 +79,14 @@ workflows:
70
79
only :
71
80
- dev
72
81
82
+ # Development builds are executed on "develop" branch only.
83
+ - " build-qa " :
84
+ context : org-global
85
+ filters :
86
+ branches :
87
+ only :
88
+ - qa
89
+
73
90
# Production builds are exectuted only on tagged commits to the
74
91
# master branch.
75
92
- " build-prod " :
Original file line number Diff line number Diff line change 1
1
# Use the base image with Node.js
2
- FROM node:latest
2
+ FROM node:15.5.1
3
3
4
4
# Copy the current directory into the Docker image
5
5
COPY . /micro-frontends-react-app
Original file line number Diff line number Diff line change 4
4
"start" : " node server.js" ,
5
5
"dev" : " webpack-dev-server --port 8500" ,
6
6
"dev-https" : " webpack-dev-server --https --port 8500" ,
7
+ "qa" : " webpack-dev-server --port 8500" ,
7
8
"build" : " webpack --mode=production" ,
8
9
"analyze" : " webpack --mode=production --env.analyze=true" ,
9
10
"lint" : " eslint src --ext js" ,
You can’t perform that action at this time.
0 commit comments