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

Commit c732535

Browse files
authored
Merge pull request #11 from topcoder-platform/qa
Qa
2 parents 7562e41 + 2d1d0be commit c732535

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.circleci/config.yml

Lines changed: 18 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.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 .
@@ -50,6 +50,15 @@ jobs:
5050
APPNAME: "micro-frontends-react-app"
5151
steps: *builddeploy_steps
5252

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+
5362
"build-prod":
5463
<<: *defaults
5564
environment:
@@ -70,6 +79,14 @@ workflows:
7079
only:
7180
- dev
7281

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+
7390
# Production builds are exectuted only on tagged commits to the
7491
# master branch.
7592
- "build-prod":

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use the base image with Node.js
2-
FROM node:latest
2+
FROM node:15.5.1
33

44
# Copy the current directory into the Docker image
55
COPY . /micro-frontends-react-app

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"start": "node server.js",
55
"dev": "webpack-dev-server --port 8500",
66
"dev-https": "webpack-dev-server --https --port 8500",
7+
"qa": "webpack-dev-server --port 8500",
78
"build": "webpack --mode=production",
89
"analyze": "webpack --mode=production --env.analyze=true",
910
"lint": "eslint src --ext js",

0 commit comments

Comments
 (0)