u/fuel: Bump for Salt downgrade
[armband.git] / ci / deploy.sh
1 #!/bin/bash -e
2 ##############################################################################
3 # Copyright (c) 2017 Enea Software AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
10 SCRIPT_DIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
11 ARMBAND_BASE=$(readlink -e "${SCRIPT_DIR}/..")
12
13 export ARMBAND_BASE
14 export CI_DEBUG
15
16 cd "${WORKSPACE:-${ARMBAND_BASE}}"
17 make fuel-patches-import
18
19 cd upstream/fuel/ci
20 ./deploy.sh "$@"