From 530034556d7bf76f59cf09531e594029a3cbc0b0 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 15 Sep 2024 22:51:47 +0200 Subject: [PATCH] ci: pass secets to reusable workflow --- .gitea/workflows/e2e-tests-vault.yml | 3 +++ .gitea/workflows/e2e-tests.yml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.gitea/workflows/e2e-tests-vault.yml b/.gitea/workflows/e2e-tests-vault.yml index 4d42779..f688e1a 100644 --- a/.gitea/workflows/e2e-tests-vault.yml +++ b/.gitea/workflows/e2e-tests-vault.yml @@ -23,3 +23,6 @@ jobs: role: vault scenario: ${{ matrix.scenario}} test_os: ${{ matrix.test_os }} + secrets: + VAULT_APPROLE_ID: ${{ secrets.VAULT_APPROLE_ID }} + VAULT_APPROLE_SECRET_ID: ${{ secrets.VAULT_APPROLE_SECRET_ID }} diff --git a/.gitea/workflows/e2e-tests.yml b/.gitea/workflows/e2e-tests.yml index 7492f71..2edd38c 100644 --- a/.gitea/workflows/e2e-tests.yml +++ b/.gitea/workflows/e2e-tests.yml @@ -16,6 +16,11 @@ on: required: true type: string description: "On which OS to run the tests" + secrets: + VAULT_APPROLE_ID: + required: true + VAULT_APPROLE_SECRET_ID: + required: true jobs: retrieve-credentials: