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

chore: rework build infrastructure #913

Merged
merged 5 commits into from
Jan 27, 2022
Merged

chore: rework build infrastructure #913

merged 5 commits into from
Jan 27, 2022

Conversation

chanseokoh
Copy link
Contributor

@chanseokoh chanseokoh commented Jan 27, 2022

Removes repository_rules.bzl and dependencies.properties. Creates PROPERTIES.bzl instead (which was dynamically generated by the rule above previously) to make the whole process straightforward.

The dependencies.properties-pattern is used in other repos (including gax-java). Its purpose is to avoid dependency versions going out of sync when compiling source between Bazel and Gradle. However, we don't have Gradle, and we won't enable building with two different build systems, so YAGNI.

@chanseokoh chanseokoh requested review from a team as code owners January 27, 2022 16:46
Copy link
Member

@meltsufin meltsufin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the simplification. I wish we had some way of automatically updating the versions using a bot like we do in other repos.

@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

Merging #913 (f9c76e9) into main (8ae5f31) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #913   +/-   ##
=======================================
  Coverage   87.84%   87.84%           
=======================================
  Files         153      153           
  Lines       16046    16046           
  Branches     1166     1166           
=======================================
  Hits        14095    14095           
  Misses       1607     1607           
  Partials      344      344           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ae5f31...f9c76e9. Read the comment docs.

@chanseokoh chanseokoh merged commit 50a8693 into main Jan 27, 2022
@chanseokoh chanseokoh deleted the rework-build-system branch January 27, 2022 18:55
@chanseokoh
Copy link
Contributor Author

Looks like googleapis/googleapis is referencing repository_rules.bzl that is removed in this PR.

I'll have to look into that to resolve the issue.

@chanseokoh
Copy link
Contributor Author

chanseokoh commented Jan 28, 2022

Turns out it's a trivial fix to remove unused code from googleapis/googleapis. However, there was a chicken-and-egg-like situation, so I ended up upgrading gax-java and gapic-generator-java in googleapis and removing the code after releasing gapic-generator-java. (internal change: 424868012)

suztomo pushed a commit that referenced this pull request Dec 16, 2022
suztomo pushed a commit that referenced this pull request Mar 21, 2023
Source-Link: googleapis/synthtool@fbc8bfe
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
suztomo pushed a commit that referenced this pull request Mar 21, 2023
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants