diff --git a/Jenkinsfile b/Jenkinsfile index 3a95752..1adfd73 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -129,7 +129,7 @@ pipeline { withCredentials([usernamePassword(credentialsId: "${NODE_CREDENTIALS}", usernameVariable: 'JENKINS_NODE_USERNAME', passwordVariable: 'JENKINS_NODE_PASSWORD')]) { sh ''' set -euo pipefail - DOCKER_BUILDKIT=0 ./scripts/ci-docker.sh build --network host \ + DOCKER_BUILDKIT=1 ./scripts/ci-docker.sh build --network host --progress=plain \ --build-arg PIP_INDEX_URL="$PIP_INDEX_URL" \ --build-arg HTTP_PROXY="$HTTP_PROXY_URL" --build-arg HTTPS_PROXY="$HTTP_PROXY_URL" \ --build-arg NO_PROXY="$NO_PROXY_HOSTS" -t "$IMAGE_REF" . diff --git a/tests/test_fnos_dependency_script.py b/tests/test_fnos_dependency_script.py index 09a5e7b..53d3988 100644 --- a/tests/test_fnos_dependency_script.py +++ b/tests/test_fnos_dependency_script.py @@ -17,7 +17,7 @@ def test_jenkins_uses_fast_index_for_every_pip_stage() -> None: def test_native_amd64_pipeline_does_not_boot_buildx() -> None: pipeline = (Path(__file__).parents[1] / "Jenkinsfile").read_text() assert 'test "$(uname -m)" = x86_64' in pipeline - assert "DOCKER_BUILDKIT=0 ./scripts/ci-docker.sh build" in pipeline + assert "DOCKER_BUILDKIT=1 ./scripts/ci-docker.sh build" in pipeline assert "buildx" not in pipeline assert "--no-cache" not in pipeline