aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-set-iceg-lxc-image.sh
blob: 44a6c4cc6d920b14e51e61b237513f69daa80ff3 (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 "master marlin jellyfish icefish koi lamprey" | grep -q $TARGETBRANCH ) || exit 0

export TARGETFEATURES="agl-iceg agl-devel"
export TARGETQA=""
export TARGETIMAGE="lxc-host-image-demo"

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

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