summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/gluster-csi-containers.yml
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2018-09-18 17:56:25 +0530
committerNigel Babu <nigelb@redhat.com>2018-09-18 17:56:25 +0530
commit823ac97b89f3838aa8faa715cbe03120a6aeb39c (patch)
tree1437eb9fcd9054153f35d784aa358a1acd52c5ad /build-gluster-org/jobs/gluster-csi-containers.yml
parent22f2c6653368214c514a81faf3fad9a62b24a27b (diff)
New job for gluster-csi-containers
Change-Id: I2aea2d741b14c321cb3664f80cb240b57ca4f534
Diffstat (limited to 'build-gluster-org/jobs/gluster-csi-containers.yml')
-rw-r--r--build-gluster-org/jobs/gluster-csi-containers.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/gluster-csi-containers.yml b/build-gluster-org/jobs/gluster-csi-containers.yml
new file mode 100644
index 0000000..ac1b9cb
--- /dev/null
+++ b/build-gluster-org/jobs/gluster-csi-containers.yml
@@ -0,0 +1,37 @@
+- job:
+ name: gluster-csi-containers
+ node: fedora
+ description: Build gluster-sci containers and push it to dockerhub
+ project-type: freestyle
+ concurrent: true
+
+ scm:
+ - git:
+ basedir: go/src/github.com/gluster/gluster-csi-driver
+ url: https://github.com/gluster/gluster-csi-driver.git
+ branches:
+ - master
+
+ properties:
+ - discard-after-x:
+ x: 10
+ - one-build-per-node
+
+ triggers:
+ - timed: "H 14 * * *"
+
+ builders:
+ - shell: !include-raw: ../scripts/gluster-csi-containers.sh
+
+ parameters:
+ - bool:
+ default: true
+ description: Push to Docker Hub
+ name: PUSH_TO_HUB
+
+ wrappers:
+ - timestamps
+ - credentials-binding:
+ - file:
+ credential-id: aa47a72d-743b-4958-a14a-cb597bb22d92
+ variable: AUTH_JSON