-
Notifications
You must be signed in to change notification settings - Fork 670
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
Add Flyin propeller config #4610
Conversation
…f ArrayNode (#4535)" This reverts commit b50ba87. Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4610 +/- ##
=======================================
Coverage 59.01% 59.02%
=======================================
Files 622 622
Lines 52739 52775 +36
=======================================
+ Hits 31123 31148 +25
- Misses 19133 19140 +7
- Partials 2483 2487 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
IsFlyinEnabled bool `json:"flyin-enabled" pflag:",Enable Log-links to flyin logs"` | ||
FlyinTemplateURI tasklog.TemplateURI `json:"flyin-template-uri" pflag:",Template Uri to use when building flyin log links"` | ||
|
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.
Why is this specific to flyin? This should be a map of string & tasklog.TemplateLogPlugin... task templates should be able to enable any number of them
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.
We sync'd offline and the idea is to make this more extensible by providing a way for tasks to dynamically set log links. I'll be sending a follow up PR shortly.
This reverts commit 3501675. Signed-off-by: Eduardo Apolinario <[email protected]>
Tracking issue
#4284
Why are the changes needed?
We want a way to expose a log link in the case of tasks that use the flyin plugin
What changes were proposed in this pull request?
Expose a
flyin-enabled
pflag and ensure that only tasks that fill the task template with the appropriate config get a Flyin log.How was this patch tested?
Unit tests and a smoke test with single-binary running locally.
Setup process
Screenshots
Ran this workflow:
The task that's using the
@vscode
decorator:And the other task:
Check all the applicable boxes
Related PRs
Docs link