From f5fcdb80305106864af4a4ab9febd57d4ac3a70b Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Tue, 17 Jan 2017 18:51:42 +0100 Subject: [PATCH] hashicorp update --- packer.json | 27 +++++++++++++++++++++------ terraform.json | 29 ++++++++++++++++++++++------- vagrant.json | 7 ++++++- vault.json | 23 +++++++++++++++++++---- 4 files changed, 68 insertions(+), 18 deletions(-) diff --git a/packer.json b/packer.json index f112432656..0763fafb91 100644 --- a/packer.json +++ b/packer.json @@ -3,20 +3,35 @@ "license": "Mozilla Public License 2.0", "version": "0.12.1", "architecture": { - "32bit": { - "url": "https://releases.hashicorp.com/packer/0.12.1/packer_0.12.1_windows_386.zip", - "hash": "31548ff65ce8a2c8aa82ed798f993cdd0f2616920ebda7f275c030dd36256ded" - }, "64bit": { "url": "https://releases.hashicorp.com/packer/0.12.1/packer_0.12.1_windows_amd64.zip", "hash": "d6efb1f4dd5bce2bad30f5e767648e27c0591f2978d322a9f2d7055a46ecea0b" + }, + "32bit": { + "url": "https://releases.hashicorp.com/packer/0.12.1/packer_0.12.1_windows_386.zip", + "hash": "31548ff65ce8a2c8aa82ed798f993cdd0f2616920ebda7f275c030dd36256ded" } }, "bin": [ "packer.exe" ], "checkver": { - "url": "https://www.packer.io/downloads.html", - "re": "Latest version: ([\\d.]+)" + "url": "https://releases.hashicorp.com/packer/", + "re": "packer_([\\d.]+)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://releases.hashicorp.com/packer/$version/packer_$version_windows_amd64.zip" + }, + "32bit": { + "url": "https://releases.hashicorp.com/packer/$version/packer_$version_windows_386.zip" + } + }, + "hash": { + "mode": "extract", + "url": "https://releases.hashicorp.com/packer/$version/packer_$version_SHA256SUMS", + "find": "([a-z0-9]{64})\\s+(?:$basename)" + } } } diff --git a/terraform.json b/terraform.json index 067cf4dfa7..c2497c3d47 100644 --- a/terraform.json +++ b/terraform.json @@ -1,15 +1,15 @@ { "homepage": "https://www.terraform.io", "license": "Mozilla Public License 2.0", - "version": "0.8.2", + "version": "0.8.4", "architecture": { - "32bit": { - "url": "https://releases.hashicorp.com/terraform/0.8.2/terraform_0.8.2_windows_386.zip", - "hash": "dbc605a20d1d59cf4184e23d641cc59523aec8908e3356e032044f9777246f03" - }, "64bit": { - "url": "https://releases.hashicorp.com/terraform/0.8.2/terraform_0.8.2_windows_amd64.zip", - "hash": "e1166534f77c89f742a5ae2549f2b9dfe2491bd36ba771ed2a88d5e16508e7e2" + "url": "https://releases.hashicorp.com/terraform/0.8.4/terraform_0.8.4_windows_amd64.zip", + "hash": "4e1f5ec48c943969a2989f2b8060cd2065cc6d7e1987c0d01875ecbd219b98a3" + }, + "32bit": { + "url": "https://releases.hashicorp.com/terraform/0.8.4/terraform_0.8.4_windows_386.zip", + "hash": "ebb6119a9009bbb28d59177d6db4a737408755c6738e37021f031cbe1194e7f3" } }, "bin": [ @@ -18,5 +18,20 @@ "checkver": { "url": "https://releases.hashicorp.com/terraform/", "re": "terraform_([\\d.]+)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://releases.hashicorp.com/terraform/$version/terraform_$version_windows_amd64.zip" + }, + "32bit": { + "url": "https://releases.hashicorp.com/terraform/$version/terraform_$version_windows_386.zip" + } + }, + "hash": { + "mode": "extract", + "url": "https://releases.hashicorp.com/terraform/$version/terraform_$version_SHA256SUMS", + "find": "([a-z0-9]{64})\\s+(?:$basename)" + } } } diff --git a/vagrant.json b/vagrant.json index 30f2a21c79..45cfed5319 100644 --- a/vagrant.json +++ b/vagrant.json @@ -11,6 +11,11 @@ "re": "vagrant_([\\d.]+)" }, "autoupdate": { - "url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version.msi" + "url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version.msi", + "hash": { + "mode": "extract", + "url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version_SHA256SUMS", + "find": "([a-z0-9]{64})\\s+(?:$basename)" + } } } diff --git a/vault.json b/vault.json index c4e18a2041..0c28bc6ea3 100644 --- a/vault.json +++ b/vault.json @@ -3,13 +3,13 @@ "license": "Mozilla Public License 2.0", "version": "0.6.4", "architecture": { - "32bit": { - "url": "https://releases.hashicorp.com/vault/0.6.4/vault_0.6.4_windows_386.zip", - "hash": "1a1d2c6eccc9ce2b9e71c83b222cecbaed71036068e5a7744708821eedefa024" - }, "64bit": { "url": "https://releases.hashicorp.com/vault/0.6.4/vault_0.6.4_windows_amd64.zip", "hash": "83db81056e7146513d7a2707ce1b6cf73ae8aa69f942f8cd92da49e1a7de86ca" + }, + "32bit": { + "url": "https://releases.hashicorp.com/vault/0.6.4/vault_0.6.4_windows_386.zip", + "hash": "1a1d2c6eccc9ce2b9e71c83b222cecbaed71036068e5a7744708821eedefa024" } }, "bin": [ @@ -18,5 +18,20 @@ "checkver": { "url": "https://releases.hashicorp.com/vault/", "re": "vault_([\\d.]+)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://releases.hashicorp.com/vault/$version/vault_$version_windows_amd64.zip" + }, + "32bit": { + "url": "https://releases.hashicorp.com/vault/$version/vault_$version_windows_386.zip" + } + }, + "hash": { + "mode": "extract", + "url": "https://releases.hashicorp.com/vault/$version/vault_$version_SHA256SUMS", + "find": "([a-z0-9]{64})\\s+(?:$basename)" + } } }