From e1959a0c22641bf39c01cd58c19e8abc674bff9d Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Tue, 17 Jan 2023 22:23:37 -0800 Subject: [PATCH] Migrate docker images to the new Artifact Registry location. PiperOrigin-RevId: 502777157 --- .github/workflows/python_tests.yml | 6 +++--- bazel/build_defs.bzl | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index dbf2f8b656..723bb96554 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-large if: ${{ github.event.pull_request.head.repo.full_name == 'protocolbuffers/upb' }} env: - DOCKER_IMAGE: gcr.io/protobuf-build/bazel/linux@sha256:9dba7773926bb6dce839de098948055c9e80260d7470a7fefb94b6a4fed363ba + DOCKER_IMAGE: us-docker.pkg.dev/protobuf-build/release-containers/linux@sha256:51eed1ced211cdcb3cae7733dbc7f2b28e195dfe0bbfb596794e52de4402fe1b steps: - uses: actions/checkout@v2 @@ -29,7 +29,7 @@ jobs: - name: Use gcloud CLI run: gcloud info - name: Configure Docker - run: gcloud auth configure-docker + run: gcloud auth configure-docker -q us-docker.pkg.dev - name: Pull Docker Image run: docker pull $DOCKER_IMAGE - name: Build Wheels @@ -59,7 +59,7 @@ jobs: - { os: macos-11, python-version: "3.7", architecture: x64, type: 'source' } - { os: ubuntu-20-large, python-version: "3.10", architecture: x64, type: 'source' } - { os: macos-12, python-version: "3.10", architecture: x64, type: 'source' } - + # Windows uses the full API up until Python 3.10, so each of these # jobs tests a distinct binary wheel. - { os: windows-2019-large, python-version: "3.7", architecture: x86, type: 'binary' } diff --git a/bazel/build_defs.bzl b/bazel/build_defs.bzl index f8fcb0df49..a2061b5971 100644 --- a/bazel/build_defs.bzl +++ b/bazel/build_defs.bzl @@ -33,6 +33,8 @@ _DEFAULT_CPPOPTS.extend([ "-Wextra", # "-Wshorten-64-to-32", # not in GCC (and my Kokoro images doesn't have Clang) "-Werror", + # TODO(b/265232445) This is required due to https://github.com/abseil/abseil-cpp/issues/1201. + "-Wno-deprecated", "-Wno-unused-parameter", "-Wno-long-long", # TODO(b/265232445) This is required due to https://github.com/abseil/abseil-cpp/issues/1201.