Skip to content

Tags: AsherBond/packer

Tags

nightly

Toggle nightly's commit message
hcp: fix hcp artifact extraction method

With Packer 1.10.1 we started warning when a build failed to complete
because of a potential incompatibility with the builder being used.

This led to cases in which the build failed for other reasons, and
Packer would still warn of potential incompatibilities, even if the
builder was in effect HCP compatible.

We attempted to fix this issue by introducing a new error type, and
checks when we read the artifacts linked to a build, however this loop
would fail when any one of the artifacts is not compatible with HCP
Packer, leading to false failures.

To avoid this problem, we log incompatibilities to the verbose logger,
and only signal the problem if all the artifacts could not be used to
upload data to HCP Packer, in which case it's almost certain that if the
build succeeded and no artifacts are registered to the build, that all
the components used are not compatible with HCP, and should be reported
as such to users.

v1.10.1

Toggle v1.10.1's commit message
Cut release 1.10.1

v1.10.0

Toggle v1.10.0's commit message
Update spacing for flags within Help text

Before Change
```

Options:
  - path <path>: install the plugin from a locally-sourced plugin binary. This
                 installs the plugin where a normal invocation would, but will
                 not try to download it from a remote location, and instead
                 install the binary in the Packer plugins path.
                 This option cannot be specified with a version constraint.
  - force:       forces reinstallation of plugins, even if already installed.

```

After Change
```
Options:
  -path <path>                  Install the plugin from a locally-sourced plugin binary.
                                This installs the plugin where a normal invocation would, but will
                                not try to download it from a remote location, and instead
                                install the binary in the Packer plugins path. This option cannot
                                be specified with a version constraint.
  -force                        Forces reinstallation of plugins, even if already installed.
```

v1.9.5

Toggle v1.9.5's commit message
version: cut v1.9.5

v1.9.4

Toggle v1.9.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request hashicorp#12600 from hashicorp/backport/bump_go/un…

…iformly-classic-yeti

This pull request was automerged via backport-assistant

v1.9.3

Toggle v1.9.3's commit message
Cut 1.9.3 release

v1.9.2

Toggle v1.9.2's commit message
Cut v1.9.2 release

v1.9.1

Toggle v1.9.1's commit message
version: cut 1.9.1 on VERSION file

v1.9.0

Toggle v1.9.0's commit message
cut release 1.9.0

v1.8.7

Toggle v1.8.7's commit message
Update CHANGELOG