update all plugins + pin go to go 1.17 (#11237)

* up plugins and get rid of a dependency loop from packer to packer
pull/11251/head
Adrien Delorme 5 years ago committed by GitHub
parent 8e026209da
commit 27d89ac8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ version: 2.1
executors:
golang:
docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.16
- image: docker.mirror.hashicorp.services/circleci/golang:1.17
resource_class: medium+
darwin:
macos:
@ -69,14 +69,14 @@ jobs:
steps:
- install-go-run-tests-unix:
GOOS: darwin
GOVERSION: "1.16"
GOVERSION: "1.17"
test-windows:
executor:
name: win/vs2019
shell: bash.exe
steps:
- install-go-run-tests-windows:
GOVERSION: "1.16"
GOVERSION: "1.17"
check-lint:
executor: golang
resource_class: xlarge

@ -1,3 +1,4 @@
//go:build !openbsd
// +build !openbsd
package main

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux || netbsd || openbsd || solaris
// +build darwin freebsd linux netbsd openbsd solaris
package command

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package command

@ -6,7 +6,7 @@ import (
// Previously core-bundled components, split into their own plugins but
// still vendored with Packer for now. Importing as library instead of
// forcing use of packer init, until packer v1.8.0
exoscaleimportpostprocessor "github.com/exoscale/packer-plugin-exoscale/post-processor/exoscale-import"
alicloudecsbuilder "github.com/hashicorp/packer-plugin-alicloud/builder/ecs"
alicloudimportpostprocessor "github.com/hashicorp/packer-plugin-alicloud/post-processor/alicloud-import"
amazonchrootbuilder "github.com/hashicorp/packer-plugin-amazon/builder/chroot"
@ -173,7 +173,6 @@ var VendoredPostProcessors = map[string]packersdk.PostProcessor{
"docker-push": new(dockerpushpostprocessor.PostProcessor),
"docker-save": new(dockersavepostprocessor.PostProcessor),
"docker-tag": new(dockertagpostprocessor.PostProcessor),
"exoscale-import": new(exoscaleimportpostprocessor.PostProcessor),
"googlecompute-export": new(googlecomputeexportpostprocessor.PostProcessor),
"googlecompute-import": new(googlecomputeimportpostprocessor.PostProcessor),
"ucloud-import": new(ucloudimportpostprocessor.PostProcessor),

224
go.mod

@ -1,40 +1,68 @@
module github.com/hashicorp/packer
require (
cloud.google.com/go/storage v1.16.1 // indirect
github.com/Azure/azure-sdk-for-go v57.0.0+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.11.20 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.15 // indirect
github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 // indirect
github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 // indirect
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/biogo/hts v0.0.0-20160420073057-50da7d4131a3
github.com/Telmate/proxmox-api-go v0.0.0-20210825163308-5e4c0d698a78 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1244 // indirect
github.com/aliyun/aliyun-oss-go-sdk v2.1.10+incompatible // indirect
github.com/armon/go-metrics v0.3.9 // indirect
github.com/aws/aws-sdk-go v1.40.34 // indirect
github.com/biogo/hts v1.4.3
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cheggaaa/pb v1.0.27
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/digitalocean/go-libvirt v0.0.0-20210723161134-761cfeeb5968 // indirect
github.com/dsnet/compress v0.0.1
github.com/exoscale/packer-plugin-exoscale v0.1.1
github.com/fatih/color v1.12.0 // indirect
github.com/go-git/go-git/v5 v5.4.2
github.com/go-openapi/runtime v0.19.24
github.com/gobwas/glob v0.2.3
github.com/gofrs/flock v0.8.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.5.6
github.com/google/go-github/v33 v33.0.1-0.20210113204525-9318e629ec69
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/hako/durafmt v0.0.0-20200710122514-c0fb7b4da026
github.com/hashicorp/consul/api v1.10.1 // indirect
github.com/hashicorp/go-checkpoint v0.0.0-20171009173528-1545e56e46de
github.com/hashicorp/go-cty-funcs v0.0.0-20200930094925-2721b1e36840
github.com/hashicorp/go-getter/v2 v2.0.0
github.com/hashicorp/go-hclog v0.16.2 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/hashicorp/go-uuid v1.0.2
github.com/hashicorp/go-version v1.3.0
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl/v2 v2.10.1
github.com/hashicorp/hcp-sdk-go v0.10.1-0.20210727200019-239ce8d80646
github.com/hashicorp/packer-plugin-alicloud v1.0.0
github.com/hashicorp/packer-plugin-amazon v1.0.1-dev
github.com/hashicorp/packer-plugin-ansible v1.0.0
github.com/hashicorp/packer-plugin-azure v1.0.1
github.com/hashicorp/packer-plugin-azure v1.0.2
github.com/hashicorp/packer-plugin-chef v1.0.1
github.com/hashicorp/packer-plugin-cloudstack v1.0.0
github.com/hashicorp/packer-plugin-converge v1.0.0
github.com/hashicorp/packer-plugin-digitalocean v1.0.0
github.com/hashicorp/packer-plugin-digitalocean v1.0.1
github.com/hashicorp/packer-plugin-docker v1.0.1
github.com/hashicorp/packer-plugin-googlecompute v1.0.2
github.com/hashicorp/packer-plugin-hcloud v1.0.0
github.com/hashicorp/packer-plugin-googlecompute v1.0.4
github.com/hashicorp/packer-plugin-hcloud v1.0.1
github.com/hashicorp/packer-plugin-hyperone v1.0.0
github.com/hashicorp/packer-plugin-hyperv v1.0.0
github.com/hashicorp/packer-plugin-inspec v0.0.1
github.com/hashicorp/packer-plugin-inspec v0.0.7
github.com/hashicorp/packer-plugin-jdcloud v1.0.0
github.com/hashicorp/packer-plugin-linode v1.0.0
github.com/hashicorp/packer-plugin-lxc v1.0.0
@ -42,46 +70,192 @@ require (
github.com/hashicorp/packer-plugin-ncloud v1.0.1
github.com/hashicorp/packer-plugin-oneandone v1.0.0
github.com/hashicorp/packer-plugin-openstack v1.0.0
github.com/hashicorp/packer-plugin-oracle v1.0.0
github.com/hashicorp/packer-plugin-oracle v1.0.1
github.com/hashicorp/packer-plugin-outscale v1.0.1
github.com/hashicorp/packer-plugin-parallels v1.0.0
github.com/hashicorp/packer-plugin-profitbricks v1.0.1
github.com/hashicorp/packer-plugin-proxmox v1.0.0
github.com/hashicorp/packer-plugin-proxmox v1.0.2
github.com/hashicorp/packer-plugin-puppet v1.0.0
github.com/hashicorp/packer-plugin-qemu v1.0.0
github.com/hashicorp/packer-plugin-salt v0.0.2
github.com/hashicorp/packer-plugin-scaleway v1.0.1
github.com/hashicorp/packer-plugin-sdk v0.2.3
github.com/hashicorp/packer-plugin-salt v0.0.8
github.com/hashicorp/packer-plugin-scaleway v1.0.3
github.com/hashicorp/packer-plugin-sdk v0.2.4
github.com/hashicorp/packer-plugin-tencentcloud v1.0.1
github.com/hashicorp/packer-plugin-triton v1.0.0
github.com/hashicorp/packer-plugin-ucloud v1.0.0
github.com/hashicorp/packer-plugin-vagrant v1.0.0
github.com/hashicorp/packer-plugin-virtualbox v1.0.0
github.com/hashicorp/packer-plugin-vmware v1.0.0
github.com/hashicorp/packer-plugin-vsphere v1.0.0
github.com/hashicorp/packer-plugin-yandex v1.0.0
github.com/hashicorp/packer-plugin-vmware v1.0.3
github.com/hashicorp/packer-plugin-vsphere v1.0.1
github.com/hashicorp/packer-plugin-yandex v1.0.2
github.com/hashicorp/yamux v0.0.0-20210826001029-26ff87cf9493 // indirect
github.com/hetznercloud/hcloud-go v1.32.0 // indirect
github.com/jehiah/go-strftime v0.0.0-20171201141054-1d33003b3869
github.com/klauspost/pgzip v0.0.0-20151221113845-47f36e165cec
github.com/masterzen/winrm v0.0.0-20210504160029-28ed956f5227
github.com/klauspost/compress v1.13.5 // indirect
github.com/klauspost/pgzip v1.2.5
github.com/masterzen/winrm v0.0.0-20210623064412-3b76017826b0
github.com/mattn/go-isatty v0.0.13 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mattn/go-tty v0.0.0-20191112051231-74040eebce08
github.com/mitchellh/cli v1.1.0
github.com/mitchellh/go-fs v0.0.0-20180402235330-b7b9ca407fff // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.4.1
github.com/mitchellh/panicwrap v1.0.0
github.com/mitchellh/prefixedio v0.0.0-20151214002211-6e6954073784
github.com/pierrec/lz4 v2.5.2+incompatible
github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db // indirect
github.com/pierrec/lz4 v2.6.1+incompatible
github.com/pkg/sftp v1.13.2 // indirect
github.com/posener/complete v1.2.3
github.com/prometheus/common v0.30.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/shirou/gopsutil v3.21.1+incompatible
github.com/stretchr/testify v1.7.0
github.com/ulikunitz/xz v0.5.8
github.com/tencentcloud/tencentcloud-sdk-go v3.0.233+incompatible // indirect
github.com/ulikunitz/xz v0.5.10
github.com/vmware/govmomi v0.26.1 // indirect
github.com/yandex-cloud/go-sdk v0.0.0-20210824141121-182aedd44a25 // indirect
github.com/zclconf/go-cty v1.9.1
github.com/zclconf/go-cty-yaml v1.0.1
golang.org/x/mod v0.4.1
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
golang.org/x/mobile v0.0.0-20210901025245-1fde1d6c3ca1 // indirect
golang.org/x/mod v0.5.0
golang.org/x/net v0.0.0-20210825183410-e898025ed96a
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/tools v0.1.0
google.golang.org/grpc v1.36.1
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e // indirect
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
golang.org/x/tools v0.1.5
google.golang.org/api v0.56.0 // indirect
google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2 // indirect
google.golang.org/grpc v1.40.0
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
)
go 1.16
require (
cloud.google.com/go v0.94.0 // indirect
github.com/1and1/oneandone-cloudserver-sdk-go v1.0.1 // indirect
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect
github.com/Microsoft/go-winio v0.4.16 // indirect
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.2.0 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/antihax/optional v1.0.0 // indirect
github.com/apparentlymart/go-cidr v1.0.1 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/bmatcuk/doublestar v1.1.5 // indirect
github.com/c2h5oh/datasize v0.0.0-20200825124411-48ed595a09d2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001 // indirect
github.com/digitalocean/godo v1.65.0 // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
github.com/dylanmei/iso8601 v0.1.0 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.3.1 // indirect
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/go-openapi/analysis v0.20.0 // indirect
github.com/go-openapi/errors v0.19.9 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/loads v0.20.2 // indirect
github.com/go-openapi/spec v0.20.3 // indirect
github.com/go-openapi/strfmt v0.20.0 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/go-openapi/validate v0.20.2 // indirect
github.com/go-ozzo/ozzo-validation v3.6.0+incompatible // indirect
github.com/go-resty/resty/v2 v2.6.0 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/gofrs/uuid v4.0.0+incompatible // indirect
github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3 // indirect
github.com/golang-jwt/jwt/v4 v4.0.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/googleapis/gax-go/v2 v2.1.0 // indirect
github.com/gophercloud/gophercloud v0.12.0 // indirect
github.com/gophercloud/utils v0.0.0-20200508015959-b0167b94122c // indirect
github.com/hashicorp/aws-sdk-go-base v0.7.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-azure-helpers v0.16.5 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-getter/gcs/v2 v2.0.0-20200604122502-a6995fa1edad // indirect
github.com/hashicorp/go-getter/s3/v2 v2.0.0-20200604122502-a6995fa1edad // indirect
github.com/hashicorp/go-oracle-terraform v0.17.0 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/serf v0.9.5 // indirect
github.com/hashicorp/vault/api v1.1.1 // indirect
github.com/hashicorp/vault/sdk v0.2.1 // indirect
github.com/hyperonecom/h1-client-go v0.0.0-20191203060043-b46280e4c4a4 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jdcloud-api/jdcloud-sdk-go v1.9.1-0.20190605102154-3d81a50ca961 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/joyent/triton-go v1.8.5 // indirect
github.com/json-iterator/go v1.1.11 // indirect
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/linode/linodego v0.28.5 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed // indirect
github.com/mitchellh/iochan v1.0.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/oracle/oci-go-sdk/v36 v36.2.0 // indirect
github.com/outscale/osc-sdk-go/osc v0.0.0-20210316122053-4dfd64ce707a // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/profitbricks/profitbricks-sdk-go v4.0.2+incompatible // indirect
github.com/prometheus/client_golang v1.11.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/sirupsen/logrus v1.6.0 // indirect
github.com/ucloud/ucloud-sdk-go v0.20.2 // indirect
github.com/ufilesdk-dev/ufile-gosdk v1.0.1 // indirect
github.com/ugorji/go/codec v1.2.6 // indirect
github.com/xanzy/go-cloudstack v2.4.1+incompatible // indirect
github.com/xanzy/ssh-agent v0.3.0 // indirect
github.com/yandex-cloud/go-genproto v0.0.0-20210824140926-1bca7bc0c005 // indirect
go.mongodb.org/mongo-driver v1.4.6 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
go 1.17

551
go.sum

File diff suppressed because it is too large Load Diff

@ -1,3 +1,4 @@
//go:build darwin || dragonfly || freebsd || (linux && !appengine) || netbsd || openbsd
// +build darwin dragonfly freebsd linux,!appengine netbsd openbsd
package wrappedreadline

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package wrappedreadline

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package wrappedstreams

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package wrappedstreams

@ -1,3 +1,4 @@
//go:build !solaris
// +build !solaris
package packer

@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
package main

@ -1,3 +1,4 @@
//go:build !go1.10
// +build !go1.10
package compress

@ -1,3 +1,4 @@
//go:build go1.10
// +build go1.10
package compress

@ -54,7 +54,7 @@ do
while ! $happy
do
echo "upgrading $i"
output=$(go get github.com/hashicorp/packer-plugin-$i)
output=$(go get -d github.com/hashicorp/packer-plugin-$i)
happy=true
if [[ $output == *"443: Connection refused"* ]]; then
echo "Try again after 5 seconds"

@ -1,3 +1,4 @@
//go:build !solaris
// +build !solaris
package main

@ -46,5 +46,5 @@ Some nice description about the image which artifact is being published to HCP P
a maximum of 255 characters. Defaults to `build.description` if not set.
- `labels` (map[string]string) - Map of labels. Can provide any information, such as tools versions
(e.g. go 1.16, python 3.5, etc...). The labels will appear at the image's main page and will be updated
(e.g. go 1.17, python 3.5, etc...). The labels will appear at the image's main page and will be updated
whenever it is changed and a new build is pushed to the HCP Packer registry.

Loading…
Cancel
Save