From 912cca7b9fef736ed749c4dd4fa2227e4ffbda3f Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 2 Nov 2021 15:33:30 +0100 Subject: [PATCH] assign test pods to on demand nodes (#264) --- .github/workflows/interop.yml | 6 ++++++ .github/workflows/manual.yml | 6 ++++++ .github/workflows/performance.yml | 6 ++++++ .github/workflows/quali.yml | 6 ++++++ .github/workflows/uc_interop.yml | 6 ++++++ .github/workflows/uc_sanity.yml | 6 ++++++ .github/workflows/uc_sanity_dynamic.yml | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/.github/workflows/interop.yml b/.github/workflows/interop.yml index fb2a3a297..7494bb66d 100644 --- a/.github/workflows/interop.yml +++ b/.github/workflows/interop.yml @@ -146,6 +146,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 5f1f17ea3..35b3ef6f6 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -153,6 +153,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 73d53369b..3fffcf110 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -151,6 +151,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never diff --git a/.github/workflows/quali.yml b/.github/workflows/quali.yml index e4b13568e..e175aa682 100644 --- a/.github/workflows/quali.yml +++ b/.github/workflows/quali.yml @@ -494,6 +494,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never diff --git a/.github/workflows/uc_interop.yml b/.github/workflows/uc_interop.yml index 9218d5f32..0a00ad46e 100644 --- a/.github/workflows/uc_interop.yml +++ b/.github/workflows/uc_interop.yml @@ -146,6 +146,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never diff --git a/.github/workflows/uc_sanity.yml b/.github/workflows/uc_sanity.yml index 98c2acea5..835657953 100644 --- a/.github/workflows/uc_sanity.yml +++ b/.github/workflows/uc_sanity.yml @@ -148,6 +148,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never diff --git a/.github/workflows/uc_sanity_dynamic.yml b/.github/workflows/uc_sanity_dynamic.yml index 972544bba..e54982edc 100644 --- a/.github/workflows/uc_sanity_dynamic.yml +++ b/.github/workflows/uc_sanity_dynamic.yml @@ -286,6 +286,12 @@ jobs: mountPath: "/wlan-testing/tests/configuration.py" subPath: configuration readOnly: true + nodeSelector: + env: tests + tolerations: + - key: "tests" + operator: "Exists" + effect: "NoSchedule" imagePullSecrets: - name: tip-docker-registry-key restartPolicy: Never