You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add "use self-hosted runners" to CI setup (#38779)
* Add "use self-hosted runners" to CI setup
In anticipation of switching commiter PRs to use public runners, we
are adding the feature of applying the "use self-hosted runner" to
a PR to make it use self-hosted runners.
* Update dev/breeze/doc/ci/04_selective_checks.md
Co-authored-by: Pankaj Koti <[email protected]>
* Update dev/breeze/doc/ci/04_selective_checks.md
Co-authored-by: Pankaj Koti <[email protected]>
* Update dev/breeze/doc/ci/04_selective_checks.md
Co-authored-by: Amogh Desai <[email protected]>
* Update dev/breeze/doc/ci/04_selective_checks.md
Co-authored-by: Amogh Desai <[email protected]>
* Update dev/breeze/src/airflow_breeze/utils/selective_checks.py
Co-authored-by: Amogh Desai <[email protected]>
---------
Co-authored-by: Pankaj Koti <[email protected]>
Co-authored-by: Amogh Desai <[email protected]>
(cherry picked from commit d2f11f0)
| canary | is-canary-run | If set, the PR run from apache/airflow repo behaves as `canary` run (can only be run by maintainer). |
304
-
| debug ci resources | debug-ci-resources | If set, then debugging resources is enabled during parallel tests and you can see them in the output. |
305
-
| default versions only | all-versions, *-versions-*| If set, the number of Python and Kubernetes, DB versions used by the build will be limited to the default ones. |
306
-
| disable image cache | docker-cache | If set, the image cache is disables when building the image. |
307
-
| include success outputs | include-success-outputs | By default, outputs of successful parallel tests are not shown - enabling this flag will make then shown. |
308
-
| latest versions only |*-versions-*, *-versions-*| If set, the number of Python, Kubernetes, DB versions used by the build will be limited to the latest ones. |
309
-
| all versions | all-versions, *-versions-*| Run tests for all python and k8s versions. |
310
-
| full tests needed | full-tests-needed | Run complete set of tests (might be with default or all python/k8s versions) |
311
-
| non committer build | is-committer-build | If set then even for non-committer builds, the scripts used for images are used from target branch. |
312
-
| upgrade to newer dependencies | upgrade-to-newer-dependencies | If set to true (default false) then dependencies in the CI image build are upgraded to the newer ones. |
313
-
| use public runners | runs-on-as-json-default | Force using public runners even for Committer runs. |
314
-
308
+
This table summarizes the labels you can use on PRs to control the selective checks and the CI runs:
| canary | is-canary-run | If set, the PR run from apache/airflow repo behaves as `canary` run. |
315
+
| debug ci resources | debug-ci-resources | If set, then debugging resources is enabled during parallel tests and you can see them. |
316
+
| default versions only | all-versions, *-versions-*| If set, the number of Python and Kubernetes, DB versions are limited to the default ones. |
317
+
| disable image cache | docker-cache | If set, the image cache is disables when building the image. |
318
+
| full tests needed | full-tests-needed | If set, complete set of tests are run |
319
+
| include success outputs | include-success-outputs | If set, outputs of successful parallel tests are shown not only failed outputs. |
320
+
| latest versions only |*-versions-*, *-versions-*| If set, the number of Python, Kubernetes, DB versions will be limited to the latest ones. |
321
+
| non committer build | is-committer-build | If set, the scripts used for images are used from target branch for committers. |
322
+
| upgrade to newer dependencies | upgrade-to-newer-dependencies | If set to true (default false) then dependencies in the CI image build are upgraded. |
323
+
| use public runners | runs-on-as-json-default | Force using public runners as default runners. |
324
+
| use self-hosted runners | runs-on-as-json-default | Force using self-hosted runners as default runners. |
0 commit comments