summaryrefslogtreecommitdiffstats
path: root/jjb/genesis
diff options
context:
space:
mode:
authorSzilard Cserey <szilard.cserey@ericsson.com>2015-08-14 15:27:32 +0200
committerSzilard Cserey <szilard.cserey@ericsson.com>2015-08-20 11:26:37 +0200
commite70f4aaeb9e17c671f3a27c7005e1ed8609b564d (patch)
tree01c0f66829bc3681c879d2d885546cb058c5b60e /jjb/genesis
parent09ee57139a397f16bd772541b8ac1a8d023dd55b (diff)
fuel-deploy-master & arno jobs for POD2
Configuring fuel-deploy-master and arno jobs for launching Production Autodeployer on POD2 Change-Id: I5ec69f1b79ebf5497c73ade8d0d7ddaf90aa359b Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
Diffstat (limited to 'jjb/genesis')
-rw-r--r--jjb/genesis/genesis-fuel.yml60
1 files changed, 10 insertions, 50 deletions
diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml
index d73c4563f..c050adcdf 100644
--- a/jjb/genesis/genesis-fuel.yml
+++ b/jjb/genesis/genesis-fuel.yml
@@ -256,7 +256,7 @@
- string:
name: GIT_BASE
default: ssh://gerrit.opnfv.org:29418/$PROJECT
- description: "POD1 has some issues with cloning using https so that's why GIT_BASE is overriden here again."
+ description: "POD2 has some issues with cloning using https so that's why GIT_BASE is overriden here again."
scm:
- git-scm:
@@ -272,7 +272,7 @@
builders:
- 'fuel-download-artifact'
- - 'fuel-deploy-{stream}'
+ - 'fuel-deploy'
- job-template:
name: 'genesis-fuel-deploy-runner-{stream}'
@@ -416,7 +416,7 @@
echo "Done!"
- builder:
- name: 'fuel-deploy-master'
+ name: 'fuel-deploy'
builders:
- shell: |
#!/bin/bash
@@ -438,56 +438,16 @@
chmod a+x $HOME
chmod a+x $TMPDIR
- # set TOPDIR, CONFDIR
- export TOPDIR=$WORKSPACE/fuel/prototypes/auto-deploy
- export CONFDIR=$WORKSPACE/fuel/deploy/baremetal/conf/linux_foundation_lab/pod2/multinode
-
- # cleanup first
- sudo $WORKSPACE/common/ci/clean.sh -base_config $WORKSPACE/foreman/ci/inventory/lf_pod2_ksgen_settings.yml
-
- # log info to console
- echo "Starting the deployment using $INSTALLER. This could take some time..."
- echo "--------------------------------------------------------"
- echo
-
- # start the deployment
- echo "Issuing command"
- echo "sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${CONFDIR}/dea.yaml ${CONFDIR}/dha.yaml"
- sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${CONFDIR}/dea.yaml ${CONFDIR}/dha.yaml
-
- echo
- echo "--------------------------------------------------------"
- echo "Done!"
-
-- builder:
- name: 'fuel-deploy-stable-arno'
- builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o nounset
- set -o pipefail
-
- # source the file so we get OPNFV vars
- source latest.properties
-
- # echo the info about artifact that is used during the deployment
- echo "Using $(echo $OPNFV_ARTIFACT_URL | cut -d'/' -f4) for deployment"
-
- # create TMPDIR if it doesn't exist
- export TMPDIR=$HOME/tmp/$JOB_NAME
- [[ -d $TMPDIR ]] || mkdir -p $TMPDIR
-
- # change permissions down to TMPDIR
- chmod a+x $HOME
- chmod a+x $TMPDIR
-
- # set CONFDIR
+ # set CONFDIR, BRIDGE
export CONFDIR=$WORKSPACE/fuel/deploy/baremetal/conf/linux_foundation_lab/pod2/ha
+ export BRIDGE=pxebr
# cleanup first
sudo $WORKSPACE/common/ci/clean.sh -base_config $WORKSPACE/foreman/ci/inventory/lf_pod2_ksgen_settings.yml
+ # prepare for Fuel Deployment
+ sudo $WORKSPACE/common/ci/setup.sh
+
# log info to console
echo "Starting the deployment using $INSTALLER. This could take some time..."
echo "--------------------------------------------------------"
@@ -495,9 +455,9 @@
# start the deployment
echo "Issuing command"
- echo "sudo $WORKSPACE/fuel/ci/deploy.sh $WORKSPACE/opnfv.iso ${CONFDIR}/dea.yaml ${CONFDIR}/dha.yaml -s $TMPDIR"
+ echo "sudo $WORKSPACE/fuel/ci/deploy.sh $WORKSPACE/opnfv.iso $CONFDIR/dea.yaml $CONFDIR/dha.yaml -s $TMPDIR -b $BRIDGE"
+ sudo $WORKSPACE/fuel/ci/deploy.sh $WORKSPACE/opnfv.iso $CONFDIR/dea.yaml $CONFDIR/dha.yaml -s $TMPDIR -b $BRIDGE
- sudo $WORKSPACE/fuel/ci/deploy.sh $WORKSPACE/opnfv.iso ${CONFDIR}/dea.yaml ${CONFDIR}/dha.yaml -s $TMPDIR
echo
echo "--------------------------------------------------------"
echo "Done!"