Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
da3f6693
Commit
da3f6693
authored
Apr 29, 2020
by
Yann Garcia
Browse files
Enhance MEC Dockerfile for Lewis integration
parent
9f1a642b
Changes
4
Show whitespace changes
Inline
Side-by-side
docker/home/etc/init.d/10-titan.sh
View file @
da3f6693
...
...
@@ -14,9 +14,6 @@ export PATH=$PATH:$TTCN3_DIR/bin
mkdir
-p
"
$SRC_DIR
"
cd
"
$SRC_DIR
/.."
||
exit
1
echo
"export TTCN3_DIR=
$TTCN3_DIR
"
>>
$HOME
/.bashrc
echo
"export PATH=
\$
PATH:
\$
TTCN3_DIR/bin"
>>
$HOME
/.bashrc
# Install titan core
git clone
--progress
"
$TITAN_REPO
"
||
exit
1
...
...
@@ -32,6 +29,14 @@ EOF
make
&&
make
install
||
exit
1
# To be compiant with build_ttcn3.bash
# TODO Refactor build_ttcn3.bash & devenv.bash
mv
${
TTCN3_DIR
}
${
SRC_DIR
}
export
TTCN3_DIR
=
${
SRC_DIR
}
/Install
echo
"export TTCN3_DIR=
$TTCN3_DIR
"
>>
$HOME
/.bashrc
echo
"export PATH=
\$
PATH:
\$
TTCN3_DIR/bin"
>>
$HOME
/.bashrc
# Install other repos
cd
$SRC_DIR
/..
||
exit
1
cat
${
HOME
}
/etc/titan_repos.txt |
grep
-v
-e
'^\s*#'
-e
'titan\.core'
|
while
read
REPO
;
do
...
...
@@ -42,4 +47,4 @@ cat ${HOME}/etc/titan_repos.txt | grep -v -e '^\s*#' -e 'titan\.core' | while re
fi
done
exit
0
cd
$HOME
docker/home/etc/init.d/20-eclipse.sh
View file @
da3f6693
...
...
@@ -19,4 +19,4 @@ if wget --progress=dot:mega 'https://www.eclipse.org/downloads/download.php?file
rm
-f
TITAN_Designer_and_Executor_plugin.zip
fi
exit
0
cd
${
HOME
}
docker/home/etc/init.d/30-osip.sh
View file @
da3f6693
...
...
@@ -12,5 +12,3 @@ cd osip
make
&&
sudo
make
install
cd
${
HOME
}
exit
0
docker/home/etc/init.d/40-stf569.sh
View file @
da3f6693
#!/bin/bash
#set -e
set
-vx
echo
-e
"*****************************
\n
* Checkout STF569 sources
\n
*****************************
\n
"
mkdir
-p
${
HOME
}
/dev
&&
cd
${
HOME
}
/dev
||
exit
1
...
...
@@ -11,13 +14,12 @@ cd /home/etsi/dev/STF569_Mec/ttcn/LibIts
git checkout TTF0002
rm
-fr
asn1 t3q xsd
cd
ttcn
&&
rm
-fr
BTP CAM Common DENM GeoNetworking Ipv6OverGeoNetworking IVIM MapemSpatem Pki Security SremSsem
echo
-e
"*****************************
\n
* Set up environment
\n
*****************************
\n
"
cd
/home/etsi/dev/STF569_Mec/scripts
chmod
775
*
.bash devenv.bash.
*
cd
/home/etsi
ln
-sf
/home/etsi/dev/STF569_Mec/scripts/devenv.bash.ubuntu /home/etsi/devenv.bash
ls
-ltr
/home/etsi
export
HOME
=
/home/etsi
.
/home/etsi/devenv.bash
set
echo
-e
"*****************************
\n
* Build Mec test suite
\n
*****************************
\n
"
cd
/home/etsi/dev/STF569_Mec/scripts
./update_mec_project.bash
cd
/home/etsi/dev/etsi_mec/src/AtsMec/objs
...
...
@@ -27,4 +29,3 @@ echo -e "*****************************\n* Init Eclipse Workspace\n**************
mkdir
-p
${
HOME
}
/dev/Workspace/STF569/bin/
cd
${
HOME
}
/dev/Workspace/STF569
exit
0
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment