From 0d6371f6891f0489801b859a8c36543f0aa180d0 Mon Sep 17 00:00:00 2001 From: nick-funk Date: Thu, 5 Oct 2023 10:21:47 -0600 Subject: [PATCH 1/2] upload static assets from new `client` mono-repo distributables updated gke yaml to perform this deploy --- .github/workflows/build-test-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 2eb89a97d8..893e15740d 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -179,7 +179,7 @@ jobs: name: Deploy Static Assets to GCS Bucket run: | CONTAINER_ID=$(docker create "coralproject/talk:${PATCH_TAG}") - docker cp "${CONTAINER_ID}:/usr/src/app/dist/static" static/ + docker cp "${CONTAINER_ID}:/usr/src/app/client/dist/static" static/ docker rm "${CONTAINER_ID}" find ./static -type f -name "*.gz" -print -delete gsutil -m -h "Cache-Control: public, max-age=86400, immutable" cp -r -z "js,css,map,txt,json" ./static/** "gs://${GOOGLE_CLOUD_BUCKET}/${PATCH_TAG}/" @@ -187,7 +187,7 @@ jobs: name: Upload to Sentry run: | CONTAINER_ID=$(docker create "coralproject/talk:${PATCH_TAG}") - docker cp "${CONTAINER_ID}:/usr/src/app/dist" dist/ + docker cp "${CONTAINER_ID}:/usr/src/app/client/dist" dist/ docker rm "${CONTAINER_ID}" npx @sentry/cli -V npx @sentry/cli releases files "coral@${PATCH_TAG}" upload-sourcemaps ./dist --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} From 1dd6e47887db4f559c830ef5ab37fc0c5fca673b Mon Sep 17 00:00:00 2001 From: Tessa Thornton Date: Thu, 5 Oct 2023 13:23:25 -0400 Subject: [PATCH 2/2] bump to 8.5.3 --- client/package-lock.json | 4 ++-- client/package.json | 2 +- common/package-lock.json | 4 ++-- common/package.json | 2 +- config/package-lock.json | 4 ++-- config/package.json | 2 +- server/package-lock.json | 4 ++-- server/package.json | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index ccc5ad1e4f..939da05989 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "@coralproject/talk", - "version": "8.5.2", + "version": "8.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@coralproject/talk", - "version": "8.5.2", + "version": "8.5.3", "license": "Apache-2.0", "dependencies": { "@ampproject/toolbox-cache-url": "^2.9.0", diff --git a/client/package.json b/client/package.json index c5524d9029..6773fa946a 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@coralproject/talk", - "version": "8.5.2", + "version": "8.5.3", "author": "The Coral Project", "homepage": "https://coralproject.net/", "sideEffects": [ diff --git a/common/package-lock.json b/common/package-lock.json index c72c76c8cc..8467fa697c 100644 --- a/common/package-lock.json +++ b/common/package-lock.json @@ -1,12 +1,12 @@ { "name": "common", - "version": "8.5.2", + "version": "8.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "common", - "version": "8.5.2", + "version": "8.5.3", "license": "ISC", "dependencies": { "coral-config": "../config/dist", diff --git a/common/package.json b/common/package.json index e32ab18b77..e172164b10 100644 --- a/common/package.json +++ b/common/package.json @@ -1,6 +1,6 @@ { "name": "common", - "version": "8.5.2", + "version": "8.5.3", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/config/package-lock.json b/config/package-lock.json index c698d123ba..1843ddc58a 100644 --- a/config/package-lock.json +++ b/config/package-lock.json @@ -1,12 +1,12 @@ { "name": "common", - "version": "8.5.2", + "version": "8.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "common", - "version": "8.5.2", + "version": "8.5.3", "license": "ISC", "dependencies": { "typescript": "^3.9.5" diff --git a/config/package.json b/config/package.json index 258ab18151..3b85060eb4 100644 --- a/config/package.json +++ b/config/package.json @@ -1,6 +1,6 @@ { "name": "common", - "version": "8.5.2", + "version": "8.5.3", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/server/package-lock.json b/server/package-lock.json index ab9f9954e2..c9f8de395a 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -1,12 +1,12 @@ { "name": "@coralproject/talk", - "version": "8.5.2", + "version": "8.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@coralproject/talk", - "version": "8.5.2", + "version": "8.5.3", "license": "Apache-2.0", "dependencies": { "@ampproject/toolbox-cache-url": "^2.9.0", diff --git a/server/package.json b/server/package.json index 96ea8f47d7..9840663009 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "@coralproject/talk", - "version": "8.5.2", + "version": "8.5.3", "author": "The Coral Project", "homepage": "https://coralproject.net/", "sideEffects": [