Loading GS32-3/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ workflow: rules: - if: $CI_COMMIT_BRANCH == "devel" - if: $CI_COMMIT_BRANCH == "TTF_T043" stages: - run Loading GS32-3/Dockerfile +3 −3 Original line number Diff line number Diff line FROM etsiforge/stfubuntu:20.04 MAINTAINER ETSI TTF T027 MAINTAINER ETSI TTF T043 LABEL description="TTF_T027_Mec Docker Image" LABEL description="TTF_T043_Mec Docker Image" ENV TERM=linux \ HOME=/home/etsi \ HOSTNAME=docker-titan-TTF_T027 HOSTNAME=docker-titan-TTF_T043 COPY home /home/etsi Loading GS32-3/home/etc/init.d/20-eclipse.shdeleted 100644 → 0 +0 −26 Original line number Diff line number Diff line #!/bin/bash ECLIPSE_URL='https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz&r=1' TITAN_URL='https://www.eclipse.org/downloads/download.php?file=/titan/TITAN_Designer_and_Executor_Plugin_7.1.0.zip&r=1' #set -e set -vx echo -e "*****************************\n* Install eclipse\n*****************************\n" mkdir -p ${HOME}/frameworks cd ${HOME}/frameworks || exit 1 wget --progress=dot:mega 'http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz' -Oeclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz || exit 1 tar -zxvf ./eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz || exit 1 ln -sf ${HOME}/frameworks/eclipse/eclipse ${HOME}/bin/eclipse rm -f ./eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz if wget --progress=dot:mega 'https://www.eclipse.org/downloads/download.php?file=/titan/TITAN_Designer_and_Executor_plugin-8.1.0.zip' -OTITAN_Designer_and_Executor_plugin.zip; then eclipse/eclipse -noSplash -application org.eclipse.equinox.p2.director \ -destination /home/etsi/frameworks/eclipse \ -repository 'jar:file:///home/etsi/frameworks/TITAN_Designer_and_Executor_plugin.zip!/' \ -installIU TITAN_Designer.feature.group,TITAN_Executor.feature.group,TITAN_Log_Viewer.feature.group,Titan_external_dependencies.feature.group,Titanium.feature.group,Titanium_external_dependencies.feature.group rm -f TITAN_Designer_and_Executor_plugin.zip fi cd ${HOME} GS32-3/home/etc/init.d/40-ttf_t027.shdeleted 100644 → 0 +0 −48 Original line number Diff line number Diff line #!/bin/bash #set -e set -vx echo -e "*****************************\n* Checkout mec_devel sources\n*****************************\n" mkdir -p ${HOME}/dev && cd ${HOME}/dev || exit 1 git clone --recurse-submodules --branch TTF_T027 https://forge.etsi.org/rep/mec/gs032p3-ttcn-test-suite.git mec_devel cd ${HOME}/dev/mec_devel/titan-test-system-framework git checkout devel cd ${HOME}/dev/mec_devel/ttcn git clone https://forge.etsi.org/gitlab/LIBS/LibCommon.git ./LibCommon echo -e "*****************************\n* Set up environment\n*****************************\n" cd ${HOME}/dev/mec_devel/scripts ln -sf ${HOME}/dev/mec_devel/scripts/devenv.bash.ubuntu ${HOME}/devenv.bash . ${HOME}/devenv.bash echo -e "*****************************\n* Apply patched \n*****************************\n" cd ${HOME}/dev/mec_devel cd ./ttcn/LibCommon ln -sf ${HOME}/dev/mec_devel/ttcn/patch_lib_common_titan/module.mk module.mk cd - cd ./titan-test-system-framework/ttcn/LibHttp ln -sf module_mec.mk module.mk cd - echo -e "*****************************\n* Build Mec test suite\n*****************************\n" cd ${HOME}/dev/mec_devel export ATS_LIST="AtsMec_Location AtsMec_Rnis AtsMec_TrafficManagement AtsMec_UEidentity AtsMec_WlanInformation AtsMec_V2XInformationService" for i in ${ATS_LIST} do export ATS=$i make || exit 1 done rm -fr ./build || exit 1 cd ./etc/AtsMec_Location ln -sf AtsMec_Sandbox.cf_ AtsMec_Location.cfg echo -e "*****************************\n* Change sudo in command line\n*****************************\n" cd ${HOME}/dev/mec_devel/scripts sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_mtc.bash sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_ptcs.bash cd ${HOME}/dev/mec_devel Loading
GS32-3/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ workflow: rules: - if: $CI_COMMIT_BRANCH == "devel" - if: $CI_COMMIT_BRANCH == "TTF_T043" stages: - run Loading
GS32-3/Dockerfile +3 −3 Original line number Diff line number Diff line FROM etsiforge/stfubuntu:20.04 MAINTAINER ETSI TTF T027 MAINTAINER ETSI TTF T043 LABEL description="TTF_T027_Mec Docker Image" LABEL description="TTF_T043_Mec Docker Image" ENV TERM=linux \ HOME=/home/etsi \ HOSTNAME=docker-titan-TTF_T027 HOSTNAME=docker-titan-TTF_T043 COPY home /home/etsi Loading
GS32-3/home/etc/init.d/20-eclipse.shdeleted 100644 → 0 +0 −26 Original line number Diff line number Diff line #!/bin/bash ECLIPSE_URL='https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz&r=1' TITAN_URL='https://www.eclipse.org/downloads/download.php?file=/titan/TITAN_Designer_and_Executor_Plugin_7.1.0.zip&r=1' #set -e set -vx echo -e "*****************************\n* Install eclipse\n*****************************\n" mkdir -p ${HOME}/frameworks cd ${HOME}/frameworks || exit 1 wget --progress=dot:mega 'http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz' -Oeclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz || exit 1 tar -zxvf ./eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz || exit 1 ln -sf ${HOME}/frameworks/eclipse/eclipse ${HOME}/bin/eclipse rm -f ./eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz if wget --progress=dot:mega 'https://www.eclipse.org/downloads/download.php?file=/titan/TITAN_Designer_and_Executor_plugin-8.1.0.zip' -OTITAN_Designer_and_Executor_plugin.zip; then eclipse/eclipse -noSplash -application org.eclipse.equinox.p2.director \ -destination /home/etsi/frameworks/eclipse \ -repository 'jar:file:///home/etsi/frameworks/TITAN_Designer_and_Executor_plugin.zip!/' \ -installIU TITAN_Designer.feature.group,TITAN_Executor.feature.group,TITAN_Log_Viewer.feature.group,Titan_external_dependencies.feature.group,Titanium.feature.group,Titanium_external_dependencies.feature.group rm -f TITAN_Designer_and_Executor_plugin.zip fi cd ${HOME}
GS32-3/home/etc/init.d/40-ttf_t027.shdeleted 100644 → 0 +0 −48 Original line number Diff line number Diff line #!/bin/bash #set -e set -vx echo -e "*****************************\n* Checkout mec_devel sources\n*****************************\n" mkdir -p ${HOME}/dev && cd ${HOME}/dev || exit 1 git clone --recurse-submodules --branch TTF_T027 https://forge.etsi.org/rep/mec/gs032p3-ttcn-test-suite.git mec_devel cd ${HOME}/dev/mec_devel/titan-test-system-framework git checkout devel cd ${HOME}/dev/mec_devel/ttcn git clone https://forge.etsi.org/gitlab/LIBS/LibCommon.git ./LibCommon echo -e "*****************************\n* Set up environment\n*****************************\n" cd ${HOME}/dev/mec_devel/scripts ln -sf ${HOME}/dev/mec_devel/scripts/devenv.bash.ubuntu ${HOME}/devenv.bash . ${HOME}/devenv.bash echo -e "*****************************\n* Apply patched \n*****************************\n" cd ${HOME}/dev/mec_devel cd ./ttcn/LibCommon ln -sf ${HOME}/dev/mec_devel/ttcn/patch_lib_common_titan/module.mk module.mk cd - cd ./titan-test-system-framework/ttcn/LibHttp ln -sf module_mec.mk module.mk cd - echo -e "*****************************\n* Build Mec test suite\n*****************************\n" cd ${HOME}/dev/mec_devel export ATS_LIST="AtsMec_Location AtsMec_Rnis AtsMec_TrafficManagement AtsMec_UEidentity AtsMec_WlanInformation AtsMec_V2XInformationService" for i in ${ATS_LIST} do export ATS=$i make || exit 1 done rm -fr ./build || exit 1 cd ./etc/AtsMec_Location ln -sf AtsMec_Sandbox.cf_ AtsMec_Location.cfg echo -e "*****************************\n* Change sudo in command line\n*****************************\n" cd ${HOME}/dev/mec_devel/scripts sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_mtc.bash sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_ptcs.bash cd ${HOME}/dev/mec_devel