summaryrefslogtreecommitdiffstats
path: root/jjb/oom
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-09-29 16:41:25 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-29 16:41:25 +0000
commitaaf9e3a45003a16fc4e55e7f7025bde150a6e11e (patch)
tree8591506d3c7e956feacb60d61eec8db00ae13751 /jjb/oom
parentda49a3fd23f63c7d79ece62022ade8453cefc879 (diff)
parentdf68f2e1de1aa61a5c3a9b112718d7b2f76e2600 (diff)
Merge "JJB templates to build One-Click Config docker img"
Diffstat (limited to 'jjb/oom')
-rw-r--r--jjb/oom/oneclick-config-build-docker-image.sh12
-rw-r--r--jjb/oom/oneclick-config-make-tar.sh12
-rw-r--r--jjb/oom/oom-oneclick-config.yaml42
3 files changed, 66 insertions, 0 deletions
diff --git a/jjb/oom/oneclick-config-build-docker-image.sh b/jjb/oom/oneclick-config-build-docker-image.sh
new file mode 100644
index 000000000..2cee98fbc
--- /dev/null
+++ b/jjb/oom/oneclick-config-build-docker-image.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+echo '========= CALLING SCRIPT TO BUILD ONECLICK CONFIG TAR FILE ========='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+cd kubernetes/config/docker/init
+
+chmod 755 *.*
+
+docker build
diff --git a/jjb/oom/oneclick-config-make-tar.sh b/jjb/oom/oneclick-config-make-tar.sh
new file mode 100644
index 000000000..da2da2000
--- /dev/null
+++ b/jjb/oom/oneclick-config-make-tar.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+echo '========= CALLING SCRIPT TO BUILD ONECLICK CONFIG TAR FILE ========='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+cd kubernetes/config/docker/init
+
+chmod 755 *.*
+
+./make-tar.sh
diff --git a/jjb/oom/oom-oneclick-config.yaml b/jjb/oom/oom-oneclick-config.yaml
new file mode 100644
index 000000000..be7946237
--- /dev/null
+++ b/jjb/oom/oom-oneclick-config.yaml
@@ -0,0 +1,42 @@
+---
+- project:
+ name: oomconfig
+ project-name: 'oomconfig'
+ project: 'oom'
+
+ files: '**'
+ archive-artifacts: ''
+ build-timeout: 60
+ build-node: ubuntu1604-docker-8c-8g
+ submodule-recursive: true
+
+ jobs:
+ - '{project}-{stream}-release-config'
+ stream:
+ - 'master':
+ branch: 'master'
+
+- job-template:
+ name: '{project}-{stream}-release-config'
+ project-type: freestyle
+ node: '{build-node}'
+
+ properties:
+ - infra-properties:
+ build-days-to-keep: 14
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: 'refs/heads/master'
+ choosing-strategy: 'gerrit'
+ submodule-recursive: '{submodule-recursive}'
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ - docker-login
+ - shell: !include-raw-escape: oneclick-config-make-tar.sh
+ - shell: !include-raw-escape: oneclick-config-build-docker-image.sh
+ - shell: !include-raw-escape: ../include-docker-push.sh