summaryrefslogtreecommitdiff
path: root/jjb
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-11-07 15:59:10 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-11-07 15:59:10 -0700
commitb91a6d4bbaf71001ef1ebb1cd99460bab33ae2d0 (patch)
tree0c100ef3f2548b285ab0896089456d37ece7acc7 /jjb
parent2cdc65ab531fcc2b3c9c940590a1e24dce0f01dd (diff)
image foundry and glance gateway JJB files
Diffstat (limited to 'jjb')
-rw-r--r--jjb/yaml/glance-gateway-if-pipeline.yaml37
-rw-r--r--jjb/yaml/glance-gateway.yaml26
-rw-r--r--jjb/yaml/image-foundry-if-pipeline.yaml12
3 files changed, 75 insertions, 0 deletions
diff --git a/jjb/yaml/glance-gateway-if-pipeline.yaml b/jjb/yaml/glance-gateway-if-pipeline.yaml
new file mode 100644
index 0000000..98ca417
--- /dev/null
+++ b/jjb/yaml/glance-gateway-if-pipeline.yaml
@@ -0,0 +1,37 @@
+---
+- job:
+ name: glance-gateway-gg-pipeline
+ project-type: pipeline
+ dsl: |
+ pipeline {
+ agent {
+ node {
+ label "master"
+ }
+ }
+ stages {
+ stage("checkout-manifests") {
+ agent {
+ node {
+ label "glance_gateway"
+ customWorkspace "workspace/glance-gateway"
+ }
+ }
+ steps {
+ git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/glance-gateway.git")
+ }
+ }
+ stage("update-images") {
+ agent {
+ node {
+ label "glance_gateway"
+ customWorkspace "workspace/image-foundry"
+ }
+ }
+ steps {
+ git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry.git")
+ sh(script: "./glance-gateway.sh")
+ }
+ }
+ }
+ }
diff --git a/jjb/yaml/glance-gateway.yaml b/jjb/yaml/glance-gateway.yaml
new file mode 100644
index 0000000..f56ad24
--- /dev/null
+++ b/jjb/yaml/glance-gateway.yaml
@@ -0,0 +1,26 @@
+---
+- job:
+ name: "glance-gateway"
+ project-type: freestyle
+ node: image_foundry
+ properties:
+ - build-discarder:
+ days-to-keep: 0
+ num-to-keep: 1
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - ".*if-pipeline"
+ block_level: 'GLOBAL'
+ queue-scanning: 'BUILDABLE'
+ artifact-days-to-keep: 0
+ triggers:
+ - github
+ scm:
+ - git:
+ url: "git@github.vcp.vzwnet.com:konstca/glance-gateway.git"
+ branches:
+ - "master"
+ builders:
+ - trigger-builds:
+ - project: "glance-gateway-gg-pipeline"
diff --git a/jjb/yaml/image-foundry-if-pipeline.yaml b/jjb/yaml/image-foundry-if-pipeline.yaml
index 69f45e2..15de1dc 100644
--- a/jjb/yaml/image-foundry-if-pipeline.yaml
+++ b/jjb/yaml/image-foundry-if-pipeline.yaml
@@ -11,11 +11,23 @@
}
stages {
stage("checkout-elements") {
+ agent {
+ node {
+ label "glance_gateway"
+ customWorkspace "workspace/image-foundry-vzw"
+ }
+ }
steps {
git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry-vzw.git")
}
}
stage("diskimage-builder") {
+ agent {
+ node {
+ label "glance_gateway"
+ customWorkspace "workspace/image-foundry"
+ }
+ }
steps {
git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry.git")
sh(script: "./image-foundry.sh")