aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-set-iceg-lxc-image.sh
blob: f724c7f1b3d40d199b45c14a40d2a0d1d19dfbc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de
# License GPLv2
#
# debugging purposes
set -e

################################################################################
## Header
################################################################################

# only run on master, jellyfish and icefish
! ( echo "marlin jellyfish icefish koi lamprey" | grep -q $TARGETBRANCH ) || exit 0

export TARGETFEATURES="agl-ic-container agl-devel"
export TARGETQA=""
export TARGETIMAGE="agl-cluster-demo-lxc-host"

eval TARGETIMAGE="$TARGETIMAGE"
eval TARGETIMAGEnogfx="$TARGETIMAGE"

#if $DEBUG; then
set | grep ^TARGET || true
set | grep ^GERRIT || true
set | grep ^MACHINE || true
#fi