-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Reduce copy layers (#269)
* feat: Use cached kerneel feat: Used cached-kernel * fix: include repos * fix: typo, have sbverify test * fix: work on surface install * fix: surface is annoying * fix: surface package name * fix: get surface installing * fix: get surface installing * fix: another surface try * fix: surface, install from repo, replace vmlinuz * fix: more surface changes * chore(ci): Another iteration * chore: annother attempt * chore: another attempt * chore: again * fix: maybe closer? * closer * another attempt * more changes * missing variable * try combining into one block * spelling * consolidate * spelling * remove debug * chore(ci): Reduce copy layers by using mounts Signed-off-by: m2Giles <[email protected]> * fix cache mount * copy missing files * fix paths * fix paths, order * correct paths Signed-off-by: m2Giles <[email protected]> * don't destroy the cache * don't destroy the cache * don't destroy the cache --------- Signed-off-by: m2Giles <[email protected]>
- Loading branch information
Showing
4 changed files
with
42 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/bash | ||
|
||
set -eoux pipefail | ||
shopt -s extglob | ||
|
||
rm -rf /tmp/* || true | ||
rm -rf /var/!(cache) | ||
rm -rf /var/cache/!(rpm-ostree) |
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