Create MultiCloud k8s Docker job 10/70510/1
authorVictor Morales <victor.morales@intel.com>
Mon, 15 Oct 2018 23:41:46 +0000 (16:41 -0700)
committerVictor Morales <victor.morales@intel.com>
Mon, 15 Oct 2018 23:41:46 +0000 (16:41 -0700)
MultiCloud/Kubernetes plugin requires the creation of docker images
daily. This change offers that functionality.

Change-Id: If6c2dc3666001340852d322bb3d31171c7b0fead
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

jjb/multicloud/build-multicloud-azure-docker-image.sh [changed mode: 0644->0755]
jjb/multicloud/build-multicloud-framework-docker-image.sh [changed mode: 0644->0755]
jjb/multicloud/build-multicloud-k8s-docker-image.sh [new file with mode: 0755]
jjb/multicloud/build-multicloud-openstack-docker-image.sh [changed mode: 0644->0755]
jjb/multicloud/build-multicloud-openstack-vmware-docker-image.sh [changed mode: 0644->0755]
jjb/multicloud/build-multicloud-openstack-vmware-vesagent-docker-image.sh [changed mode: 0644->0755]
jjb/multicloud/multicloud-k8s.yaml

diff --git a/jjb/multicloud/build-multicloud-k8s-docker-image.sh b/jjb/multicloud/build-multicloud-k8s-docker-image.sh
new file mode 100755 (executable)
index 0000000..af19340
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2018 Intel Corporation
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+set -o xtrace
+
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+cd ./deployments
+./build.sh
index 94595ed..00ac9f7 100644 (file)
@@ -7,6 +7,9 @@
       - '{project-name}-{stream}-{subproject}-verify-python'
       - '{project-name}-{stream}-verify-golang'
       - '{project-name}-{stream}-merge-golang'
+      - '{project-name}-{stream}-docker-golang-shell-daily':
+          script:
+            !include-raw-escape: 'build-multicloud-k8s-docker-image.sh'
     project: 'multicloud/k8s'
     subproject:
       - validation-scripts: