Remove the -only CLI option for packer build 29/66529/2 v0.60.1
authorAnil Belur <abelur@linuxfoundation.org>
Sat, 16 Jan 2021 05:21:59 +0000 (15:21 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Sat, 16 Jan 2021 07:02:13 +0000 (17:02 +1000)
commitc6d9571b076faf5d02305bd93faeda7bf23fe766
treea5fbdfe623fc9710e1e5a0c60bb48bf3f9e92ff4
parentdda5157a63d6d92115e36edda5cdcb35e399e6db
Remove the -only CLI option for packer build

Remove the -only CLI option for packer build

The #CR 90dd675df482a8 submitted with common-packer v0.7.0
fails to build packer jobs because of a bug in the packer build CLI.

The `-only` option packer build CLI does not set the cloud provider
name/type as per the documentation. The alternative is to use an environment
variable that is passed through the packer job and can be reference in the
packer templates.

Issue: JIRA IT-21300
Github Issue: https://github.com/hashicorp/packer/issues/10495
Ref: https://gerrit.linuxfoundation.org/infra/c/releng/common-packer/+/66528
Change-Id: I97bc479ddac9a8f1f0dc83201735b0a084a8b3e4
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/remove-packer-build-only-flag-2b5a53cf34dc9c6d.yaml [new file with mode: 0644]
shell/packer-build.sh