Merge pull request #258 from flatcar-linux/scripts

ci-automation/test.sh: use the latest kola from coreos-overlay
This commit is contained in:
Thilo Fromm 2022-03-16 17:05:14 +01:00
commit 46177af5cf

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