-
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
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 <[email protected]>
@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 |
Signed-off-by: Tim Vaillancourt <[email protected]>
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 <[email protected]>
* `slack-21.0`: init v21 release Signed-off-by: Tim Vaillancourt <[email protected]> * rm codecov workflow Signed-off-by: Tim Vaillancourt <[email protected]> * add slackhq/vitess-addons token Signed-off-by: Tim Vaillancourt <[email protected]> * use Cores16 logic in test/ci_workflow_gen.go Signed-off-by: Tim Vaillancourt <[email protected]> * simplify Signed-off-by: Tim Vaillancourt <[email protected]> * Simply changing GH Actions runner (vitessio#17788) Signed-off-by: Tim Vaillancourt <[email protected]> * fix ci files Signed-off-by: Tim Vaillancourt <[email protected]> * add comment Signed-off-by: Tim Vaillancourt <[email protected]> * add private repo token Signed-off-by: Tim Vaillancourt <[email protected]> * fix env Signed-off-by: Tim Vaillancourt <[email protected]> * more private repo config Signed-off-by: Tim Vaillancourt <[email protected]> * update templates Signed-off-by: Tim Vaillancourt <[email protected]> * quote GOPRIVATE Signed-off-by: Tim Vaillancourt <[email protected]> * nit: move new `const`s to own section (vitessio#17802) Signed-off-by: Tim Vaillancourt <[email protected]> * use runner `vitess-ubuntu24-16cpu-1` Signed-off-by: Tim Vaillancourt <[email protected]> * dont make PAT token an env var Signed-off-by: Tim Vaillancourt <[email protected]> * Add support for `GOPRIVATE` in CI templates Signed-off-by: Tim Vaillancourt <[email protected]> * set `goPrivate` Signed-off-by: Tim Vaillancourt <[email protected]> * empty commit to trigger ci Signed-off-by: Tim Vaillancourt <[email protected]> * improve skip logic in TestSemiSyncUpgradeDowngrade Signed-off-by: Tim Vaillancourt <[email protected]> * fix import Signed-off-by: Tim Vaillancourt <[email protected]> --------- Signed-off-by: Tim Vaillancourt <[email protected]>
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