From c1c4f40cabbe1b75cd3fb50e40f224daee698561 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:01:38 +0200 Subject: [PATCH 01/14] Add GCS env vars. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f42a02a6..3da3c2c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: branches: - main +env: + GCS_PROJECT: qc-oss-mamba-org-quetz-dev + GCS_TOKEN: ${{ secrets.GCS_TOKEN }} + jobs: test_quetz: runs-on: ${{ matrix.os }} From 1696e29791198d8056dce36009eb0e824361dce5 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:11:56 +0200 Subject: [PATCH 02/14] Debug. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3da3c2c0..268a46cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev - GCS_TOKEN: ${{ secrets.GCS_TOKEN }} + GCS_TOKEN: "" jobs: test_quetz: From 34d61a86243e0fc828632d2a2c350d1aeb35ad21 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:16:45 +0200 Subject: [PATCH 03/14] Debug. --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 268a46cb..c79c0985 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,8 @@ on: env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev - GCS_TOKEN: "" + GCS_TOKEN: /etc/gcs/token.json + GCS_TOKEN_CONTENT: ${{ secrets.GCS_TOKEN }} jobs: test_quetz: @@ -50,6 +51,9 @@ jobs: uses: mamba-org/setup-micromamba@v1 with: environment-file: environment.yml + - name: write gcs token file + run: | + echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" - name: test quetz shell: bash -l -eo pipefail {0} env: From 4259db77a032f51a1a24f5cae6beda5e5924c5d3 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:20:50 +0200 Subject: [PATCH 04/14] Debug. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c79c0985..f5e77f64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: environment-file: environment.yml - name: write gcs token file run: | + mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" - name: test quetz shell: bash -l -eo pipefail {0} From f85e0fb9e2f6ebc5e56aaeea083e81c395b7665d Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:24:40 +0200 Subject: [PATCH 05/14] Debug. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5e77f64..110f03d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,15 +46,15 @@ jobs: - 6379:6379 steps: - uses: actions/checkout@v2 - - - name: install mamba - uses: mamba-org/setup-micromamba@v1 - with: - environment-file: environment.yml - name: write gcs token file run: | + pwd mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" + - name: install mamba + uses: mamba-org/setup-micromamba@v1 + with: + environment-file: environment.yml - name: test quetz shell: bash -l -eo pipefail {0} env: From 5dc081a92f3f513b9bdc771ba796636bab1e2dc3 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:26:43 +0200 Subject: [PATCH 06/14] Debug. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 110f03d6..85d8ed0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,7 @@ jobs: - uses: actions/checkout@v2 - name: write gcs token file run: | + ls -lha / pwd mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" From 7d15412afb852e9bbbd68007ae8f80dd3eb1e82e Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:28:33 +0200 Subject: [PATCH 07/14] Debug. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85d8ed0e..58e4ff5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,8 @@ jobs: - uses: actions/checkout@v2 - name: write gcs token file run: | + ls -lhs /home/runner/work/ + ls -lhs /home/runner/work/quetz/ ls -lha / pwd mkdir $(dirname "${GCS_TOKEN}") From 85857afcbc0cc9da37d858e2986073597448456c Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:32:24 +0200 Subject: [PATCH 08/14] Debug. --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58e4ff5c..38e882eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev - GCS_TOKEN: /etc/gcs/token.json + GCS_TOKEN: /home/runner/gcs/token.json GCS_TOKEN_CONTENT: ${{ secrets.GCS_TOKEN }} jobs: @@ -48,10 +48,7 @@ jobs: - uses: actions/checkout@v2 - name: write gcs token file run: | - ls -lhs /home/runner/work/ - ls -lhs /home/runner/work/quetz/ - ls -lha / - pwd + whoami mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" - name: install mamba From 9001696be183b79e8c0b95f2a45dc8fca65ef0ce Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:41:58 +0200 Subject: [PATCH 09/14] Debug. --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38e882eb..77258eba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev GCS_TOKEN: /home/runner/gcs/token.json - GCS_TOKEN_CONTENT: ${{ secrets.GCS_TOKEN }} + GCS_TOKEN_CONTENT: ${{ secrets.gcs_token }} jobs: test_quetz: @@ -48,7 +48,6 @@ jobs: - uses: actions/checkout@v2 - name: write gcs token file run: | - whoami mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" - name: install mamba From c7d2d100edad035fa8053d35d36acf1ef47ea9b2 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:52:34 +0200 Subject: [PATCH 10/14] Debug. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77258eba..4b8e441a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,7 @@ jobs: run: | mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" + cat "${GCS_TOKEN}" - name: install mamba uses: mamba-org/setup-micromamba@v1 with: From 08b09e79fe433b6738165fb3dd38dca957de9a56 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:58:01 +0200 Subject: [PATCH 11/14] Debug. --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b8e441a..a31ac6fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,9 @@ name: CI on: - push: - pull_request: - branches: - - main + pull_request_target: + types: + - opened env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev From a8e218826c5837860877cdc7b733282a1c0c2501 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 13:59:40 +0200 Subject: [PATCH 12/14] Debug. --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a31ac6fa..0887d926 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,7 @@ name: CI on: pull_request_target: - types: - - opened + types: [assigned, opened, synchronize, reopened] env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev From 5f55ae25f60044e4cfcbdbf65d58f52ce08ecc39 Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 14:01:17 +0200 Subject: [PATCH 13/14] Debug. --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0887d926..fd4be96c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,6 @@ jobs: run: | mkdir $(dirname "${GCS_TOKEN}") echo "${GCS_TOKEN_CONTENT}" > "${GCS_TOKEN}" - cat "${GCS_TOKEN}" - name: install mamba uses: mamba-org/setup-micromamba@v1 with: From c0a1541be9e8bee337b39c61c269489ead640b1c Mon Sep 17 00:00:00 2001 From: Jan-Benedikt Jagusch Date: Thu, 1 Jun 2023 14:02:24 +0200 Subject: [PATCH 14/14] Debug. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd4be96c..4aef36eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: env: GCS_PROJECT: qc-oss-mamba-org-quetz-dev GCS_TOKEN: /home/runner/gcs/token.json - GCS_TOKEN_CONTENT: ${{ secrets.gcs_token }} + GCS_TOKEN_CONTENT: ${{ secrets.gcs_token_content }} jobs: test_quetz: