Commit Graph

23 Commits

Author SHA1 Message Date
Megan Marsh 001886670d move Ui definition into the packer plugin sdk. 2020-11-30 14:26:54 -08:00
Megan Marsh 3f6deb8828 move multistep into the plugin sdk 2020-11-17 16:31:03 -08:00
Wilken Rivera 03a374f4b6
Fix linting issues for SA6005 check (#9854)
Before change
```
⇶  golangci-lint run --disable-all --no-config --enable=staticcheck | ack SA6005
builder/profitbricks/step_create_server.go:254:22: SA6005: should use strings.EqualFold(a, b) instead of strings.ToLower(a) == strings.ToLower(b) (staticcheck)
builder/oneandone/config.go:97:7: SA6005: should use strings.EqualFold(a, b) instead of strings.ToLower(a) == strings.ToLower(b) (staticcheck)
builder/vmware/common/driver_parser.go:1199:7: SA6005: should use strings.EqualFold(a, b) instead of strings.ToLower(a) == strings.ToLower(b) (staticcheck)
```

After change
```
⇶  golangci-lint run --disable-all --no-config --enable=staticcheck | ack SA6005

```
2020-08-31 15:44:42 +02:00
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing 2019-12-13 11:57:01 -08:00
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
Matthew Hooker 7a189a83a1
fix imports
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker a831d522be
change run signatures
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.

`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker 366dc3da0a
move multistep imports to helper.
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Ali Bazlamit c67d118523 Update packer to Use ProfitBricks Image Alias feature 2017-08-10 16:15:53 +03:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Matthew Hooker 6f27f67346
more fixes from errcheck 2017-03-29 13:38:31 -07:00
Matthew Hooker 230079f73a
spell fixes 2017-03-28 20:36:19 -07:00
jasminSPC 484960c9d1 Fixes #4169 2016-11-16 00:17:30 +01:00
Matthew Hooker d920b3fbf4 run gofmt 2016-11-01 14:08:04 -07:00
jasminSPC 5da380baed Error handling
Minor typo fixes
2016-10-13 00:41:04 +02:00
jasminSPC 2008c6019a Addressing PR remarks 2016-09-14 15:05:45 +02:00
jasminSPC 325401eaf0 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-09-13 12:06:45 +02:00
jasminSPC 5caa54acd7 Addressed all the comments 2016-08-31 13:55:11 +02:00
jasminSPC a61716d4a4 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks
# Conflicts:
#	Godeps/Godeps.json
2016-08-01 13:09:07 +02:00
jasminSPC fc4c88dc6d Fixed tests 2016-07-08 19:19:19 +02:00
jasminSPC d575cd62ec Cleaned up the code 2016-07-07 10:28:46 +02:00
jasminSPC e8be8d2f7b Added documentation
Removed unnecessary comments.
2016-07-01 14:28:29 +02:00
jasminSPC df0298c9ae Packer Builder ProfitBricks 2016-06-29 04:35:41 +02:00