forked from discentem/glazier-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
22 lines (22 loc) · 868 Bytes
/
cloudbuild.yaml
File metadata and controls
22 lines (22 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
substitutions:
_NETWORK: 'default'
_SUBNETWORK: 'default'
_REGION: 'europe-west1'
_ZONE: 'europe-west1-d'
_IMAGE: 'windows-cloud/global/images/windows-server-2022-dc-v20240313'
_MACHINETYPE: 'e2-standard-4'
_SERVICEACCOUNT: ''
_STORAGE_UPLOAD_PATH: ''
_STORAGE_BOOT_UPLOAD_PATH: ''
steps:
- name: 'gcr.io/$PROJECT_ID/windows-builder'
args: [ '--network', '$_NETWORK',
'--subnetwork', '$_SUBNETWORK',
'--region', '$_REGION',
'--zone', '$_ZONE',
'--image', '$_IMAGE',
'--machineType', '$_MACHINETYPE',
'--diskSizeGb', '150',
'--serviceAccount', '$_SERVICEACCOUNT',
'--command', 'powershell.exe -File tools/bootstrap_winpe.ps1 -config_server $_CONFIG_SERVER -storage_upload_path $_STORAGE_UPLOAD_PATH -storage_boot_upload_path $_STORAGE_BOOT_UPLOAD_PATH' ]
timeout: 3600s