-
Notifications
You must be signed in to change notification settings - Fork 53
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: make integration test infrastructure sane #904
Conversation
@@ -0,0 +1,25 @@ | |||
#!/bin/sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script is taken out of integration_test.bzl
above.
Codecov Report
@@ Coverage Diff @@
## main #904 +/- ##
=======================================
Coverage 87.86% 87.86%
=======================================
Files 153 153
Lines 16024 16024
Branches 1166 1166
=======================================
Hits 14079 14079
Misses 1602 1602
Partials 343 343 Continue to review full report at Codecov.
|
Hmm... I will look into the failures on GitHub. |
Good to go. |
@chanseokoh Please consider reverting this PR as a whole or heavily refactoring it to eliminate the issues. The issues are:
|
We have offline discussions. FTR,
Turns out this wasn't the case (although it could have been), and therefore there's no difference after this PR. If it is required to verify if generated libraries are compilable, we should do that. It can be done by adding tests to CI. And in fact, we already have such tests (recently added).
Bazel was used as a tool to call many severely complicated scripts (embedded ones) anyway. However, one could argue that the complexity is hidden as an implementation detail, where the following argument is in the same vein.
I have arguments about this, but here, I'd just leave here that we don't see this as an issue. In fact, I think we are making this better by doing this. |
The you-can-do-anything-in-bazel mentality can easily lure one to a state where you are programming a build with a build tool instead of configuring a build. I just extracted the shell script portion out of a `.bzl` file into a file. This should also help switching to any build system from Bazel.
Fixes #904 Source-Author: Neenu Shaji <[email protected]> Source-Date: Wed Mar 24 15:50:02 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef Source-Link: googleapis/synthtool@bb854b6
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
…-info-reports-plugin to v3.4.1 (#904) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) ([source](https://togithub.com/apache/maven-project-info-reports-plugin)) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTguMCIsInVwZGF0ZWRJblZlciI6IjMyLjE2MS4wIn0=-->
The you-can-do-anything-in-bazel mentality can easily lure one to a state where you are programming a build with a build tool instead of configuring a build.
I just extracted the shell script portion out of a
.bzl
file into a file.This should also help switching to any build system from Bazel.