mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Fix CI for release branch
This commit is contained in:
parent
070e812e1b
commit
899f0c4a23
3 changed files with 5 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ variables:
|
||||||
DEBUG: 'TRUE'
|
DEBUG: 'TRUE'
|
||||||
SOURCE_FOLDER: "."
|
SOURCE_FOLDER: "."
|
||||||
COMPILATION_FIXUP: "cmake ."
|
COMPILATION_FIXUP: "cmake ."
|
||||||
|
BBFDM_BRANCH: 'release-7.5'
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- project: 'iopsys/gitlab-ci-pipeline'
|
- project: 'iopsys/gitlab-ci-pipeline'
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@ for test in $(cat test/script/run_sequence.txt); do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
sleep 5
|
||||||
echo "Stop all services"
|
echo "Stop all services"
|
||||||
supervisorctl stop icwmpd
|
supervisorctl stop icwmpd
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -136,13 +136,15 @@ function install_bbfdmd()
|
||||||
[ -d "/opt/dev/bbfdm" ] && rm -rf /opt/dev/bbfdm
|
[ -d "/opt/dev/bbfdm" ] && rm -rf /opt/dev/bbfdm
|
||||||
|
|
||||||
if [ -n "${BBFDM_BRANCH}" ]; then
|
if [ -n "${BBFDM_BRANCH}" ]; then
|
||||||
|
export BRANCH=${BBFDM_BRANCH}
|
||||||
exec_cmd git clone -b ${BBFDM_BRANCH} https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
|
exec_cmd git clone -b ${BBFDM_BRANCH} https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
|
||||||
else
|
else
|
||||||
exec_cmd git clone https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
|
exec_cmd git clone https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd /opt/dev/bbfdm
|
cd /opt/dev/bbfdm
|
||||||
exec_cmd ./gitlab-ci/install-dependencies.sh install
|
./gitlab-ci/install-dependencies.sh install
|
||||||
|
check_ret $?
|
||||||
exec_cmd ./gitlab-ci/setup.sh install
|
exec_cmd ./gitlab-ci/setup.sh install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue