From 09818b279bf20c4a5bdefc6e318f88e16c462203 Mon Sep 17 00:00:00 2001 From: Drumil Patel Date: Sun, 16 Aug 2020 17:30:32 +0530 Subject: [PATCH] Update github workflow for funcbench and prombench to incorporate new test infra related changes for gke Signed-off-by: Drumil Patel --- .github/workflows/funcbench.yml | 5 +++-- .github/workflows/prombench.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/funcbench.yml b/.github/workflows/funcbench.yml index 6bd33ff95..811b3bf2a 100644 --- a/.github/workflows/funcbench.yml +++ b/.github/workflows/funcbench.yml @@ -8,7 +8,7 @@ jobs: if: github.event.action == 'funcbench_start' runs-on: ubuntu-latest env: - AUTH_FILE: ${{ secrets.TEST_INFRA_GKE_AUTH }} + AUTH_FILE: ${{ secrets.TEST_INFRA_PROVIDER_AUTH }} BRANCH: ${{ github.event.client_payload.BRANCH }} BENCH_FUNC_REGEX: ${{ github.event.client_payload.BENCH_FUNC_REGEX }} PACKAGE_PATH: ${{ github.event.client_payload.PACKAGE_PATH }} @@ -17,8 +17,9 @@ jobs: GITHUB_REPO: prometheus GITHUB_STATUS_TARGET_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} LAST_COMMIT_SHA: ${{ github.event.client_payload.LAST_COMMIT_SHA }} - PROJECT_ID: macro-mile-203600 + GKE_PROJECT_ID: macro-mile-203600 PR_NUMBER: ${{ github.event.client_payload.PR_NUMBER }} + PROVIDER: gke ZONE: europe-west3-a steps: - name: Update status to pending diff --git a/.github/workflows/prombench.yml b/.github/workflows/prombench.yml index acb2e6362..eee6e81e4 100644 --- a/.github/workflows/prombench.yml +++ b/.github/workflows/prombench.yml @@ -3,7 +3,7 @@ on: types: [prombench_start,prombench_restart,prombench_stop] name: Prombench Workflow env: - AUTH_FILE: ${{ secrets.TEST_INFRA_GKE_AUTH }} + AUTH_FILE: ${{ secrets.TEST_INFRA_PROVIDER_AUTH }} CLUSTER_NAME: test-infra DOMAIN_NAME: prombench.prometheus.io GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -11,8 +11,9 @@ env: GITHUB_REPO: prometheus GITHUB_STATUS_TARGET_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} LAST_COMMIT_SHA: ${{ github.event.client_payload.LAST_COMMIT_SHA }} - PROJECT_ID: macro-mile-203600 + GKE_PROJECT_ID: macro-mile-203600 PR_NUMBER: ${{ github.event.client_payload.PR_NUMBER }} + PROVIDER: gke RELEASE: ${{ github.event.client_payload.RELEASE }} ZONE: europe-west3-a jobs: