Open arthurschreiber opened 6 days ago
Hello reviewers! :wave: Please follow this checklist when reviewing this Pull Request.
release notes (needs details)
label if users need to know about this change.-
), and have a clear help text.Jobs
should be named in order to mark it as required
.required
, the maintainer team must be notified._vt
tables and RPCs need to be backward compatible.vtctl
command output order should be stable and awk
-able.All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.40%. Comparing base (
3499a77
) to head (4110979
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
cc @timvaillancourt as you might be interested in this as well.
@arthurschreiber thanks, I was thinking of adding the same - we have to patch this manually, as I suspect you're doing
This gave me an idea, would it make things easier for the upstream repo if gh-hosted-runners-16cores-1
was a GitHub action variable/secret? Or if this selection was triggered by the existence of it? 🤔
This gave me an idea, would it make things easier for the upstream repo if
gh-hosted-runners-16cores-1
was a GitHub action variable/secret? Or if this selection was triggered by the existence of it? 🤔
Not sure if that makes it easier. I doubt the value of this changes often, and putting it into a variable / secret just adds another step? But @frouioui and others might have a different opinion.
@timvaillancourt, I agree with @arthurschreiber, I feel like having an environment variable would make it more complicated as new forks will have to figure out they need to set one. We could have a default value, but if we change it upstream, forks using the environment variable will have to be up-to-date with what the recommended OS is.
We'll be fine continuing to patch, but on our fork we use neither gh-hosted-runners-16cores-1
or ubuntu-latest
as the runner name/group
EDIT/context: we run a paid GitHub Actions runner that made our CI much more stable (vs free public tier)
Description
We (GitHub) and other members of the community maintain our own Vitess fork. We rely on the CI builds to ensure that when we backport changes into our fork, we don't introduce any bugs or other issues.
We only have access to the "normal" runner types, and don't have access to
gh-hosted-runners-16cores-1
, which is specific to thevitessio
organization and I guess is provided by CNCF.By checking whether a workflow runs in the scope of the
vitessio
organization, and then deciding betweengh-hosted-runners-16cores-1
or the regularubuntu-latest
runners, we can allow workflows to run in forks of the vitess repo as well.cc
@timvaillancourt as you might be interested in this as well.I'd like to see this backported in all supported branches, as this will make my live considerably easier without having any real impact on the upstream Vitess repository. 😅
Related Issue(s)
N/A
Checklist
Deployment Notes