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

root only file system #147

Merged
merged 5 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
18 changes: 17 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.8 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 @@ -55,6 +55,14 @@ jobs:
APPNAME: "mfe-header"
steps: *builddeploy_steps

"build-qa":
<<: *defaults
environment:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
APPNAME: "mfe-header"
steps: *builddeploy_steps

"build-prod":
<<: *defaults
environment:
Expand All @@ -76,6 +84,14 @@ workflows:
- dev
- feat/regsource

- "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 config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = (() => {
const env = process.env.APPENV || "dev";

// for security reason don't let to require any arbitrary file defined in process.env
if (["prod", "dev"].indexOf(env) < 0) {
if (["prod", "dev", "qa"].indexOf(env) < 0) {
return require("./dev");
}

Expand Down
18 changes: 18 additions & 0 deletions config/qa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
URL: {
ACCOUNTS_APP_CONNECTOR: "https://accounts-auth0.topcoder-qa.com", // "http://localhost:5000"
AUTH: "https://accounts-auth0.topcoder-qa.com", // "http://localhost:5000"
TC_NOTIFICATION_URL: "https://api.topcoder-qa.com/v5/notifications",
CONNECT_DOMAIN: "https://connect.topcoder-qa.com",
COMMUNITY_DOMAIN: "https://www.topcoder-qa.com",
PLATFORM_DOMAIN: "https://platform.topcoder-qa.com",
TAAS_APP: "https://platform.topcoder-qa.com/taas/myteams",
PLATFORM_UI: "https://platform-ui.topcoder-qa.com",
},
API: {
V3: "https://api.topcoder-qa.com/v3",
V5: "https://api.topcoder-qa.com/v5",
},
REAUTH_OFFSET: 55, // seconds
PROFILE_CREATION_DATE_THRESHOLD: "2021-10-25", // format: "YYYY-MM-DD"
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"start-local-proxy": "sh start-local-proxy.sh",
"dev": "cross-env APPMODE=development webpack-dev-server",
"dev-https": "cross-env APPMODE=development webpack-dev-server --https",
"qa": "cross-env APPMODE=development webpack-dev-server",
"build": "webpack --mode=${APPMODE:-development} --env.config=${APPENV:-dev}",
"analyze": "webpack --mode=production --env.analyze=true",
"lint": "eslint src --ext js",
Expand Down