-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Yaml templates sharing container image #3268
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
Conversation
Summary of ChangesHello @Abacn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request implements a crucial enhancement for Dataflow YAML templates, enabling them to share a common container image. This is achieved by introducing a dynamic mechanism for the Python launcher to identify and load the appropriate YAML definition at runtime, supported by a centralized system for managing container-specific resources and an index file within the container. The change streamlines the deployment process and improves efficiency for YAML-based pipelines. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3268 +/- ##
============================================
- Coverage 50.94% 50.92% -0.02%
- Complexity 5159 5546 +387
============================================
Files 977 979 +2
Lines 60405 60553 +148
Branches 6608 6634 +26
============================================
+ Hits 30772 30837 +65
- Misses 27479 27547 +68
- Partials 2154 2169 +15
🚀 New features to boost your workflow:
|
a8c7f60 to
a857c68
Compare
...es-maven-plugin/src/main/java/com/google/cloud/teleport/plugin/maven/TemplatesStageMojo.java
Show resolved
Hide resolved
|
R: @derrickaw |
|
The latest commit fixed an edge case preventing container compatibility check working when a compatible template came first then an incompatible one reuse container (not happening in current Templates). KafkaToIceberg Yaml test failed with managed transform launcher fail, a combination of b/479594634 (serverless launcher failing) and stock out of the region (GCE launcher cannot be provisioned) caused the issue, not related to this change update: second attempt failed one test, same reason: |
|
It appears this PR triggered a weird bug of template parameter corruption: https://github.com/GoogleCloudPlatform/DataflowTemplates/actions/runs/21535675203 checking the template json, this PR caused json fields ordered alphabetically. Previously now This is due to a line added during debugging forgot to remove: https://github.com/GoogleCloudPlatform/DataflowTemplates/pull/3268/changes#diff-e974a7cb17b5eaece9f4bf8e4c0952d47a5de1313b51a8ac51fe0e872c3240f9R598 causing template spec file not overriden (and latter steps, e.g. SBOM/scanning skipped. Though there were not enabled in test run either) This should still work as templates is built via EDIT: reverting this PR the test failure persists: go/templates-pr/3286 |
Part of #2279