-
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.
- Loading branch information
1 parent
67dae3e
commit e8003eb
Showing
6 changed files
with
32 additions
and
32 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
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" | ||
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: "" |
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 | ||
# wait until all deploys are complete to destroy the env | ||
concurrency: deploy-pr-app-${{ github.head_ref }} | ||
|
@@ -48,12 +48,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 | ||
|
@@ -63,11 +63,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