@@ -25,27 +25,30 @@ jobs:
2525 service_account : ${{ vars.GCP_SERVICE_ACCOUNT }}
2626 - name : Create Runner on GCP
2727 id : create-runner
28- uses : related-sciences/gce-github-runner@315103483ed108ba74207893d8ad328b93b2c07e
28+ uses : related-sciences/gce-github-runner@6e1967dfe347ba04edf59b6d7acc0bafa028642f
2929 with :
3030 token : ${{ steps.app-token.outputs.token }}
3131 vm_name_prefix : gh-create-source
32- image_project : ubuntu-os -cloud
33- image_family : ubuntu-2404-lts-amd64
32+ image_project : debian -cloud
33+ image_family : debian-13
3434 machine_zone : europe-west4-b
3535 machine_type : e2-standard-4
3636 runner_service_account : ${{ vars.RUNNER_GCP_SERVICE_ACCOUNT }}
3737 preemptible : true
3838 ephemeral : true
3939 boot_disk_type : pd-ssd
4040 disk_size : 150GB
41+ pre_startup_script : |
42+ apt-get update
43+ apt-get install -y git curl
44+ # Not yet in debian 13 https://github.com/GoogleCloudPlatform/ops-agent/issues/2060
45+ # curl -sSO https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh
46+ # bash add-google-cloud-ops-agent-repo.sh --also-install
47+ # rm add-google-cloud-ops-agent-repo.sh
4148 export-pgdumps :
4249 needs : create-runner
4350 runs-on : ${{ needs.create-runner.outputs.label }}
4451 steps :
45- - name : Install Ops Agent
46- run : |
47- curl -sSO https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh
48- sudo bash add-google-cloud-ops-agent-repo.sh --also-install
4952 # We are running on barebones VM, so there is more scripting involved
5053 # then needed if we were running on standard GitHub Actions runner.
5154 - name : Checkout source
0 commit comments