From 44153a1e15cdf83ea91277de3b94c5a23ac96cef Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Wed, 20 Jun 2018 14:27:25 -0700 Subject: [PATCH] Setup common-packer and initial builder Change-Id: I22232cad9c0a506f173b14eace6f2227f4727966 Signed-off-by: Andrew Grimberg --- .gitmodules | 3 +++ packer/common-packer | 1 + packer/provision/local-builder.yaml | 2 ++ packer/templates/builder.json | 1 + 4 files changed, 7 insertions(+) create mode 160000 packer/common-packer create mode 100644 packer/provision/local-builder.yaml create mode 120000 packer/templates/builder.json diff --git a/.gitmodules b/.gitmodules index bffd428..9163b9c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "jjb/global-jjb"] path = jjb/global-jjb url = https://github.com/lfit/releng-global-jjb.git +[submodule "packer/common-packer"] + path = packer/common-packer + url = https://github.com/lfit/releng-common-packer.git diff --git a/packer/common-packer b/packer/common-packer new file mode 160000 index 0000000..4d9e425 --- /dev/null +++ b/packer/common-packer @@ -0,0 +1 @@ +Subproject commit 4d9e425a95d5e61072e2539555842cae91806c7b diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml new file mode 100644 index 0000000..ddfe3a9 --- /dev/null +++ b/packer/provision/local-builder.yaml @@ -0,0 +1,2 @@ +--- +- import_playbook: ../common-packer/provision/baseline.yaml diff --git a/packer/templates/builder.json b/packer/templates/builder.json new file mode 120000 index 0000000..bd227be --- /dev/null +++ b/packer/templates/builder.json @@ -0,0 +1 @@ +../common-packer/templates/builder.json \ No newline at end of file -- 2.16.6