mirror of https://github.com/grpc/grpc.git
[CI] Used dockcross/manylinux2014-aarch64 for aarach64 artifact docker images (#38084)
Use `dockcross/manylinux2014-aarch64` for aarch64 artifact docker images to improve portability. Also existing docker images are updated to use the latest instead of pinned image. Closes #38084 PiperOrigin-RevId: 694241161test_685282781
parent
0148b49aea
commit
0672a7a951
8 changed files with 37 additions and 8 deletions
@ -0,0 +1,29 @@ |
||||
#!/bin/bash |
||||
# Copyright 2024 The gRPC Authors |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
set -ex |
||||
|
||||
# compile/link options extracted from ProtocArtifact in tools/run_tests/artifacts/artifact_targets.py |
||||
export LDFLAGS="${LDFLAGS} -static-libgcc -static-libstdc++ -s" |
||||
# set build parallelism to fit the machine configuration of bazelified tests RBE pool. |
||||
export GRPC_PROTOC_BUILD_COMPILER_JOBS=8 |
||||
|
||||
# Without this cmake find the c++ compiler |
||||
# find better solution to prevent bazel from restricting path contents |
||||
export PATH="/opt/rh/devtoolset-10/root/usr/bin:/usr/xcc/aarch64-unknown-linux-gnu/bin:$PATH" |
||||
|
||||
mkdir -p artifacts |
||||
env |
||||
ARTIFACTS_OUT=artifacts tools/run_tests/artifacts/build_artifact_protoc.sh |
@ -1 +1 @@ |
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_protoc_aarch64:be8fc962f6a27ce976abecbda3dd02be4be5683d@sha256:a0f6b544c1b2fa75f73b26cb28281917153304e9df2789e93de0732494e6b651 |
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_protoc_aarch64:43936fd124972cc6459315069ab6c2218fd2dfb3@sha256:c3a6556d0e9153574279e998b0ff03eb8b49221a3b87704c23409287fae5131a |
@ -1 +1 @@ |
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_python_manylinux2014_aarch64:377f694f92dd1b56dff0b0a0f47d6e731200953c@sha256:ad3233be3c3ad9e0c4b60f0176a853713a35e5c84ec9d9703996c67fa3e811b6 |
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_python_manylinux2014_aarch64:9e30b45140ef4e1641262913d0df200b6c18b5e8@sha256:263ea79d940c905233624b02751194474408338b0f5ae2fb822966b2f20f47ce |
Loading…
Reference in new issue