From 36b62b2be5c4659bfa2b705b6fe0163031916792 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20B=C3=A9rtoli?= Date: Thu, 22 Jul 2021 13:52:41 -0300 Subject: [PATCH] 17535: Add a basic instance template for provision testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Javier Bértoli --- .../jenkins-image-provision.json | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 jenkins/packer-images/jenkins-image-provision.json diff --git a/jenkins/packer-images/jenkins-image-provision.json b/jenkins/packer-images/jenkins-image-provision.json new file mode 100644 index 0000000..eed3101 --- /dev/null +++ b/jenkins/packer-images/jenkins-image-provision.json @@ -0,0 +1,29 @@ +{ + "variables": { + "key_file": "{{env `packerbuildkey`}}", + "source_image": "" + }, + "builders": [ + { + "type": "googlecompute", + "account_file": "{{user `key_file` }}", + "project_id": "phoenix-project-42-ci", + "source_image": "{{user `source_image`}}", + "zone": "us-central1-b", + "disk_size": "20", + "image_name": "jenkins-image-arvados-formula-tests-{{isotime \"20060102150405\"}}", + "image_family": "jenkins", + "ssh_username": "jenkins" + } + ], + "provisioners": [ + { + "type": "file", + "source": "node-ready.sh", + "destination": "/tmp/node-ready.sh" + }, + { + "type": "shell", + "script": "./jenkins-image-common.sh" + ] +} -- 2.30.2