mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-06 20:47:00 +02:00
ci-automation/test: Always pull mantle image when running tests
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
9b50112c5a
commit
60a45ef0c5
@ -167,7 +167,7 @@ function _test_run_impl() {
|
|||||||
# determine success based on test results (tapfile).
|
# determine success based on test results (tapfile).
|
||||||
set +e
|
set +e
|
||||||
touch sdk_container/.env
|
touch sdk_container/.env
|
||||||
docker run --rm --name="${container_name}" --privileged --net host -v /dev:/dev \
|
docker run --pull always --rm --name="${container_name}" --privileged --net host -v /dev:/dev \
|
||||||
-w /work -v "$PWD":/work "${mantle_ref}" \
|
-w /work -v "$PWD":/work "${mantle_ref}" \
|
||||||
bash -c "git config --global --add safe.directory /work && \
|
bash -c "git config --global --add safe.directory /work && \
|
||||||
source sdk_container/.env && \
|
source sdk_container/.env && \
|
||||||
@ -176,7 +176,7 @@ function _test_run_impl() {
|
|||||||
rm -f "${work_dir}/first_run"
|
rm -f "${work_dir}/first_run"
|
||||||
|
|
||||||
# Note: git safe.directory is not set in this run as it does not use git
|
# Note: git safe.directory is not set in this run as it does not use git
|
||||||
docker run --rm --name="${container_name}" --privileged --net host -v /dev:/dev \
|
docker run --pull always --rm --name="${container_name}" --privileged --net host -v /dev:/dev \
|
||||||
-w /work -v "$PWD":/work "${mantle_ref}" \
|
-w /work -v "$PWD":/work "${mantle_ref}" \
|
||||||
ci-automation/test_update_reruns.sh \
|
ci-automation/test_update_reruns.sh \
|
||||||
"${arch}" "${vernum}" "${image}" "${retry}" \
|
"${arch}" "${vernum}" "${image}" "${retry}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user