-
Notifications
You must be signed in to change notification settings - Fork 15
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
Run all tests for backports or when there are test changes #882
Conversation
The runner labels used by the nightly job are not correctly evaluated. We'll fix this by switching to the newly added one-string node labels.
The containerd base dir setting is currently ignored when joining nodes. The reason is that yaml parser ignores a struct field which is marked as private. Making it public fixes the issue. At the same time, the test expects the default containerd folders to be missing when configured to use a different base dir. However, the tests are currently placing the registry settings in /etc/containerd. We also get an empty /run/containerd folder. For now, we'll update the test to ignore these folders. There's also an os.path.join call that doesn't produce the expected result if the last element is an absolute path, we'll need to remove a slash when constructing the paths.
We're adding a few checks to the integration tests workflow. We'll use the "weekly" tag in case of backports (targeting the release-* branches) and whenever there are test changes.
Based on #876, I'll mark this PR as done once the other one merges. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @petrutlucian94 - minor change, then we can merge this.
# Run all tests if there are test changes. In case of a PR, we'll | ||
# get a merge commit that includes all changes. | ||
if git diff HEAD HEAD~1 --name-only | grep "tests/"; then | ||
tags="weekly" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be up_to_weekly
otherwise only the weekly tags are executed. Same below.
See
combine_tags("up_to_nightly", PULL_REQUEST, NIGHTLY) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, thanks!
Closed in favor of #876 |
We're adding a few checks to the integration tests workflow. We'll use the "weekly" tag in case of backports (targeting the release-* branches) and whenever there are test changes.