You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially, we will create this workflow as a presubmit postsubmit check, it will run librarian generate -all and fail if any code change happens in the branch. This can verify the generation result is the same among hermetic build and librarian.
After running the check for a week, we should add to workflow to create issue on failure. we will remove hermetic build workflow and update the presubmit check to commit code change. (tracked in #6219)
For reference, in google-cloud-java, this job builds an hermetic build image when a commit is pushed to main and a workflow runs the latest image for library generation in eligible pull requests.
Create a workflow in google-cloud-java to run
librarian generate -alland commit code change in eligible pull request, similar to https://github.com/googleapis/google-cloud-java/blob/main/.github/workflows/hermetic_library_generation.yamlThe tools used in the workflow:
librarian installto support this, tracked via java: add support for librarian install #5154.Initially,we will create this workflow as apresubmitpostsubmit check, it will runlibrarian generate -alland fail if any code change happens in the branch. This can verify the generation result is the same among hermetic build and librarian.After running the check for a week, we should add to workflow to create issue on failure.
we will remove hermetic build workflow and update the presubmit check to commit code change.(tracked in #6219)For reference, in google-cloud-java, this job builds an hermetic build image when a commit is pushed to main and a workflow runs the latest image for library generation in eligible pull requests.