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

workflows: Trigger anaconda test on bridge/storaged changes #19457

Closed
wants to merge 4 commits into from

Conversation

martinpitt
Copy link
Member

@martinpitt martinpitt commented Oct 9, 2023

We want to make sure to not break Anaconda with changes which affect it,
i.e. the bridge or the Storage page. As Anaconda's tests are "special"
(require booting boot.iso, can't run in tmt/Testing Farm), we need to
run them in Cockpit's CI.

Add a workflow workflow which checks if the PR affects Anaconda (changes
to the bridge or Storage page), polls the packit COPR until it has the
current PR version available, and then test-triggers a "cockpit PR"
scenario.

https://issues.redhat.com/browse/COCKPIT-1064


I developed/tested this on my fork in martinpitt#18 . Everything worked up to what I could expect from there (e.g. my fork isn't being watched by Cockpit CI). I also triggered a "cockpit PR" scenario in #19454 , i.e. the fedora-rawhide-boot/cockpit-pr-19454@rhinstaller/anaconda test.

@martinpitt martinpitt closed this Oct 9, 2023
@martinpitt martinpitt deleted the anaconda-pr branch October 9, 2023 10:44
@martinpitt martinpitt added the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Oct 9, 2023
@martinpitt martinpitt reopened this Oct 9, 2023
@martinpitt martinpitt marked this pull request as ready for review October 9, 2023 11:51
@martinpitt
Copy link
Member Author

martinpitt commented Oct 9, 2023

The run here did not trigger anything, as nothing is affected. Let me push an additional commit that changes the pybridge. (I originally tried to break it, but that would have to be subtle enough to still pass our unit tests, so that the rpm builds succeed -- I can't think of anything).

This failed, I think it wants to tell me "I want read:org", but there's no such permission for the default GitHub token. So I reworked this to use our https://github.com/cockpituous token.

@martinpitt martinpitt force-pushed the anaconda-pr branch 2 times, most recently from c939773 to 5c71a13 Compare October 9, 2023 11:56
@martinpitt martinpitt marked this pull request as draft October 9, 2023 12:27
We want to make sure to not break Anaconda with changes which affect it,
i.e. the bridge or the Storage page. As Anaconda's tests are "special"
(require booting boot.iso, can't run in tmt/Testing Farm), we need to
run them in Cockpit's CI.

Add a workflow workflow which checks if the PR affects Anaconda (changes
to the bridge or Storage page), polls the packit COPR until it has the
current PR version available, and then test-triggers a "cockpit PR"
scenario.

https://issues.redhat.com/browse/COCKPIT-1064
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-test For doc/workflow changes, or experiments which don't need a full CI run,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant