Setup common-packer and initial builder 81/81/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 20 Jun 2018 21:27:25 +0000 (14:27 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 20 Jun 2018 21:27:25 +0000 (14:27 -0700)
Change-Id: I22232cad9c0a506f173b14eace6f2227f4727966
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
.gitmodules
packer/common-packer [new submodule]
packer/provision/local-builder.yaml [new file with mode: 0644]
packer/templates/builder.json [new symlink]

index bffd428..9163b9c 100644 (file)
@@ -1,3 +1,6 @@
 [submodule "jjb/global-jjb"]
        path = jjb/global-jjb
        url = https://github.com/lfit/releng-global-jjb.git
 [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 (submodule)
index 0000000..4d9e425
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 4d9e425a95d5e61072e2539555842cae91806c7b
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml
new file mode 100644 (file)
index 0000000..ddfe3a9
--- /dev/null
@@ -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 (symlink)
index 0000000..bd227be
--- /dev/null
@@ -0,0 +1 @@
+../common-packer/templates/builder.json
\ No newline at end of file