Compare commits

...

9 Commits

Author SHA1 Message Date
Victor Chudnovsky 0000418122 Try omitting `blaze clean`; see whether new cope in token passes PR creation 2 years ago
Victor Chudnovsky 7bf133aabc Try not checking out master, so we only work on this CL 2 years ago
Victor Chudnovsky e6e18f35d0 Try blaze clean without expunge 2 years ago
Victor Chudnovsky 52b5163ccf Expunge async 2 years ago
Victor Chudnovsky 2b3da7462d Expunge bazel 2 years ago
Victor Chudnovsky f6dbfb84c5 Update WORKSPACE for synth proto converter version to fix golang 2 years ago
Victor Chudnovsky e6adb9fd1c Retry with sandbox to begud downstream Go error 2 years ago
Victor Chudnovsky 0790acdcf6 Try marking the googleapis directory safe 2 years ago
Victor Chudnovsky 746f8752af debug(actions): try to trace GitHub action problems 2 years ago
  1. 19
      .github/workflows/diregapic.yaml
  2. 2
      WORKSPACE

@ -3,6 +3,9 @@ name: DIREGAPIC Updater
on: # yamllint disable-line rule:truthy
schedule:
- cron: '19 */8 * * *'
pull_request: # FIXME(vchudnov): just for debugging
branches:
- master
workflow_dispatch:
jobs:
@ -13,14 +16,23 @@ jobs:
steps:
- name: Checkout master
uses: actions/checkout@v3
with:
ref: master
# with:
# ref: master
- name: Download discovery docs
run: |
curl https://www.googleapis.com/discovery/v1/apis/compute/v1/rest --output google/cloud/compute/v1/compute.v1.json
echo compute_revision=$(grep -oP '"revision":\s*"\d+"' google/cloud/compute/v1/compute.v1.json | grep -oP '\d+') >> $GITHUB_ENV
#- name: Ensure clean Bazel builds
# run: |
# bazel clean
- name: Regenerate API definitions
run: |
echo "*** DEBUG START"
git version
ls -la /__w/googleapis
ls -la /__w/googleapis/googleapis
git config --global --add safe.directory /__w/googleapis/googleapis
echo "*** DEBUG END"
bazel build //google/cloud/compute/v1:compute_gen
cp bazel-bin/google/cloud/compute/v1/compute_gen.proto google/cloud/compute/v1/compute.proto
bazel build //google/cloud/compute/v1:compute_grpc_service_config_gen
@ -31,7 +43,8 @@ jobs:
- name: Build GAPIC clients
if: contains(env.api_changes, 'file')
run: |
bazel build //google/cloud/compute/v1/...
bazel build //google/cloud/compute/v1/... || bazel build --sandbox_debug //google/cloud/compute/v1/...
bazel build //google/cloud/compute/v1/...
- name: Create PR
uses: googleapis/code-suggester@v2

@ -461,7 +461,7 @@ gapic_generator_ruby_repositories()
# Discovery
##############################################################################
_disco_to_proto3_converter_version = "c47a76dd3d591478dd1a902413636c06da1153b8"
_disco_to_proto3_converter_version = "96e1e63d3c1ddc546a57ac78b28893ee1013266a"
http_archive(
name = "com_google_disco_to_proto3_converter",

Loading…
Cancel
Save