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

Commit edad973

Browse files
authored
Merge pull request #13 from topcoder-platform/dev
root only file system fix
2 parents cd9d95c + fb592bf commit edad973

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.circleci/config.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
version: 2
22
defaults: &defaults
33
docker:
4-
- image: circleci/python:2.7-stretch-browsers
4+
- image: cimg/python:3.11.0-browsers
55
install_dependency: &install_dependency
66
name: Installation of build and deployment dependencies.
77
command: |
8+
sudo apt update
89
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
1113
install_deploysuite: &install_deploysuite
1214
name: Installation of install_deploysuite.
1315
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
1517
cp ./../buildscript/master_deploy.sh .
1618
cp ./../buildscript/buildenv.sh .
1719
cp ./../buildscript/awsconfiguration.sh .
@@ -50,6 +52,15 @@ jobs:
5052
APPNAME: "micro-frontends-react-app"
5153
steps: *builddeploy_steps
5254

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+
5364
"build-prod":
5465
<<: *defaults
5566
environment:
@@ -70,6 +81,14 @@ workflows:
7081
only:
7182
- dev
7283

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+
7392
# Production builds are exectuted only on tagged commits to the
7493
# master branch.
7594
- "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)