Merge branch '16616-move-jenkins-packer-code'
[arvados-dev.git] / jenkins / packer-images / jenkins-image-tests.json
1 {
2   "variables": {
3         "key_file": "{{env `packerbuildkey`}}"
4     },
5   "builders": [
6     {
7       "type": "googlecompute",
8       "account_file": "{{user `key_file` }}",
9       "project_id": "phoenix-project-42-ci",
10       "source_image": "debian-10-buster-v20200413",
11       "zone": "us-central1-b",
12       "disk_size": "10",
13       "image_name": "run-tests-jenkins-image-{{isotime \"20060102150405\"}}",
14       "image_family": "jenkins",
15       "ssh_username": "jenkins"
16     }
17   ],
18   "provisioners": [
19     {
20       "type": "file",
21       "source": "node-ready.sh",
22       "destination": "/tmp/node-ready.sh"
23     },
24     {
25       "type": "shell",
26       "script": "./jenkins-image-common.sh"
27     },
28     {
29       "type": "shell",
30       "script": "./jenkins-image-tests.sh"
31     }
32   ]
33 }