Add packer builder and docker jobs
[ci-management.git] / jjb / ci-management / ci-packer.yaml
diff --git a/jjb/ci-management/ci-packer.yaml b/jjb/ci-management/ci-packer.yaml
new file mode 100644 (file)
index 0000000..675c4e0
--- /dev/null
@@ -0,0 +1,42 @@
+---
+- ci_packer_common: &ci_packer_common
+    name: ci-packer-common
+    # Defines common ci-packer configuration
+
+    project: ci-management
+    project-name: ci-management
+    build-node: centos7-builder-1c-1g
+
+- project:
+    name: packer-verify
+    jobs:
+      - gerrit-packer-verify
+
+    <<: *ci_packer_common
+
+
+- project:
+    name: packer-builder-jobs
+    jobs:
+      - gerrit-packer-merge
+
+    <<: *ci_packer_common
+
+    templates: builder
+    platforms:
+      - centos-7
+      - ubuntu-16.04
+      - ubuntu-18.04
+
+- project:
+    name: packer-docker-jobs
+    jobs:
+      - gerrit-packer-merge
+
+    <<: *ci_packer_common
+
+    templates: docker
+    platforms:
+      - centos-7
+      - ubuntu-16.04
+      - ubuntu-18.04