-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[v5.2-rhel] Update CI on v5.2-rhel to check for jira links #23720 #23764
[v5.2-rhel] Update CI on v5.2-rhel to check for jira links #23720 #23764
Conversation
Ephemeral COPR build failed. @containers/packit-build please check. |
…linked This is a backport of #17193af962453a3cfde2d9f25c0fea29e3c91cf3 (from containers#23622) In the RHEL specific branches we want to ensure that all MRs link to at least one downstream Jira ticket. To do this we add a new test in validate-source similar to the existing pr-should-include-tests. This test only runs on actual pull requests. The syntax for linking to a Jira is "Fixes " or "Fixes: ", followed by one jira links, like so: ``` Fixes https://issues.redhat.com/browse/RHEL-50506 Fixes: https://issues.redhat.com/browse/RHEL-50506 ``` Note: This is the same syntax as for a regular github issue reference. Signed-off-by: Alexander Larsson <alexl@redhat.com>
cea62b1
to
03c6986
Compare
Also, it seems this branch didn't bump DEST_BRANCH in .cirrus.yml |
Signed-off-by: Alexander Larsson <alexl@redhat.com>
eb34f9d
to
3b44544
Compare
Unclear why the max and windows tests fail. They all get some 404 http errror. |
Because we added no rhel branch conditions to the windows/macos build jobs (which does make sense) but do not have the same condition to the machine tasks (which is wrong). Obviously a rhel branch needs no windows/macos testing so we need to remove the tasks. As a quick and easy fix I suggest you just remove the entire podman_machine_windows_task and podman_machine_mac_task from cirrus.yml here and I can work on a proper conditional fix for the main branch. |
These are not needed for RHEL and are failing du to lack of branch conditions in cirrus. Signed-off-by: Alexander Larsson <alexl@redhat.com>
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexlarsson, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
c10f007
into
containers:v5.2-rhel
We already exclude the build jobs this is causing the machine tasks to fail as noticed in containers#23764. Given we do not need windows/macos testing for RHEL we have to skip them there. While we try to only use only_if the problem here is that we would need to duplicate the big only_if_machine_test string and work the rhel condition into it which doesn't work with the current logic either so we would need to change the logic flow there which then doesn't work with our cirrus_yaml_test.py selftest. Therefore I think using skip here is easier. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This backports the changes from #23622 to ensure that PRs on the -rhel branches have a Jira references.
Also, we need to update DEST_BRANCH on this branch as that was not done yet.
Fixes: https://issues.redhat.com/browse/VROOM-20772