From a9af82ec78d467ac105ef2d28e968be830c0f5c7 Mon Sep 17 00:00:00 2001 From: Ava Stancu Date: Tue, 28 Feb 2023 20:26:01 +0100 Subject: [PATCH] Change e2e config url (#2338) --- .github/actions/e2e-arc-test/action.yaml | 5 ++++- .github/workflows/e2e-test-linux-vm.yaml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/e2e-arc-test/action.yaml b/.github/actions/e2e-arc-test/action.yaml index 24c4032f..6883618a 100644 --- a/.github/actions/e2e-arc-test/action.yaml +++ b/.github/actions/e2e-arc-test/action.yaml @@ -5,6 +5,9 @@ inputs: github-token: description: 'JWT generated with Github App inputs' required: true + config-url: + description: "URL of the repo, org or enterprise where the runner scale sets will be registered" + required: true runs: using: "composite" @@ -22,7 +25,7 @@ runs: helm install "arc-runner-${{ env.DATE_TIME }}" \ --namespace "arc-runners" \ --create-namespace \ - --set githubConfigUrl="https://github.com/actions/actions-runner-controller" \ + --set githubConfigUrl="${{ inputs.config-url }}"\ --set githubConfigSecret.github_token="${{ inputs.github-token }}" \ ./charts/auto-scaling-runner-set \ --debug diff --git a/.github/workflows/e2e-test-linux-vm.yaml b/.github/workflows/e2e-test-linux-vm.yaml index 0c70e9bf..09161e69 100644 --- a/.github/workflows/e2e-test-linux-vm.yaml +++ b/.github/workflows/e2e-test-linux-vm.yaml @@ -25,3 +25,4 @@ jobs: - uses: ./.github/actions/e2e-arc-test with: github-token: ${{ steps.get_workflow_token.outputs.token }} + config-url: "https://github.com/actions-runner-controller/arc_e2e_test_dummy"