Align pipeline with latest bbfdm pipeline changes

This commit is contained in:
Amin Ben Romdhane 2024-11-07 10:32:15 +00:00 committed by IOPSYS Dev
parent ded33cb834
commit 9015576137
No known key found for this signature in database
4 changed files with 2 additions and 30 deletions

View file

@ -3,5 +3,5 @@ priority=3
command=/bin/bash -c "cd /tmp/firmware/ && python3 -m http.server 80" command=/bin/bash -c "cd /tmp/firmware/ && python3 -m http.server 80"
[program:bbfdmd] [program:bbfdmd]
priority=4 priority=15
command=/bin/bash -c "/usr/sbin/bbfdmd" command=/bin/bash -c "/usr/sbin/bbfdmd"

View file

@ -2,6 +2,6 @@
autorestart=false autorestart=false
startretries=0 startretries=0
numprocs_start=10 numprocs_start=10
priority=11 priority=20
command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/tmp/memory-report.xml --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 --track-origins=yes /usr/sbin/icwmpd" command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/tmp/memory-report.xml --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 --track-origins=yes /usr/sbin/icwmpd"

View file

@ -11,11 +11,3 @@ apt install -y jq uuid-dev libmxml-dev >/dev/null 2>&1
echo "Installing bbfdmd" echo "Installing bbfdmd"
install_bbfdmd install_bbfdmd
#install WiFi Data Model as Plugin
echo "Installing wifidmd as plugin"
install_wifidmd_as_plugin
#install Network Data Model as Plugin
echo "Installing Network Data Model as plugin"
install_netmngr_as_plugin

View file

@ -144,26 +144,6 @@ function install_bbfdmd()
exec_cmd ./gitlab-ci/setup.sh install exec_cmd ./gitlab-ci/setup.sh install
} }
function install_wifidmd_as_plugin()
{
exec_cmd git clone https://dev.iopsys.eu/bbf/wifidmd.git /opt/dev/wifidmd
exec_cmd make -C /opt/dev/wifidmd/src/ clean && make -C /opt/dev/wifidmd/src/
exec_cmd cp -f /opt/dev/wifidmd/src/libwifi.so /usr/share/bbfdm/plugins/
exec_cmd cp -f /opt/dev/wifidmd/src/libdataelements.so /usr/share/bbfdm/plugins/
}
function install_netmngr_as_plugin()
{
[ -d "/opt/dev/netmngr" ] && return 0
exec_cmd git clone https://dev.iopsys.eu/network/netmngr.git /opt/dev/netmngr
exec_cmd make -C /opt/dev/netmngr/src/ clean && make -C /opt/dev/netmngr/src/ CFLAGS+="-DBBF_VENDOR_PREFIX=\\\"X_IOPSYS_EU_\\\""
exec_cmd cp -f /opt/dev/netmngr/src/libnetmngr.so /usr/share/bbfdm/plugins/
exec_cmd cp -f /opt/dev/netmngr/src/libinterface_stack.so /usr/share/bbfdm/plugins/
}
function check_valgrind_xml() { function check_valgrind_xml() {
echo "Checking memory leaks..." echo "Checking memory leaks..."
cp /tmp/memory-report.xml memory-report.xml cp /tmp/memory-report.xml memory-report.xml