Skip to content
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

Enable non-org autoscaler to read scale-config from any repo #5767

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ZainRizvi
Copy link
Contributor

@ZainRizvi ZainRizvi commented Oct 15, 2024

Enable putting scale-config in test-infra, even for non-organization runners.

Significant change:

  • scale_config_repo no longer defaults to test-infra. You now have to specify a value if you're using org runners. Non-org runners will default to the job's repo. pytorch-gha-infra and ci-infra will need to be updated accordingly.

TODO: Validate tests

Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
torchci ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2024 6:16pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 15, 2024
@@ -60,7 +60,7 @@ export async function scaleUp(
const runnerTypes = await getRunnerTypes(
{
owner: repo.owner,
repo: Config.Instance.enableOrganizationRunners ? Config.Instance.scaleConfigRepo : repo.repo,
repo: Config.Instance.scaleConfigRepo || repo.repo,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space before Config :)

@jeanschmidt
Copy link
Contributor

Overall I do like the approach :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants