From 71c00639770a93288797f2fa80c92546ee021b11 Mon Sep 17 00:00:00 2001 From: alvarorm22 Date: Fri, 27 Aug 2021 11:55:46 +0200 Subject: [PATCH 1/4] fixed gcloud github actions setup --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ffe39c0..5216b52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v1 - name: Setup gcloud authentication - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCS }} From 5ab3165ef909776723676112438bdf21f4b28100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez=20Ruiz?= Date: Tue, 21 Dec 2021 10:33:50 +0100 Subject: [PATCH 2/4] Re-exec tests --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5216b52..d3a7615 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,7 @@ jobs: with: service_account_key: ${{ secrets.GCS }} + - name: Pull base image run: gcloud auth configure-docker && docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }} From aa2c8a35d40c7217dadc14509e1949fcff6d0319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez=20Ruiz?= Date: Tue, 21 Dec 2021 10:39:54 +0100 Subject: [PATCH 3/4] Delete gcloud from CI --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3a7615..7728fc5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,14 +12,14 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Setup gcloud authentication - uses: google-github-actions/setup-gcloud@master - with: - service_account_key: ${{ secrets.GCS }} - + - name: Set up docker registry + env: + SA_TO_USE: ${{ secrets.GCS }} + run: | + echo "${SA_TO_USE}" | base64 -d | docker login -u _json_key --password-stdin https://gcr.io - name: Pull base image - run: gcloud auth configure-docker && docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }} + run: docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }} - name: Checkout ci tools repository uses: actions/checkout@v2