-
Notifications
You must be signed in to change notification settings - Fork 30
feat(templates): support same-repo templates using build commit #713
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
Codecov Report
@@ Coverage Diff @@
## main #713 +/- ##
=======================================
Coverage 54.79% 54.79%
=======================================
Files 216 216
Lines 16015 16046 +31
=======================================
+ Hits 8776 8793 +17
- Misses 6857 6869 +12
- Partials 382 384 +2
|
|
@ecrupper I feel like we should have the |
Naming is definitely a pain point with this PR 😅 . I agree |
cognifloyd
left a comment
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.
Very nice!
I think we should stick with commit (or something similar) that does not mention github. See my comment.
I have one nitpick about the test. Otherwise, I say this is good to go!
|
this would be really nice for local pipeline execution via |
Is that what server/compiler/native/expand.go Lines 170 to 179 in 5693244
I kind of like |
busted! forgot about that. 🫣 |
|
@cognifloyd i think your feedback is addressed @ecrupper we will need to add to docs too |
When working with templates that are found in the same repo as the Vela file, any live edits to the templates requires the users to reference their specific branch in the templates block. Example:
With this change, users can specify the type
filein their templates block, which will automatically fetch the template from the commit associated with the build. Example: