Run packer against a specific builder 89/65089/3
authorThanh Ha <zxiiro@gmail.com>
Fri, 14 Aug 2020 14:09:35 +0000 (10:09 -0400)
committerThanh Ha <zxiiro@gmail.com>
Wed, 19 Aug 2020 15:32:49 +0000 (11:32 -0400)
commit90dd675df482a821fa6a76f7eeb69b2ca8514faa
treeb51f37ed05fa7e57e0f9651b4579fe24efc66f86
parent8af06d1a238b4d3b3191bcca043e2271696fb9f3
Run packer against a specific builder

As preparation to enable the ability to configure multiple builders
in a single packer template, we need to enable the ability in the
job to select which builder to run.

This patch sets up a new variable "packer-builder" which is used to
select the builder definition in the templates file.

Defaulting to "openstack" as that's the most common use case at the
moment.

Issue: RELENG-1052
Change-Id: Ib33a00f38a0005af69d52e7697322a2e84f6c674
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
jjb/lf-ci-jobs.yaml
jjb/lf-macros.yaml
releasenotes/notes/packer-specify-builder-9911c0cf4dfb493d.yaml [new file with mode: 0644]
shell/packer-build.sh