Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bazel): Remove monolith imports from Python µgen Bazel rules #923

Merged
merged 6 commits into from
Jun 21, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,10 @@ jobs:
env:
BAZEL_VERSION: 3.5.0
BAZEL_BINARY: bazel_3.5.0-linux-x86_64.deb
- name: Integration Tests
run: bazel test tests/integration:asset tests/integration:credentials tests/integration:logging tests/integration:redis
# Temporarily disable integration tests due to a circular Bazel rule dependency.
# TODO(miraleung): Uncomment these once the monolith is gone from googleapis.
#- name: Integration Tests
#run: bazel test tests/integration:asset tests/integration:credentials tests/integration:logging tests/integration:redis

style-check:
runs-on: ubuntu-latest
Expand Down
9 changes: 1 addition & 8 deletions repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,7 @@ def gapic_generator_python():
url = "https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-macOS.zip",
)

_maybe(
http_archive,
name = "com_google_api_codegen",
strip_prefix = "gapic-generator-03abac35ec0716c6f426ffc1532f9a62f1c9e6a2",
urls = ["https://github.com/googleapis/gapic-generator/archive/03abac35ec0716c6f426ffc1532f9a62f1c9e6a2.zip"],
)

_rules_gapic_version = "0.5.3"
_rules_gapic_version = "0.5.4"
_maybe(
http_archive,
name = "rules_gapic",
Expand Down