From 05cfade916835edcd1f7c57b64dd51ca21ec63ba Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Fri, 21 Jun 2024 22:11:01 -0400 Subject: [PATCH] fix(staging): github repos --- packages/deployer/deploy-frontend.sh | 10 +++++----- packages/deployer/deploy-frontend.staging.sh | 4 ++-- .../records/application-deployment-request.yml | 8 ++++---- .../application-deployment-request.yml | 14 +++++++------- .../staging-records/application-record.yml | 4 ++-- packages/deployer/test/README.md | 2 +- .../records/application-deployment-request.yml | 4 ++-- .../deployer/test/records/application-record.yml | 2 +- .../test/test-webapp-deployment-undeployment.sh | 16 ++++++++-------- packages/frontend/.env.example | 2 +- 10 files changed, 33 insertions(+), 33 deletions(-) diff --git a/packages/deployer/deploy-frontend.sh b/packages/deployer/deploy-frontend.sh index cb87f27..0684074 100755 --- a/packages/deployer/deploy-frontend.sh +++ b/packages/deployer/deploy-frontend.sh @@ -26,7 +26,7 @@ if [ -z "$NEW_APPLICATION_VERSION" ] || [ "1" == "$NEW_APPLICATION_VERSION" ]; t fi # Generate application-deployment-request.yml -cat > ./records/application-deployment-request.yml <./records/application-deployment-request.yml < ./records/application-record.yml <./records/application-record.yml < (main branch) - Config used: [../config.yml](../config.yml) - The script [test-webapp-deployment-undeployment.sh](./test-webapp-deployment-undeployment.sh) performs the following: - Create / update [`ApplicationRecord`](./records/application-record.yml) and [`ApplicationDeploymentRequest`](./records/application-deployment-request.yml) records with latest meta data from the repo diff --git a/packages/deployer/test/records/application-deployment-request.yml b/packages/deployer/test/records/application-deployment-request.yml index 17fee5f..2f7df4a 100644 --- a/packages/deployer/test/records/application-deployment-request.yml +++ b/packages/deployer/test/records/application-deployment-request.yml @@ -1,6 +1,6 @@ record: type: ApplicationDeploymentRequest - version: '1.0.0' + version: "1.0.0" name: deployment-test-app@0.1.24 application: crn://snowballtools/applications/deployment-test-app@0.1.24 dns: deployment-ci-test @@ -11,5 +11,5 @@ record: CERC_WEBAPP_DEBUG: 0 meta: note: Deployment test @ Thu 11 Apr 2024 07:29:19 AM UTC - repository: "https://github.com/snowball-tools-platform/test-progressive-web-app" + repository: "https://github.com/snowball-tools/test-progressive-web-app" repository_ref: 05819619487a0d2dbc5453b6d1ccff3044c0dd26 diff --git a/packages/deployer/test/records/application-record.yml b/packages/deployer/test/records/application-record.yml index f6c24d3..6c599c8 100644 --- a/packages/deployer/test/records/application-record.yml +++ b/packages/deployer/test/records/application-record.yml @@ -2,7 +2,7 @@ record: type: ApplicationRecord version: 0.0.1 repository_ref: 05819619487a0d2dbc5453b6d1ccff3044c0dd26 - repository: ["https://github.com/snowball-tools-platform/test-progressive-web-app"] + repository: ["https://github.com/snowball-tools/test-progressive-web-app"] app_type: webapp name: deployment-test-app app_version: 0.1.24 diff --git a/packages/deployer/test/test-webapp-deployment-undeployment.sh b/packages/deployer/test/test-webapp-deployment-undeployment.sh index 4817fb9..f221811 100755 --- a/packages/deployer/test/test-webapp-deployment-undeployment.sh +++ b/packages/deployer/test/test-webapp-deployment-undeployment.sh @@ -1,7 +1,7 @@ #!/bin/bash # Repository URL -REPO_URL="https://github.com/snowball-tools-platform/test-progressive-web-app" +REPO_URL="https://github.com/snowball-tools/test-progressive-web-app" # Get the latest commit hash from the repository LATEST_HASH=$(git ls-remote $REPO_URL HEAD | awk '{print $1}') @@ -32,7 +32,7 @@ fi # Generate application-record.yml with incremented version RECORD_FILE=packages/deployer/test/records/application-record.yml -cat > $RECORD_FILE <$RECORD_FILE < $REQUEST_RECORD_FILE <$REQUEST_RECORD_FILE < $REMOVAL_REQUEST_RECORD_FILE <$REMOVAL_REQUEST_RECORD_FILE <