googleapis / java-spanner

Apache License 2.0
55 stars 110 forks source link

feat: enable hermetic library generation #3129

Closed diegomarquezp closed 2 months ago

diegomarquezp commented 3 months ago

This is part of the effort to enable multi-version support in hand-written libraries. More context and details in this doc.

This PR adds two workflows and their scripts:

As an example of how they work in practice:

  1. Once per night, update_generation_config creates a PR that updates generation_config.yaml with the latest dependencies and googleapis committish
  2. hermetic_library_generation is triggered by this PR and generates the corresponding code changes. A new commit with the code changes is added to the PR. This step may occur for any PR affecting generation_config.yaml.

Follow ups