-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand downgrade test by upgrading back to origin after downgrading (#…
…2224) * Expand downgrade test by upgrading back to origin after downgrading Signed-off-by: David Cassany <[email protected]> * Adapt github worflow to handle cache for downgrade tests and import the container images Signed-off-by: David Cassany <[email protected]> --------- Signed-off-by: David Cassany <[email protected]>
- Loading branch information
1 parent
1960635
commit 5f996b5
Showing
7 changed files
with
69 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "Hacks for testing environment" | ||
stages: | ||
initramfs: | ||
# This is needed in case some unit service have been | ||
# refactored across distro releases. | ||
# Fixes downgrade test (Nov 2024) | ||
- name: "Remove broken unit links" | ||
commands: | ||
- | | ||
find /etc/systemd/system/ -type l -print0 | while IFS= read -r -d $'\0' file; do | ||
[ -e ${file} ] && continue | ||
echo "Removing broken link ${file}" | ||
rm -f "${file}" | ||
done |
This file contains 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