chore: internal change

PiperOrigin-RevId: 460267010
pull/726/head
Google APIs 3 years ago committed by Copybara-Service
parent d684988bca
commit 220b13e335
  1. 2
      .github/workflows/diregapic.yaml
  2. 6
      .kokoro/Dockerfile
  3. 6
      .kokoro/docker_update.sh
  4. 2
      .kokoro/start.sh

@ -8,7 +8,7 @@ on: # yamllint disable-line rule:truthy
jobs:
regenerate-compute:
runs-on: ubuntu-latest
container: gcr.io/gapic-images/googleapis:20220222
container: gcr.io/gapic-images/googleapis:20220711
steps:
- name: Checkout master
uses: actions/checkout@v3

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10
RUN apt-get update
@ -11,9 +11,9 @@ RUN apt-get install -y \
RUN mkdir -p /tools
WORKDIR /tools
RUN curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.8.0/bazelisk-linux-amd64 -o bazelisk
RUN curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-amd64 -o bazelisk
RUN chmod +x bazelisk
RUN curl -L https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-linux-x86_64 -o bazel
RUN curl -L https://github.com/bazelbuild/bazel/releases/download/5.2.0/bazel-5.2.0-linux-x86_64 -o bazel
RUN chmod +x bazel
WORKDIR /

@ -22,6 +22,8 @@ set -e
PWD="`pwd`"
SHARED="$PWD/volume"
SCRIPT=$0
DIRNAME=`dirname $SCRIPT`
if test -d "$SHARED"; then
echo "The working directory $SHARED already exists, please delete it first."
@ -30,7 +32,9 @@ fi
mkdir -p "$SHARED"
# 1. Build the latest Docker image using the Dockerfile from google3
cat /google/src/head/depot/google3/third_party/googleapis/stable/.kokoro/Dockerfile > "$PWD/Dockerfile"
echo "Using Dockerfile from $DIRNAME"
cat "$DIRNAME/Dockerfile" > "$PWD/Dockerfile"
echo "Building googleapis Docker image..."
docker build -t googleapis .

@ -11,4 +11,4 @@ docker container run \
--workdir ${KOKORO_ROOT} \
--ipc=host \
--entrypoint ${KOKORO_ARTIFACTS_DIR}/github/googleapis/.kokoro/build.sh \
gcr.io/gapic-images/googleapis:20220222
gcr.io/gapic-images/googleapis:20220711

Loading…
Cancel
Save