Salt installer change: standardize on putting the certs directory under
[arvados-dev.git] / jenkins / packer-images / jenkins-image-workbench2.json
1 {
2   "variables": {
3         "key_file": "{{env `packerbuildkey`}}",
4         "git_hash": "{{env `git_hash`}}"
5     },
6   "builders": [
7     {
8       "type": "googlecompute",
9       "account_file": "{{user `key_file` }}",
10       "project_id": "phoenix-project-42-ci",
11       "source_image": "debian-10-buster-v20210916",
12       "zone": "us-central1-b",
13       "disk_size": "20",
14       "image_name": "jenkins-image-workbench2-{{isotime \"20060102150405\"}}",
15       "image_family": "jenkins",
16       "ssh_username": "jenkins"
17     }
18   ],
19   "provisioners": [
20     {
21       "type": "file",
22       "source": "node-ready.sh",
23       "destination": "/tmp/node-ready.sh"
24     },
25     {
26       "type": "shell",
27       "script": "./jenkins-image-common.sh"
28     },
29     {
30       "type": "shell",
31       "script": "./jenkins-image-with-docker.sh"
32     },
33     {
34       "type": "shell",
35       "environment_vars": [
36         "GIT_HASH={{ user `git_hash` }}"
37       ],
38       "script": "./jenkins-image-workbench2.sh"
39     }
40   ]
41 }