HotFix
This commit is contained in:
parent
17bdf76364
commit
4bdc68d6b5
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -104,8 +104,11 @@ jobs:
|
|||||||
version: '297.0.1' # https://github.com/google-github-actions/setup-gcloud/issues/128
|
version: '297.0.1' # https://github.com/google-github-actions/setup-gcloud/issues/128
|
||||||
|
|
||||||
- name: Set up gcloud II
|
- name: Set up gcloud II
|
||||||
|
env:
|
||||||
|
SA_TO_USE: ${{ secrets.ARTIFACTS_GCLOUD_ACCOUNT_BASE64 }}
|
||||||
run: |
|
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
|
# Dev tests
|
||||||
- name: Download containers in background
|
- name: Download containers in background
|
||||||
@ -140,6 +143,7 @@ jobs:
|
|||||||
- name: Run dev tests
|
- name: Run dev tests
|
||||||
working-directory: ./docker-dev-env
|
working-directory: ./docker-dev-env
|
||||||
run: |
|
run: |
|
||||||
|
set -e
|
||||||
source .env
|
source .env
|
||||||
docker run --rm --name tavern-tester \
|
docker run --rm --name tavern-tester \
|
||||||
--env "CARTO_USER=${USER_USERNAME}" \
|
--env "CARTO_USER=${USER_USERNAME}" \
|
||||||
@ -189,17 +193,23 @@ jobs:
|
|||||||
|
|
||||||
- name: Init onprem
|
- name: Init onprem
|
||||||
working-directory: ./dockerize-onpremises
|
working-directory: ./dockerize-onpremises
|
||||||
|
env:
|
||||||
|
COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml
|
||||||
run: |
|
run: |
|
||||||
./ci/init.sh
|
./ci/init.sh
|
||||||
|
|
||||||
- name: Install license
|
- name: Install license
|
||||||
working-directory: ./dockerize-onpremises
|
working-directory: ./dockerize-onpremises
|
||||||
|
env:
|
||||||
|
COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml
|
||||||
run: |
|
run: |
|
||||||
mkdir -p license && cp -f ci/test_license/dockerize-onpremises-tests-license.lic license/carto.lic
|
mkdir -p license && cp -f ci/test_license/dockerize-onpremises-tests-license.lic license/carto.lic
|
||||||
./script/license.sh
|
./script/license.sh
|
||||||
|
|
||||||
- name: Run onprem tests
|
- name: Run onprem tests
|
||||||
working-directory: ./dockerize-onpremises
|
working-directory: ./dockerize-onpremises
|
||||||
|
env:
|
||||||
|
COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml
|
||||||
run: |
|
run: |
|
||||||
source .env
|
source .env
|
||||||
source ci/.env.ci
|
source ci/.env.ci
|
||||||
@ -216,6 +226,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Export onprem compose logs
|
- name: Export onprem compose logs
|
||||||
working-directory: ./dockerize-onpremises
|
working-directory: ./dockerize-onpremises
|
||||||
|
env:
|
||||||
|
COMPOSE_FILE: docker-compose.yml:ci/docker-compose.ci.yml
|
||||||
run: |
|
run: |
|
||||||
docker-compose -f docker-compose.yml -f ci/docker-compose.ci.yml logs --no-color > onprem_docker_compose_logs
|
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}/"
|
echo "Logs will be available during 14 days at gs://${GCS_BUCKET_NAME}/test_logs_${GITHUB_RUN_ID}/"
|
||||||
|
Loading…
Reference in New Issue
Block a user