From b53ca776ca386f75dd7cc0f991eafb3b5c2bdff7 Mon Sep 17 00:00:00 2001 From: Venktesh Date: Mon, 20 May 2024 10:04:56 +0100 Subject: [PATCH] exclude upgrade files from nightly regression --- .github/data/matrix-regression.json | 2 ++ tests/suite/test_upgrade_resources.py | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/data/matrix-regression.json b/.github/data/matrix-regression.json index ab3c909788..fe52bc0cd9 100644 --- a/.github/data/matrix-regression.json +++ b/.github/data/matrix-regression.json @@ -5,12 +5,14 @@ "label": "regression", "image": "debian", "type": "oss", + "marker": "not upgrade", "platforms": "linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x" }, { "label": "regression", "image": "debian-plus", "type": "plus", + "marker": "'not upgrade'", "platforms": "linux/arm64, linux/amd64" } ] diff --git a/tests/suite/test_upgrade_resources.py b/tests/suite/test_upgrade_resources.py index 2852e57b1d..b17ec2c6fb 100644 --- a/tests/suite/test_upgrade_resources.py +++ b/tests/suite/test_upgrade_resources.py @@ -23,9 +23,13 @@ ts = f"{TEST_DATA}/upgrade-test-resources/transport-server.yaml" secret = f"{TEST_DATA}/upgrade-test-resources/secret.yaml" -# Below test class only deployes resources for upgrade testing, IC deployment should be done manually via helm. +""" +Test class below only deployes resources for upgrade testing, NIC deployment should be done manually via helm. +Run `make upgrade-resources PYTEST_ARGS="create OR delete"` to create OR delete resources. +""" +@pytest.mark.upgrade class TestUpgrade: @pytest.mark.create def test_create(self, request, kube_apis):