From 55637cce5dfcbd8d1cfc60e2f07c46b1944d1aa4 Mon Sep 17 00:00:00 2001 From: okramarenko Date: Tue, 3 Oct 2023 03:16:36 +0300 Subject: [PATCH 1/2] SCALRCORE-28525: Introduce GH label to force tev2 creation on Scalr server (without agent pool) --- .github/workflows/upstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index b6ec56cf..ac10189c 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -121,7 +121,7 @@ jobs: --branch ${{ env.API_BRANCH }} \ --run-url ${{ steps.get-job-id.outputs.html_url }} \ --skip-ui-build \ - --agent-pool-id="${{vars.TACO_APOOL_ID}}" \ + --agent-pool-id="${{ contains(steps.pr-labels.outputs.labels, ' e2e:tev2_on_server ') && vars.TACO_APOOL_ID || '' }}" \ ${{ env.RUN_TAG }} - name: Get Scalr hostname shell: bash From efa92d819332a4a155185d3ac45d29f0920a1c90 Mon Sep 17 00:00:00 2001 From: okramarenko Date: Fri, 10 Nov 2023 19:54:04 +0200 Subject: [PATCH 2/2] SCALRCORE-28525: Introduce GH label to force tev2 creation on Scalr server (without agent pool) --- .github/workflows/upstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index ac10189c..4020052a 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -121,7 +121,7 @@ jobs: --branch ${{ env.API_BRANCH }} \ --run-url ${{ steps.get-job-id.outputs.html_url }} \ --skip-ui-build \ - --agent-pool-id="${{ contains(steps.pr-labels.outputs.labels, ' e2e:tev2_on_server ') && vars.TACO_APOOL_ID || '' }}" \ + --agent-pool-id="${{ !contains(steps.pr-labels.outputs.labels, ' e2e:tev2_on_server ') && vars.TACO_APOOL_ID || '' }}" \ ${{ env.RUN_TAG }} - name: Get Scalr hostname shell: bash