mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
Merge pull request #232 from flatcar-linux/t-lo/container-tests-publish-results
ci-automation: publish test results, add to GC
This commit is contained in:
commit
5ac2418679
@ -92,6 +92,7 @@ function garbage_collect() {
|
|||||||
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/boards/*/${os_vernum}/"
|
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/boards/*/${os_vernum}/"
|
||||||
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/containers/${os_docker_vernum}/flatcar-images-*"
|
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/containers/${os_docker_vernum}/flatcar-images-*"
|
||||||
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/images/*/${os_vernum}/"
|
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/images/*/${os_vernum}/"
|
||||||
|
rmpat="${rmpat} ${BUILDCACHE_PATH_PREFIX}/testing/${os_vernum}/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "## The following files will be removed ##"
|
echo "## The following files will be removed ##"
|
||||||
|
@ -123,7 +123,7 @@ function packages_build() {
|
|||||||
|
|
||||||
# Publish torcx manifest and docker tarball to "images" cache so tests can pull it later.
|
# Publish torcx manifest and docker tarball to "images" cache so tests can pull it later.
|
||||||
copy_to_buildcache "images/${arch}/${vernum}/torcx" \
|
copy_to_buildcache "images/${arch}/${vernum}/torcx" \
|
||||||
"${torcx_tmp}/torcx/amd64-usr/latest/torcx_manifest.json"
|
"${torcx_tmp}/torcx/${arch}-usr/latest/torcx_manifest.json"
|
||||||
copy_to_buildcache "images/${arch}/${vernum}/torcx" \
|
copy_to_buildcache "images/${arch}/${vernum}/torcx" \
|
||||||
"${torcx_tmp}/torcx/pkgs/${arch}-usr/docker/"*/*.torcx.tgz
|
"${torcx_tmp}/torcx/pkgs/${arch}-usr/docker/"*/*.torcx.tgz
|
||||||
|
|
||||||
|
@ -176,9 +176,10 @@ function test_run() {
|
|||||||
echo "########### All re-runs exhausted ($retries). Giving up. ###########"
|
echo "########### All re-runs exhausted ($retries). Giving up. ###########"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: publish to bincache?
|
# publish TAP files to build cache
|
||||||
# "${tests_dir}/"*.tap
|
copy_to_buildcache "testing/${vernum}/${arch}/${image}" \
|
||||||
# "${tests_dir}/_kola_temp.tar.xz"
|
"${tests_dir}/"*.tap
|
||||||
|
copy_to_buildcache "testing/${vernum}/${arch}/${image}" \
|
||||||
|
"${tests_dir}/_kola_temp"
|
||||||
}
|
}
|
||||||
# --
|
# --
|
||||||
|
Loading…
x
Reference in New Issue
Block a user