kokoro: Use streamlined image for check_style The image has python3, clang-format, and gofmt, and over 10 GB smaller than the general C++ builder image. Bug: 397439901 Change-Id: I6392c984a367605d44c44f362921999c5e92ac90 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/75029 Commit-Queue: Shahbaz Youssefi <syoussefi@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@google.com> Tested-by: Shahbaz Youssefi <syoussefi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com>
diff --git a/tests/kokoro/gcp_ubuntu/check_style-docker.sh b/tests/kokoro/gcp_ubuntu/check_style-docker.sh index d7e871d..983485b 100755 --- a/tests/kokoro/gcp_ubuntu/check_style-docker.sh +++ b/tests/kokoro/gcp_ubuntu/check_style-docker.sh
@@ -4,12 +4,9 @@ set -e # Fail on first failure -. /bin/using.sh - -set -x # Display commands being run. - -using clang-13.0.1 -using go-1.23.4 +# The Docker image should have set these. +[ -x $CLANG_FORMAT ] +[ -x $GOFMT ] # Run presubmit tests cd "$SCRIPT_DIR/../../.."
diff --git a/tests/kokoro/gcp_ubuntu/check_style.sh b/tests/kokoro/gcp_ubuntu/check_style.sh index c16df08..e8180d4 100755 --- a/tests/kokoro/gcp_ubuntu/check_style.sh +++ b/tests/kokoro/gcp_ubuntu/check_style.sh
@@ -23,4 +23,4 @@ --volume "${ROOT_DIR}:${ROOT_DIR}" \ --workdir "${ROOT_DIR}" \ --entrypoint "${SCRIPT_DIR}/check_style-docker.sh" \ - "gcr.io/shaderc-build/radial-build:latest" + us-east4-docker.pkg.dev/shaderc-build/radial-docker/ubuntu-24.04-amd64/formatter