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

Qa #11

Merged
merged 4 commits into from
May 24, 2023
Merged

Qa #11

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install_dependency: &install_dependency
install_deploysuite: &install_deploysuite
name: Installation of install_deploysuite.
command: |
git clone --branch v1.4.2 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
git clone --branch v1.4.14 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
cp ./../buildscript/master_deploy.sh .
cp ./../buildscript/buildenv.sh .
cp ./../buildscript/awsconfiguration.sh .
Expand Down Expand Up @@ -50,6 +50,15 @@ jobs:
APPNAME: "micro-frontends-react-app"
steps: *builddeploy_steps

# Build & Deploy against development backend
"build-qa":
<<: *defaults
environment:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
APPNAME: "micro-frontends-react-app"
steps: *builddeploy_steps

"build-prod":
<<: *defaults
environment:
Expand All @@ -70,6 +79,14 @@ workflows:
only:
- dev

# Development builds are executed on "develop" branch only.
- "build-qa":
context: org-global
filters:
branches:
only:
- qa

# Production builds are exectuted only on tagged commits to the
# master branch.
- "build-prod":
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the base image with Node.js
FROM node:latest
FROM node:15.5.1

# Copy the current directory into the Docker image
COPY . /micro-frontends-react-app
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"start": "node server.js",
"dev": "webpack-dev-server --port 8500",
"dev-https": "webpack-dev-server --https --port 8500",
"qa": "webpack-dev-server --port 8500",
"build": "webpack --mode=production",
"analyze": "webpack --mode=production --env.analyze=true",
"lint": "eslint src --ext js",
Expand Down