From cf6b1740a14634406bb3426309dd92af8faa06fb Mon Sep 17 00:00:00 2001 From: Quentin Boswank Date: Tue, 19 Sep 2023 19:43:10 +0200 Subject: Add more caching to the CI more specificaly to the tarballs download. The function CT_Fetch now touches the already existing files to be comparable to the not used ones that can araise when a package is updated. This comparsion is needed because if it would not exist the tarball would grow in size due to not used but still cached packages. This would take time but is definitly something to worry about. Signed-off-by: Quentin Boswank --- scripts/functions | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/functions b/scripts/functions index 94fd1e9e..841dce2c 100644 --- a/scripts/functions +++ b/scripts/functions @@ -956,6 +956,7 @@ CT_GetFile() # Do we already have it in *our* tarballs dir? if [ -r "${CT_TARBALLS_DIR}/${basename}${ext}" ]; then CT_DoLog DEBUG "Already have '${CT_TARBALLS_DIR}/${basename}${ext}'" + touch "${CT_TARBALLS_DIR}/${basename}${ext}" # for CI return 0 fi -- cgit v1.2.3