From 4bdc68d6b5149015f57b02b36142e12001cdcf0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez=20Ruiz?= Date: Tue, 21 Dec 2021 08:55:43 +0100 Subject: [PATCH] HotFix --- .github/workflows/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e2b1065..2f793dbd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,8 +104,11 @@ jobs: version: '297.0.1' # https://github.com/google-github-actions/setup-gcloud/issues/128 - name: Set up gcloud II + env: + SA_TO_USE: ${{ secrets.ARTIFACTS_GCLOUD_ACCOUNT_BASE64 }} run: | - gcloud auth configure-docker + # gcloud auth configure-docker + echo "${SA_TO_USE}" | base64 -d | docker login -u _json_key --password-stdin https://gcr.io # Dev tests - name: Download containers in background @@ -140,6 +143,7 @@ jobs: - name: Run dev tests working-directory: ./docker-dev-env run: | + set -e source .env docker run --rm --name tavern-tester \ --env "CARTO_USER=${USER_USERNAME}" \ @@ -189,17 +193,23 @@ jobs: - name: Init onprem working-directory: ./dockerize-onpremises + env: + COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml run: | ./ci/init.sh - name: Install license working-directory: ./dockerize-onpremises + env: + COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml run: | mkdir -p license && cp -f ci/test_license/dockerize-onpremises-tests-license.lic license/carto.lic ./script/license.sh - name: Run onprem tests working-directory: ./dockerize-onpremises + env: + COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml run: | source .env source ci/.env.ci @@ -216,6 +226,8 @@ jobs: - name: Export onprem compose logs working-directory: ./dockerize-onpremises + env: + COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml run: | docker-compose -f docker-compose.yml -f ci/docker-compose.ci.yml logs --no-color > onprem_docker_compose_logs echo "Logs will be available during 14 days at gs://${GCS_BUCKET_NAME}/test_logs_${GITHUB_RUN_ID}/"