Add docker packer definition 11/111/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 24 Jul 2018 17:55:30 +0000 (10:55 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 24 Jul 2018 17:55:30 +0000 (10:55 -0700)
Add a packer definition for a docker build instance.

Change-Id: Ief91bd29c1ae77bb2fc2a2fa1ad8c34b7d4e3864
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/ci-management/ci-packer.yaml
packer/provision/local-docker.yaml [new symlink]
packer/templates/docker.json [new symlink]

index c80bd87..e33b942 100644 (file)
     platforms:
       - centos-7
       - ubuntu-16.04
+
+- project:
+    name: packer-docker-jobs
+    jobs:
+      - gerrit-packer-merge
+
+    project: ci-management
+    project-name: ci-management
+    build-node: centos7-builder-2c-1g
+
+    templates: docker
+    platforms:
+      - ubuntu-16.04
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
new file mode 120000 (symlink)
index 0000000..a60e9be
--- /dev/null
@@ -0,0 +1 @@
+../common-packer/provision/local-docker.yaml
\ No newline at end of file
diff --git a/packer/templates/docker.json b/packer/templates/docker.json
new file mode 120000 (symlink)
index 0000000..edea6d2
--- /dev/null
@@ -0,0 +1 @@
+../common-packer/templates/docker.json
\ No newline at end of file