-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Simply changing GH Actions runner #17788
Simply changing GH Actions runner #17788
Conversation
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
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 should probably do the same thing for test/templates/unit_test.tpl
and test/templates/cluster_vitess_tester.tpl
to be more consistent.
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
@frouioui good idea, I made that update and get these errors. I wondered if they make sense to you: tim@Tims-MacBook-Pro vitess % make generate_ci_workflows >/dev/null
2025/02/14 00:54:09 Error: template: unit_test.tpl:17:15: executing "unit_test.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.unitTest
2025/02/14 00:54:09 Error: template: unit_test.tpl:17:15: executing "unit_test.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.unitTest
2025/02/14 00:54:09 Error: template: unit_test.tpl:17:15: executing "unit_test.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.unitTest
2025/02/14 00:54:09 Error: template: unit_test.tpl:17:15: executing "unit_test.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.unitTest
2025/02/14 00:54:09 Error: template: unit_test.tpl:17:15: executing "unit_test.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.unitTest
2025/02/14 00:54:09 Error: template: unit_test.tpl:17:15: executing "unit_test.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.unitTest
2025/02/14 00:54:09 Error: template: cluster_vitess_tester.tpl:17:15: executing "cluster_vitess_tester.tpl" at <.RunsOn>: can't evaluate field RunsOn in type *main.vitessTesterTest |
@timvaillancourt, similarly to They both use the structs |
Thanks @frouioui, I founds those and my latest commit fixed things As expected tim@Tims-MacBook-Pro vitess % make generate_ci_workflows >/dev/null
tim@Tims-MacBook-Pro vitess % echo $?
0
tim@Tims-MacBook-Pro vitess % git diff
tim@Tims-MacBook-Pro vitess % |
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Description
This small tweak to
test/ci_workflow_gen.go
makes it more straightforward for forks ofvitessio/vitess
to modify the GitHub Actions runner used for heavier CI jobs (modify theconst cores16RunnerName
)Related Issue(s)
Checklist
Deployment Notes