commit | 09e186508feab192f5823a51d6b05b7069ce926c | [log] [tgz] |
---|---|---|
author | Alanny Lopez <alanny.lopez@ibm.com> | Mon Apr 24 15:50:33 2017 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Fri Jun 02 14:57:51 2017 +0000 |
tree | d0301557d7375ccc6536580dc7f2ec3b2fd4ebbf | |
parent | 3fbaa519d4e0ab753693c3b4f4d49f765a57fdad [diff] |
Add Kubernetes Launch Helper Script When a pod or job is selected as the launch type, this script will be sourced by the build-setup.sh script to launch the build container with kubectl using yaml files this script creates. It will assume it is being sourced and will be using some of the variables established in the build-setup.sh script to build and push the job, and to generate the YAML file Kubernetes needs to launch the container. A few more variables are specific to this script. They are all related to Kubernetes. The multiple PVC's that will be mounted, the image repository, namespace to launch into, the image pull secret if the repo needs authentication, and a timeout that determines how long we wait for the container to start running before assuming failure. Change-Id: Icba8ca7b0fa49fe2cb3b5622e4a6b7981049fb98 Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>
Build script for CI jobs in Jenkins.