Nota:
La compatibilidad con ejecutores más grandes para la configuración predeterminada de code scanning se encuentra actualmente en versión preliminar pública y está sujeta a cambios.
About ejecutores más grandes for default setup
Los clientes de los planes GitHub Team y GitHub Enterprise Cloud pueden elegir entre una variedad de máquinas virtuales administradas que tienen más recursos que los ejecutores estándar hospedados en GitHub. Estas máquinas se denominan "ejecutores más grandes." Ofrecen las siguientes características avanzadas:
- Más RAM, CPU y espacio en disco
- Direcciones IP estáticas
- Redes privadas de Azure
- La capacidad de agrupar ejecutores
- Escalado automático para admitir flujos de trabajo simultáneos
- Ejecutores con tecnología de GPU
Estos ejecutores más grandes están hospedados por GitHub y tienen preinstalada la aplicación de ejecutor y otras herramientas. For more information about ejecutores más grandes, see Ejecutores más grandes.
Consider configuring ejecutores más grandes for default setup if:
- Your scans with standard GitHub-hosted runners are taking too long.
- Your scans with standard GitHub-hosted runners are returning memory or disk errors.
- You want to customize aspects of your code scanning runner like the runner size, runner image, and job concurrency without using self-hosted runners.
Advertencia
Currently, Swift analysis is not available on ejecutores más grandes for default setup. Additionally, if your repository has access to a runner with the code-scanning label, such as a ejecutor más grande provisioned for default setup, default setup workflows will only use runners labeled code-scanning. If you would like to configure default setup on ejecutores más grandes and analyze Swift, you have two options:
- Provision a self-hosted macOS runner with the
code-scanninglabel in addition to your ejecutor más grande. For more information, see Configuración de ejecutores de prueba interna para la digitalización de código en la empresa. - Ensure any repositories containing Swift do not have access to runners with the label
code-scanning. Default setup workflows for that repository will only use standard runners.
Provisioning enterprise-level ejecutores más grandes for default setup
- Add a ejecutor más grande to your enterprise. For more information, see Administración de ejecutores más grandes.
- To add the
code-scanninglabel to your ejecutor más grande, name the runnercode-scanning. An enterprise can only have one ejecutor más grande namedcode-scanning, and that runner will handle all code scanning jobs for all organizations and repositories within your enterprise that:- Have access to the enterprise-level runner, and
- Don't have access to an organization-level ejecutor más grande named
code-scanning. If an organization or repository also has access to an organization-level ejecutor más grande namedcode-scanning, each code scanning job will be randomly assigned to either the organization-level or enterprise-level runner.
- To add the
- Para permitir que las organizaciones accedan a los ejecutor más grande, especifica qué organizaciones pueden usar el grupo de ejecutores al que está asignado el ejecutor. Para más información, consulta Control del acceso a los ejecutores más grandes.
- To analyze repositories with default setup, grant the desired repositories access to the runner group your ejecutor más grande is assigned to. For more information, see Administración de ejecutores más grandes.
- You can now configure default setup for your enterprise, organizations, and repositories, and your ejecutor más grande will automatically pick up code scanning jobs as previously specified. For more information on configuring default setup, see Configuring default setup for code scanning and Establecimiento de la configuración predeterminada para el examen de código a gran escala.
Provisioning organization-level ejecutores más grandes for default setup
- Add a ejecutor más grande to your organization. See Administración de ejecutores más grandes.
- To add a custom label to your ejecutor más grande, give the runner a name that matches that label. You can use this custom label when you configure default setup with ejecutores más grandes. For more information, see Configuring default setup for code scanning.
- By default, all repositories in your organization have access to organization-level runners, meaning every repository can use your ejecutor más grande. For information on granting only select repositories access to a ejecutor más grande, see Administración de ejecutores más grandes.
- You can now configure default setup for your organization and repositories, and your ejecutor más grande will automatically pick up code scanning jobs. For more information on configuring default setup, see Configuring default setup for code scanning and Establecimiento de la configuración predeterminada para el examen de código a gran escala.