Add use_bazel.sh 5.1.1 to ruby/python build (#11389)

pin Bazel version to an older stable one (5.1.1)
pull/11412/head
Jie Luo 2 years ago committed by GitHub
parent c1e53fb250
commit a677d9033f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      kokoro/release/python/macos/build_artifacts.sh
  2. 2
      kokoro/release/python/macos/continuous.cfg
  3. 2
      kokoro/release/python/macos/presubmit.cfg
  4. 2
      kokoro/release/python/macos/release.cfg
  5. 5
      kokoro/release/ruby/macos/build_artifacts.sh
  6. 2
      kokoro/release/ruby/macos/continuous.cfg
  7. 2
      kokoro/release/ruby/macos/presubmit.cfg
  8. 2
      kokoro/release/ruby/macos/release.cfg

@ -8,6 +8,9 @@ brew uninstall -f protobuf
# change to repo root
pushd $(dirname $0)/../../../..
chmod ugo+x ${KOKORO_GFILE_DIR}/use_bazel.sh
${KOKORO_GFILE_DIR}/use_bazel.sh 5.1.1
# Create stage dir
ORIGINAL_DIR=`pwd`
pushd ..

@ -6,3 +6,5 @@ action {
regex: "github/protobuf/artifacts/**"
}
}
gfile_resources: "/google_src/files/head/depot/google3/devtools/kokoro/vanadium/linux_scripts/usr/local/bin/use_bazel.sh"

@ -6,3 +6,5 @@ action {
regex: "github/protobuf/artifacts/**"
}
}
gfile_resources: "/google_src/files/head/depot/google3/devtools/kokoro/vanadium/linux_scripts/usr/local/bin/use_bazel.sh"

@ -6,3 +6,5 @@ action {
regex: "github/protobuf/artifacts/**"
}
}
gfile_resources: "/google_src/files/head/depot/google3/devtools/kokoro/vanadium/linux_scripts/usr/local/bin/use_bazel.sh"

@ -1,10 +1,13 @@
#!/bin/bash
set -ex
# change to repo root
cd $(dirname $0)/../../../..
chmod ugo+x ${KOKORO_GFILE_DIR}/use_bazel.sh
${KOKORO_GFILE_DIR}/use_bazel.sh 5.1.1
# all artifacts come here
mkdir artifacts
export ARTIFACT_DIR=$(pwd)/artifacts

@ -6,3 +6,5 @@ action {
regex: "github/protobuf/artifacts/**"
}
}
gfile_resources: "/google_src/files/head/depot/google3/devtools/kokoro/vanadium/linux_scripts/usr/local/bin/use_bazel.sh"

@ -6,3 +6,5 @@ action {
regex: "github/protobuf/artifacts/**"
}
}
gfile_resources: "/google_src/files/head/depot/google3/devtools/kokoro/vanadium/linux_scripts/usr/local/bin/use_bazel.sh"

@ -6,3 +6,5 @@ action {
regex: "github/protobuf/artifacts/**"
}
}
gfile_resources: "/google_src/files/head/depot/google3/devtools/kokoro/vanadium/linux_scripts/usr/local/bin/use_bazel.sh"

Loading…
Cancel
Save