From 3bce140df5d7bfc6a2e7bdfba3f4aa92cb3a50bf Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Mon, 20 Feb 2023 15:20:18 +0100 Subject: [PATCH 1/3] Pin version for google-github-actions/setup-gcloud --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 74a78eaf..0d6155c3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -56,7 +56,7 @@ jobs: # Setup gcloud CLI - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@main + uses: google-github-actions/setup-gcloud@v1 with: version: '418.0.0' service_account_key: ${{ secrets.GCP_SA_KEY }} From 3d974a926022f8346b67de1cd58c72de426502dd Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Mon, 20 Feb 2023 15:20:49 +0100 Subject: [PATCH 2/3] Update version number --- package.json | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c480d5e4..bb7ec4a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jhonline", - "version": "2.18.0", + "version": "2.18.1", "description": "JHipster Online is the best place to generate JHipster applications, with no installation required!", "license": "Apache-2.0", "keywords": [ diff --git a/pom.xml b/pom.xml index d1df9a73..357be9b0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.github.jhipster.online jhonline - 2.18.0 + 2.18.1 war Jhonline From 2eee01a232607a584b7424e67398847ba1409759 Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Mon, 20 Feb 2023 15:28:03 +0100 Subject: [PATCH 3/3] Try to fix GCP authentication for deployement --- .github/workflows/deploy.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d6155c3..296e3955 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -54,8 +54,14 @@ jobs: env_variables.GITLAB_CLIENT_SECRET: ${{ secrets.GITLAB_CLIENT_SECRET }} env_variables.GITLAB_REDIRECT_URI: ${{ secrets.GITLAB_REDIRECT_URI }} - # Setup gcloud CLI - - name: Set up Cloud SDK + # Setup Google Cloud + - id: Authenticate to Google Cloud + name: 'Authenticate to Google Cloud' + uses: 'google-github-actions/auth@v1' + with: + credentials_json: ${{ secrets.GCP_SA_KEY }} + + - name: Set up Google Cloud SDK uses: google-github-actions/setup-gcloud@v1 with: version: '418.0.0'