From 74d199694aee62b219f5b83f261cb78330b883b9 Mon Sep 17 00:00:00 2001 From: Petro Tiurin Date: Thu, 9 Dec 2021 12:46:21 +0000 Subject: [PATCH 1/3] ci: Passing secrets on release --- .github/workflows/integration-tests.yml | 5 +++++ .github/workflows/release.yml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index d771f308f27..b79b54a4b19 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -2,6 +2,11 @@ name: Run integration tests on: workflow_dispatch: workflow_call: + secrets: + FIREBOLT_USERNAME: + required: true + FIREBOLT_PASSWORD: + required: true jobs: tests: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b6c4206917..9195c95e376 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,9 @@ on: jobs: integration-tests: uses: firebolt-db/firebolt-python-sdk/.github/workflows/integration-tests.yml@main + secrets: + FIREBOLT_USERNAME: ${{ secrets.FIREBOLT_USERNAME }} + FIREBOLT_PASSWORD: ${{ secrets.FIREBOLT_PASSWORD }} publish: runs-on: ubuntu-latest From 178b1d56cfc27f693f741461b412a99ec915f175 Mon Sep 17 00:00:00 2001 From: Petro Tiurin <93913847+ptiurin@users.noreply.github.com> Date: Thu, 9 Dec 2021 16:41:31 +0000 Subject: [PATCH 2/3] Temporary referencing this branch --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9195c95e376..cdea7e1afab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: jobs: integration-tests: - uses: firebolt-db/firebolt-python-sdk/.github/workflows/integration-tests.yml@main + uses: firebolt-db/firebolt-python-sdk/.github/workflows/integration-tests.yml@ci_add_secrets secrets: FIREBOLT_USERNAME: ${{ secrets.FIREBOLT_USERNAME }} FIREBOLT_PASSWORD: ${{ secrets.FIREBOLT_PASSWORD }} From abb92ba5360c39b95930afa6f9011974f17d9336 Mon Sep 17 00:00:00 2001 From: Petro Tiurin <93913847+ptiurin@users.noreply.github.com> Date: Thu, 9 Dec 2021 17:00:39 +0000 Subject: [PATCH 3/3] Back to main branch --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdea7e1afab..9195c95e376 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: jobs: integration-tests: - uses: firebolt-db/firebolt-python-sdk/.github/workflows/integration-tests.yml@ci_add_secrets + uses: firebolt-db/firebolt-python-sdk/.github/workflows/integration-tests.yml@main secrets: FIREBOLT_USERNAME: ${{ secrets.FIREBOLT_USERNAME }} FIREBOLT_PASSWORD: ${{ secrets.FIREBOLT_PASSWORD }}