aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-set-iceg-lxc-image.sh
blob: b7de3a97518a1119d560b537b5674a2ee1c45dd5 (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 agl-ci"
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