Skip to content

Commit e105985

Browse files
committed
feat: make 'Release' workflow use disks config
Data and boot disks are fully configurable.
1 parent f5d9a4b commit e105985

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ jobs:
9292
google_zone: europe-west1-b
9393
google_machine_type: e2-highmem-2
9494
google_compute_instance_boot_disk_size: 200
95+
google_compute_instance_boot_disk_type: pd-standard
9596
google_compute_instance_data_disk_size: 250
97+
google_compute_instance_data_disk_type: pd-standard
9698
- environment: release-mainnet
9799
environment_prefix: release
98100
cardano_network: mainnet
@@ -110,7 +112,9 @@ jobs:
110112
google_zone: europe-west1-b
111113
google_machine_type: e2-highmem-8
112114
google_compute_instance_boot_disk_size: 250
115+
google_compute_instance_boot_disk_type: pd-standard
113116
google_compute_instance_data_disk_size: 1000
117+
google_compute_instance_data_disk_type: pd-standard
114118

115119
environment: ${{ matrix.environment }}
116120
runs-on: ubuntu-22.04
@@ -140,7 +144,10 @@ jobs:
140144
google_zone: ${{ matrix.google_zone }}
141145
google_machine_type: ${{ matrix.google_machine_type }}
142146
google_compute_instance_boot_disk_size: ${{ matrix.google_compute_instance_boot_disk_size }}
147+
google_compute_instance_boot_disk_type: ${{ matrix.google_compute_instance_boot_disk_type }}
143148
google_compute_instance_data_disk_size: ${{ matrix.google_compute_instance_data_disk_size }}
149+
google_compute_instance_data_disk_type: ${{ matrix.google_compute_instance_data_disk_type }}
150+
google_compute_instance_data_disk_snapshot: ${{ vars.GOOGLE_COMPUTE_INSTANCE_DATA_DISK_SNAPSHOT }}
144151
google_application_credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
145152
mithril_api_domain: ${{ matrix.mithril_api_domain }}
146153
mithril_image_id: ${{ env.DOCKER_IMAGE_ID }}

0 commit comments

Comments
 (0)