diff --git a/packages/deployer/deploy-frontend.sh b/packages/deployer/deploy-frontend.sh index cb87f27b..06840745 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 < ./staging-records/application-deployment-request.yml <./staging-records/application-deployment-request.yml < ./staging-records/application-record.yml <./staging-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 17fee5fa..2f7df4ae 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 f6c24d39..6c599c8d 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 4817fb9b..f221811e 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 <