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 +25
-5
lines changed Expand file tree Collapse file tree 3 files changed +25
-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.2 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 .
50
52
APPNAME : " micro-frontends-react-app"
51
53
steps : *builddeploy_steps
52
54
55
+ # Build & Deploy against development backend
56
+ " build-qa " :
57
+ << : *defaults
58
+ environment :
59
+ DEPLOY_ENV : " QA"
60
+ LOGICAL_ENV : " qa"
61
+ APPNAME : " micro-frontends-react-app"
62
+ steps : *builddeploy_steps
63
+
53
64
" build-prod " :
54
65
<< : *defaults
55
66
environment :
@@ -70,6 +81,14 @@ workflows:
70
81
only :
71
82
- dev
72
83
84
+ # Development builds are executed on "develop" branch only.
85
+ - " build-qa " :
86
+ context : org-global
87
+ filters :
88
+ branches :
89
+ only :
90
+ - qa
91
+
73
92
# Production builds are exectuted only on tagged commits to the
74
93
# master branch.
75
94
- " 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