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

10/30/2023 PROD Release - Turns off TaaS app, Tass Admin, Onboarding, old profiles, Self Service #94

Merged
merged 7 commits into from
Oct 30, 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
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,20 @@ save_cache_settings: &save_cache_settings
paths:
- node_modules

build_configuration_fetch: &build_configuration_fetch
name: "configuring environment"
command: |
./awsconfiguration.sh $DEPLOY_ENV
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
aws s3 cp s3://tc-platform-${LOGICAL_ENV}/securitymanager/micro-frontends-config-${LOGICAL_ENV}.json ./config/micro-frontends-config-${LOGICAL_ENV}.json
aws s3 cp s3://tc-platform-${LOGICAL_ENV}/securitymanager/micro-frontends-routes-${LOGICAL_ENV}.txt ./config/micro-frontends-routes-${LOGICAL_ENV}.txt

builddeploy_steps: &builddeploy_steps
- checkout
- setup_remote_docker
- run: *install_dependency
- run: *install_deploysuite
- run: *build_configuration_fetch
- restore_cache: *restore_cache_settings_for_build
- run:
command: |
Expand Down
6 changes: 6 additions & 0 deletions config/docs/adr-02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ADR-02 2023-10-25

We're going to do a mix of s3 and locally hosted configuration files.
We're going to host the configuration files locally on the repository for versioning purposes,
But at the build time we're going to fetch the specific configuration files based on the build env and overwrite the local version with what we have in s3.
This will allow us to enable/disable MFE apps by updating the s3 files and triggering a new build via the CircleCI.
1 change: 0 additions & 1 deletion config/micro-frontends-config-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@topcoder/mfe-header": "https://platform.topcoder-dev.com/navbar/topcoder-mfe-header.js",
"@topcoder/micro-frontends-react-app": "https://platform.topcoder-dev.com/react/topcoder-micro-frontends-react-app.js",
"@topcoder/micro-frontends-angular-app": "https://platform.topcoder-dev.com/angular/main.js",
"@topcoder/micro-frontends-teams": "https://platform.topcoder-dev.com/taas-app/topcoder-micro-frontends-teams.js",
"@topcoder/micro-frontends-task-marketplace-app": "https://platform.topcoder-dev.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
"@topcoder/micro-frontends-earn-app": "https://platform.topcoder-dev.com/earn-app/topcoder-micro-frontends-earn-app.js",
"@topcoder/micro-frontends-submission-review-app": "https://platform.topcoder-dev.com/submissionreview/topcoder-micro-frontends-submission-review-app.js",
Expand Down
1 change: 0 additions & 1 deletion config/micro-frontends-config-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"@topcoder/micro-frontends-taas-admin-app": "https://platform.topcoder-dev.com/taas-admin-app/topcoder-micro-frontends-taas-admin-app.js",
"@topcoder/micro-frontends-react-app": "https://platform.topcoder-dev.com/react/topcoder-micro-frontends-react-app.js",
"@topcoder/micro-frontends-angular-app": "https://platform.topcoder-dev.com/angular/main.js",
"@topcoder/micro-frontends-teams": "https://platform.topcoder-dev.com/taas-app/topcoder-micro-frontends-teams.js",
"@topcoder/micro-frontends-task-marketplace-app": "https://platform.topcoder-dev.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
"@topcoder/micro-frontends-earn-app": "http://localhost:8008/earn-app/topcoder-micro-frontends-earn-app.js",
"@topcoder/micro-frontends-submission-review-app": "https://platform.topcoder-dev.com/submissionreview/topcoder-micro-frontends-submission-review-app.js",
Expand Down
1 change: 0 additions & 1 deletion config/micro-frontends-config-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@topcoder/mfe-header": "https://platform.topcoder.com/navbar/topcoder-mfe-header.js",
"@topcoder/micro-frontends-react-app": "https://platform.topcoder.com/react/topcoder-micro-frontends-react-app.js",
"@topcoder/micro-frontends-angular-app": "https://platform.topcoder.com/angular/main.js",
"@topcoder/micro-frontends-teams": "https://platform.topcoder.com/taas-app/topcoder-micro-frontends-teams.js",
"@topcoder/micro-frontends-task-marketplace-app": "https://platform.topcoder.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
"@topcoder/micro-frontends-earn-app": "https://platform.topcoder.com/earn-app/topcoder-micro-frontends-earn-app.js",
"@topcoder/micro-frontends-submission-review-app": "https://platform.topcoder.com/submissionreview/topcoder-micro-frontends-submission-review-app.js",
Expand Down
1 change: 0 additions & 1 deletion config/micro-frontends-config-qa.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@topcoder/mfe-header": "https://platform.topcoder-qa.com/navbar/topcoder-mfe-header.js",
"@topcoder/micro-frontends-react-app": "https://platform.topcoder-qa.com/react/topcoder-micro-frontends-react-app.js",
"@topcoder/micro-frontends-angular-app": "https://platform.topcoder-qa.com/angular/main.js",
"@topcoder/micro-frontends-teams": "https://platform.topcoder-qa.com/taas-app/topcoder-micro-frontends-teams.js",
"@topcoder/micro-frontends-task-marketplace-app": "https://platform.topcoder-qa.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
"@topcoder/micro-frontends-earn-app": "https://platform.topcoder-qa.com/earn-app/topcoder-micro-frontends-earn-app.js",
"@topcoder/micro-frontends-submission-review-app": "https://platform.topcoder-qa.com/submissionreview/topcoder-micro-frontends-submission-review-app.js",
Expand Down
3 changes: 0 additions & 3 deletions config/micro-frontends-routes-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<route path="micro-frontends-angular-route">
<application name="@topcoder/micro-frontends-angular-app"></application>
</route>
<route path="taas">
<application name="@topcoder/micro-frontends-teams"></application>
</route>
<route path="task-marketplace">
<application name="@topcoder/micro-frontends-task-marketplace-app"></application>
</route>
Expand Down
3 changes: 0 additions & 3 deletions config/micro-frontends-routes-local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<route path="micro-frontends-angular-route">
<application name="@topcoder/micro-frontends-angular-app"></application>
</route>
<route path="taas">
<application name="@topcoder/micro-frontends-teams"></application>
</route>
<route path="taas-admin">
<application name="@topcoder/micro-frontends-taas-admin-app"></application>
</route>
Expand Down
3 changes: 0 additions & 3 deletions config/micro-frontends-routes-prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<route path="micro-frontends-angular-route">
<application name="@topcoder/micro-frontends-angular-app"></application>
</route>
<route path="taas">
<application name="@topcoder/micro-frontends-teams"></application>
</route>
<route path="task-marketplace">
<application name="@topcoder/micro-frontends-task-marketplace-app"></application>
</route>
Expand Down
3 changes: 0 additions & 3 deletions config/micro-frontends-routes-qa.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<route path="micro-frontends-angular-route">
<application name="@topcoder/micro-frontends-angular-app"></application>
</route>
<route path="taas">
<application name="@topcoder/micro-frontends-teams"></application>
</route>
<route path="task-marketplace">
<application name="@topcoder/micro-frontends-task-marketplace-app"></application>
</route>
Expand Down