Merge pull request #258 from flatcar-linux/t-lo/ci-automation-tests-use-latest-kola

ci-automation/test.sh: use the latest kola from coreos-overlay
This commit is contained in:
Thilo Fromm 2022-03-16 17:04:16 +01:00 committed by GitHub
commit 9b83d3e80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,13 @@ function test_run() {
# Make the torcx artifacts available to test implementation
__prepare_torcx "${arch}" "${vernum}" "${work_dir}"
# Ensure we run tests with an up-to-date kola.
# This covers the case of a mantle/kola commit ID in the ebuild being
# newer than the mantle/kola included in the SDK.
./run_sdk_container -x ./ci-cleanup.sh \
-n "${container_name}" -C "${sdk_image}" -v "${vernum}" \
sudo emerge mantle
# Pass PARALLEL_TESTS to the container
if [ -n "${PARALLEL_TESTS-}" ] ; then
echo "PARALLEL_TESTS=\"${PARALLEL_TESTS}\"" > sdk_container/.env