From 8b7a82c0e103b99d4769850158954384294bad2f Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 9 Jan 2018 10:22:16 -0500 Subject: [PATCH] Remove autorelease template Originally thought we might need this in Vexxhost due to the volume requirements with performance nodes however we figured out a way around it so this can be removed. Change-Id: I2c4db835e14d2e648d9fc5108d1489f8df9a06c2 Signed-off-by: Thanh Ha --- packer/templates/autorelease.json | 50 ------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 packer/templates/autorelease.json diff --git a/packer/templates/autorelease.json b/packer/templates/autorelease.json deleted file mode 100644 index 76aef7494..000000000 --- a/packer/templates/autorelease.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "variables": { - "public_base_image": null, - "public_network": null, - "public_cloud_user": null, - "public_auth_url": null, - "public_tenant": null, - "public_user": null, - "public_pass": null, - "distro": null, - "cloud_user_data": null, - "ssh_proxy_host": "" - }, - "builders": [ - { - "type": "openstack", - "identity_endpoint": "{{user `public_auth_url`}}", - "domain_name": "Default", - "tenant_name": "{{user `public_tenant`}}", - "username": "{{user `public_user`}}", - "password": "{{user `public_pass`}}", - "region": "ca-ymq-1", - "availability_zone": "ca-ymq-2", - "ssh_username": "{{user `public_cloud_user`}}", - "ssh_proxy_host": "{{user `ssh_proxy_host`}}", - "image_name": "ZZCI - {{user `distro`}} - autorelease - {{isotime \"20060102-1504\"}}", - "source_image_name": "{{user `public_base_image`}}", - "flavor": "v1-standard-4", - "networks": [ - "{{user `public_network`}}" - ], - "user_data_file": "{{user `cloud_user_data`}}", - "metadata": { - "ci_managed": "yes" - } - } - ], - "provisioners": [ - { - "type": "shell", - "scripts": [ - "provision/baseline.sh", - "provision/java-builder.sh", - "provision/system_reseal_local_env.sh", - "provision/system_reseal.sh" - ], - "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi" - } - ] -} -- 2.36.6