-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Connect to Scoutgame (#4461)
* Connect to Scoutgame * Update ebextensions * Revert deploy_connect matrix change * Update manifest for scoutgame * Revert manifest * Fix ts errors * Update deploy * Fix e2e * Fix old connect issues * Fix CI * Fix CI * Rename service * Delete project related test --------- Co-authored-by: mattcasey <[email protected]>
- Loading branch information
1 parent
379c1cb
commit 01891b3
Showing
138 changed files
with
182 additions
and
1,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
.ebextensions/connect/00_env_vars.config → .ebextensions/scoutgame/00_env_vars.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Do not put any env var or secrets used by the app here. Put in .ebstalk.app.env/ceramic.env | ||
# Do not put any env var or secrets used by the app here. Put in .ebstalk.apps.env/scoutgame.env | ||
# This file should only have | ||
# - env variables referenced in docker-compose file | ||
# - variables needed for the .platform/hooks/predeploy/01_pull_secrets.sh script to run | ||
|
||
option_settings: | ||
aws:elasticbeanstalk:application:environment: | ||
COMPOSE_PROJECT_NAME: "prd" | ||
COMPOSE_PROFILES: "prd-connect" | ||
EBSTALK_ENV_FILE: "connect.env" | ||
COMPOSE_PROFILES: "prd-scoutgame" | ||
EBSTALK_ENV_FILE: "scoutgame.env" | ||
SERVICE_ENV: "prd" # this sets the value of datadog env tag | ||
SERVICE_NAME: "connect-app" | ||
IMGNAME: "charmverse-connect" | ||
SERVICE_NAME: "scoutgame" | ||
IMGNAME: "scoutgame" | ||
IMGTAG: "" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.ebstalk.apps.env/connect.env → .ebstalk.apps.env/scoutgame.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
scripts/ | ||
dist/ | ||
|
||
apps/connect/.next/ | ||
apps/scoutgame/.next/ | ||
|
||
background/ceramicServer/generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
clean-up: | ||
if: | | ||
(github.event.action == 'unlabeled' && startsWith(github.event.label.name, ':rocket: deploy')) || | ||
(github.event.action == 'closed' && (contains(github.event.pull_request.labels.*.name, ':rocket: deploy') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-ceramic') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-connect') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-sunnyawards') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-farcaster'))) | ||
(github.event.action == 'closed' && (contains(github.event.pull_request.labels.*.name, ':rocket: deploy') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-ceramic') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-scoutgame') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-sunnyawards') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-farcaster'))) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: configure AWS credentials | ||
|
@@ -46,12 +46,12 @@ jobs: | |
# we need to create a dummy zip file or else cdk throws an error it cannot find the asset | ||
run: | | ||
touch stg-webapp-${{ env.STAGE_SUFFIX }}.zip | ||
touch stg-connect-${{ env.STAGE_SUFFIX }}.zip | ||
touch stg-scoutgame-${{ env.STAGE_SUFFIX }}.zip | ||
touch stg-sunnyawards-${{ env.STAGE_SUFFIX }}.zip | ||
touch stg-farcaster-${{ env.STAGE_SUFFIX }}.zip | ||
npm install aws-cdk-lib --no-audit --no-fund | ||
npx cdk destroy -c name=stg-webapp-${{ env.STAGE_SUFFIX }} --force | ||
npx cdk destroy -c name=stg-connect-${{ env.STAGE_SUFFIX }} --force | ||
npx cdk destroy -c name=stg-scoutgame-${{ env.STAGE_SUFFIX }} --force | ||
npx cdk destroy -c name=stg-sunnyawards-${{ env.STAGE_SUFFIX }} --force | ||
npx cdk destroy -c name=stg-farcaster-${{ env.STAGE_SUFFIX }} --force | ||
|
@@ -61,11 +61,11 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment: stg-webapp-${{ env.STAGE_SUFFIX }} | ||
|
||
- name: delete the connect github deployment | ||
- name: delete the scoutgame github deployment | ||
uses: strumwolf/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment: stg-connect-${{ env.STAGE_SUFFIX }} | ||
environment: stg-scoutgame-${{ env.STAGE_SUFFIX }} | ||
|
||
- name: delete the sunnyawards github deployment | ||
uses: strumwolf/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.