ci: split up PR build workflow using reusable workflow#1245
Merged
RoyalOughtness merged 2 commits intosecureblue:livefrom Aug 14, 2025
Merged
ci: split up PR build workflow using reusable workflow#1245RoyalOughtness merged 2 commits intosecureblue:livefrom
RoyalOughtness merged 2 commits intosecureblue:livefrom
Conversation
b3579cf to
55e04bd
Compare
This makes a reusable workflow out of the PR build workflow, and uses it in four workflows with different triggers: * `pr_build_minimal.yml` builds only the `silverblue-main-hardened` image if any non-markdown file is modified by the PR. * `pr_build_all_main.yml` builds the other four "main" (non-Nvidia, non-ZFS images if files either specific to one of the non-Silverblue images or with more potential to affect the build process are modified. * `pr_build_nvidia.yml` builds one `nvidia` and one `nvidia-open` image if a file with "nvidia" in the filename is modified. * `pr_build_zfs.yml` builds the three ZFS images if a file with "zfs" in the filename is modified. This should significantly reduce compute time spent unnecessarily building images for PRs that are highly unlikely to cause build failures in those images (or if they did, would cause build failures in *all* images, which will still be caught by `pr_build_minimal.yml`). Signed-off-by: Daniel Hast <[email protected]>
55e04bd to
376055d
Compare
RoyalOughtness
approved these changes
Aug 13, 2025
RKNF404
approved these changes
Aug 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes a reusable workflow out of the PR build workflow, and uses it in four workflows with different triggers:
pr_build_minimal.ymlbuilds only thesilverblue-main-hardenedimage if any non-markdown file is modified by the PR.pr_build_all_main.ymlbuilds the other four "main" (non-Nvidia, non-ZFS) images if files either specific to one of the non-Silverblue images or with more potential to affect the build process are modified.pr_build_nvidia.ymlbuilds onenvidiaand onenvidia-openimage if a file with "nvidia" in the filename is modified.pr_build_zfs.ymlbuilds the three ZFS images if a file with "zfs" in the filename is modified.This should significantly reduce compute time spent unnecessarily building images for PRs that are highly unlikely to cause build failures in those images (or if they did, would cause build failures in all images, which will still be caught by
pr_build_minimal.yml).