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 1 commit
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
Prev Previous commit
Next Next commit
TSJR-181 - fetch config files from s3 at build time
  • Loading branch information
vas3a committed Oct 25, 2023
commit b5b9f7c0d9f3349b1c976b09fc3a6b1bbd9e2212
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.