ci/deploy.sh: Drop local_env support
[armband.git] / ci / deploy.sh
1 #!/bin/bash
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 set -e
10
11 SCRIPT_DIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
12 ARMBAND_BASE=$(readlink -e "${SCRIPT_DIR}/..")
13 export ARMBAND_BASE
14
15 cd "${WORKSPACE:-${ARMBAND_BASE}}"
16 make patches-import
17
18 cd upstream/fuel/ci
19 ./deploy.sh "$@"