summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/gluster-csi-containers.yml
diff options
context:
space:
mode:
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