2929 - cron : ' 0 0 * * *'
3030
3131jobs :
32- create-runner :
33- uses : gitpod-io/gce-github-runner/.github/workflows/create-vm.yml@main
34- secrets :
35- runner_token : ${{ secrets.SELF_HOSTED_GITHUB_RUNNER_TOKEN }}
36- gcp_credentials : ${{ secrets.SELF_HOSTED_GITHUB_RUNNER_GCP_CREDENTIALS }}
37- concurrency :
38- group : ${{ github.ref == 'refs/heads/main' && github.run_id || github.sha }}-create-runner
39- cancel-in-progress : false
40-
4132 configuration :
4233 name : Configure job parameters
43- runs-on : ${{ needs.create-runner.outputs.label }}
44- needs : [ create-runner ]
34+ runs-on : ubuntu-latest
4535 concurrency :
4636 group : ${{ github.ref == 'refs/heads/main' && github.run_id || github.sha }}-configuration
4737 cancel-in-progress : true
@@ -112,11 +102,11 @@ jobs:
112102 (needs.configuration.outputs.pr_no_diff_skip != 'true') &&
113103 (needs.configuration.outputs.preview_enable == 'true') &&
114104 (needs.configuration.outputs.is_scheduled_run != 'true')
115- needs : [ configuration, create-runner ]
105+ needs : [ configuration ]
116106 concurrency :
117107 group : ${{ github.ref == 'refs/heads/main' && github.run_id || github.sha }}-build-previewctl
118108 cancel-in-progress : ${{ needs.configuration.outputs.is_main_branch == 'false' }}
119- runs-on : ${{ needs.create-runner.outputs.label }}
109+ runs-on : ubuntu-latest
120110 container :
121111 image : eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.33389
122112 steps :
@@ -135,13 +125,13 @@ jobs:
135125 run : |
136126 leeway build dev/preview/previewctl:cli --cache remote
137127 infrastructure :
138- needs : [ configuration, build-previewctl, create-runner ]
128+ needs : [ configuration, build-previewctl ]
139129 if : |
140130 (needs.configuration.outputs.pr_no_diff_skip != 'true') &&
141131 (needs.configuration.outputs.preview_enable == 'true') &&
142132 (needs.configuration.outputs.is_main_branch != 'true') &&
143133 (needs.configuration.outputs.is_scheduled_run != 'true')
144- runs-on : ${{ needs.create-runner.outputs.label }}
134+ runs-on : ubuntu-latest
145135 concurrency :
146136 group : ${{ github.ref == 'refs/heads/main' && github.run_id || github.sha }}-infrastructure
147137 cancel-in-progress : true
@@ -166,8 +156,8 @@ jobs:
166156
167157 build-gitpod :
168158 name : Build Gitpod
169- needs : [ configuration, create-runner ]
170- runs-on : ${{ needs.create-runner.outputs.label }}
159+ needs : [ configuration ]
160+ runs-on : ubuntu-latest
171161 outputs :
172162 affected_packages : ${{ steps.check_vulnerabilities.outputs.affected_packages }}
173163 concurrency :
@@ -399,8 +389,8 @@ jobs:
399389 name : vulnerability-reports
400390 path : ${{ steps.scan.outputs.leeway_vulnerability_reports_dir }}
401391 install-app :
402- runs-on : ${{ needs.create-runner.outputs.label }}
403- needs : [ configuration, build-gitpod, create-runner ]
392+ runs-on : ubuntu-latest
393+ needs : [ configuration, build-gitpod ]
404394 if : ${{ needs.configuration.outputs.is_main_branch == 'true' && needs.configuration.outputs.is_scheduled_run != 'true' }}
405395 strategy :
406396 fail-fast : false
@@ -439,9 +429,8 @@ jobs:
439429 - build-previewctl
440430 - build-gitpod
441431 - infrastructure
442- - create-runner
443432 if : needs.configuration.outputs.is_scheduled_run != 'true'
444- runs-on : ${{ needs.create-runner.outputs.label }}
433+ runs-on : ubuntu-latest
445434 concurrency :
446435 group : ${{ github.ref == 'refs/heads/main' && github.run_id || github.sha }}-install
447436 cancel-in-progress : ${{ needs.configuration.outputs.is_main_branch == 'false' }}
@@ -489,8 +478,8 @@ jobs:
489478
490479 monitoring :
491480 name : " Install Monitoring Satellite"
492- needs : [ infrastructure, build-previewctl, create-runner ]
493- runs-on : ${{ needs.create-runner.outputs.label }}
481+ needs : [ infrastructure, build-previewctl ]
482+ runs-on : ubuntu-latest
494483 if : needs.configuration.outputs.with_monitoring == 'true' && needs.configuration.outputs.is_scheduled_run != 'true'
495484 concurrency :
496485 group : ${{ github.ref == 'refs/heads/main' && github.run_id || github.sha }}-monitoring
@@ -518,8 +507,7 @@ jobs:
518507 - build-gitpod
519508 - infrastructure
520509 - install
521- - create-runner
522- runs-on : ${{ needs.create-runner.outputs.label }}
510+ runs-on : ubuntu-latest
523511 container :
524512 image : eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.33389
525513 if : needs.configuration.outputs.with_integration_tests != '' && needs.configuration.outputs.is_scheduled_run != 'true'
@@ -551,7 +539,6 @@ jobs:
551539 needs :
552540 - configuration
553541 - build-gitpod
554- - create-runner
555542 if : needs.configuration.outputs.is_main_branch == 'true' && needs.configuration.outputs.is_scheduled_run != 'true'
556543 uses : ./.github/workflows/workspace-integration-tests.yml
557544 with :
@@ -563,7 +550,6 @@ jobs:
563550 needs :
564551 - configuration
565552 - build-gitpod
566- - create-runner
567553 if : needs.configuration.outputs.is_main_branch == 'true' && needs.configuration.outputs.is_scheduled_run != 'true'
568554 uses : ./.github/workflows/code-updates.yml
569555 secrets : inherit
@@ -573,7 +559,6 @@ jobs:
573559 needs :
574560 - configuration
575561 - build-gitpod
576- - create-runner
577562 if : needs.configuration.outputs.is_main_branch == 'true' && needs.configuration.outputs.is_scheduled_run != 'true'
578563 uses : ./.github/workflows/jetbrains-updates.yml
579564 secrets : inherit
@@ -598,23 +583,3 @@ jobs:
598583 SLACK_COLOR : " danger"
599584 SLACK_MESSAGE : " ⚠️ Security Alert: Daily vulnerability scan detected critical vulnerabilities in the following packages:\n ${{ needs.build-gitpod.outputs.affected_packages }}"
600585 SLACK_FOOTER : " <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Workflow Logs>"
601-
602- delete-runner :
603- if : always()
604- needs :
605- - create-runner
606- - configuration
607- - build-previewctl
608- - infrastructure
609- - build-gitpod
610- - install-app
611- - install
612- - monitoring
613- - integration-test
614- - notify-scheduled-failure
615- uses : gitpod-io/gce-github-runner/.github/workflows/delete-vm.yml@main
616- secrets :
617- gcp_credentials : ${{ secrets.SELF_HOSTED_GITHUB_RUNNER_GCP_CREDENTIALS }}
618- with :
619- runner-label : ${{ needs.create-runner.outputs.label }}
620- machine-zone : ${{ needs.create-runner.outputs.machine-zone }}
0 commit comments