Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude upgrade files from nightly regression tests #5581

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/data/matrix-regression.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
Expand Down
6 changes: 5 additions & 1 deletion tests/suite/test_upgrade_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading