Loading .jenkins.sh +3 −2 Original line number Diff line number Diff line #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt set -vx #set -vx set -e cd "$(dirname "$0")" Loading docker/Dockerfile +21 −19 Original line number Diff line number Diff line # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt FROM gcc:latest MAINTAINER STF549 Loading Loading @@ -56,36 +59,35 @@ RUN echo "docker-titan" > /etc/hostname \ tree \ unzip \ wget \ && apt-get autoremove \ && apt-get autoclean \ && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y \ && DEBIAN_FRONTEND=noninteractive apt-get autoclean -y \ && useradd --create-home --shell /bin/bash stf549 \ && echo "stf549:stf549" | chpasswd \ && adduser stf549 sudo \ && su - stf549 \ && whoami \ && cd /home/stf549 \ && mkdir -p bin lib include tmp frameworks docs \ && mkdir -p bin lib include dev tmp frameworks docs \ && ls -ltr \ && cd /home/stf549/dev \ && git clone http://forge.etsi.org/gitlab/emergency-communications/NG112.git STF549_Ng112 \ && cp /home/stf549/STF549_Ng112/scripts/devenv.bash.ubuntu /home/stf549/devenv.bash \ && cd /home/stf549/dev/STF549_Ng112/ttcn \ && svn co --username $USERNAME --password $PASSWORD --non-interactive https://oldforge.etsi.org/svn/LibCommon/tags/v1.4.0/ttcn \ && svn co --username $USERNAME --password $PASSWORD --non-interactive https://oldforge.etsi.org/svn/LibSip/trunk \ && cd /home/stf549/dev/STF549_Ng112/scripts \ && chmod 775 *.bash devenv.bash.ubuntu \ && cd /home/stf549 \ && ln -sf /home/stf549/dev/STF549_Ng112/scripts/devenv.bash.ubuntu /home/stf549/devenv.bash \ && export HOME=/home/stf549 \ && . /home/stf549/devenv.bash \ && cd /home/stf549/frameworks \ && git clone https://github.com/vlm/asn1c.git asn1c \ && cd ./asn1c \ && test -f configure || autoreconf -iv \ && ./configure \ && make && make install \ && cd /home/stf549/tmp \ && echo "" >> /etc/profile \ && echo "export HOME=/home/stf549" >> /etc/profile \ && echo "export LD_LIBRARY_PATH=/home/stf549/TriesAndDelete/etsi_its/lib:$LD_LIBRARY_PATH" >> /etc/profile \ && echo "export PATH=/home/stf549/bin:$PATH" >> /etc/profile \ && echo "cd /home/stf549" >> /etc/profile \ && echo ". ./devenv.bash" >> /etc/profile \ && cd /home/stf549/STF549_Ng112/scripts \ && echo "" >> /home/stf549/.bashrc \ && echo ". ./devenv.bash" >> /home/stf549/.bashrc \ && echo "" >> /home/stf549/.bashrc \ && cd /home/stf549/dev/STF549_Ng112/scripts \ && ./build_titan.bash \ && cd /home/stf549 \ && . /home/stf549/devenv.bash \ && cd /home/stf549/STF549_Ng112/scripts \ && cd /home/stf549/dev/STF549_Ng112/scripts Loading docker/build-container.sh +7 −1 Original line number Diff line number Diff line #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt set -e #set -vx set -vx USERNAME=garciay PASSWORD=d08dga510 DOCKER_FILE=./Dockerfile if [ -f ${DOCKER_FILE} ] Loading docker/run-container.sh +11 −0 Original line number Diff line number Diff line #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt #set -e #set -vx docker run -it --rm stf549_ng112:latest /bin/bash # That's all Floks exit 0 scripts/build_titan.bash +4 −1 Original line number Diff line number Diff line #/bin/bash #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt set -e #set -vx Loading Loading
.jenkins.sh +3 −2 Original line number Diff line number Diff line #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt set -vx #set -vx set -e cd "$(dirname "$0")" Loading
docker/Dockerfile +21 −19 Original line number Diff line number Diff line # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt FROM gcc:latest MAINTAINER STF549 Loading Loading @@ -56,36 +59,35 @@ RUN echo "docker-titan" > /etc/hostname \ tree \ unzip \ wget \ && apt-get autoremove \ && apt-get autoclean \ && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y \ && DEBIAN_FRONTEND=noninteractive apt-get autoclean -y \ && useradd --create-home --shell /bin/bash stf549 \ && echo "stf549:stf549" | chpasswd \ && adduser stf549 sudo \ && su - stf549 \ && whoami \ && cd /home/stf549 \ && mkdir -p bin lib include tmp frameworks docs \ && mkdir -p bin lib include dev tmp frameworks docs \ && ls -ltr \ && cd /home/stf549/dev \ && git clone http://forge.etsi.org/gitlab/emergency-communications/NG112.git STF549_Ng112 \ && cp /home/stf549/STF549_Ng112/scripts/devenv.bash.ubuntu /home/stf549/devenv.bash \ && cd /home/stf549/dev/STF549_Ng112/ttcn \ && svn co --username $USERNAME --password $PASSWORD --non-interactive https://oldforge.etsi.org/svn/LibCommon/tags/v1.4.0/ttcn \ && svn co --username $USERNAME --password $PASSWORD --non-interactive https://oldforge.etsi.org/svn/LibSip/trunk \ && cd /home/stf549/dev/STF549_Ng112/scripts \ && chmod 775 *.bash devenv.bash.ubuntu \ && cd /home/stf549 \ && ln -sf /home/stf549/dev/STF549_Ng112/scripts/devenv.bash.ubuntu /home/stf549/devenv.bash \ && export HOME=/home/stf549 \ && . /home/stf549/devenv.bash \ && cd /home/stf549/frameworks \ && git clone https://github.com/vlm/asn1c.git asn1c \ && cd ./asn1c \ && test -f configure || autoreconf -iv \ && ./configure \ && make && make install \ && cd /home/stf549/tmp \ && echo "" >> /etc/profile \ && echo "export HOME=/home/stf549" >> /etc/profile \ && echo "export LD_LIBRARY_PATH=/home/stf549/TriesAndDelete/etsi_its/lib:$LD_LIBRARY_PATH" >> /etc/profile \ && echo "export PATH=/home/stf549/bin:$PATH" >> /etc/profile \ && echo "cd /home/stf549" >> /etc/profile \ && echo ". ./devenv.bash" >> /etc/profile \ && cd /home/stf549/STF549_Ng112/scripts \ && echo "" >> /home/stf549/.bashrc \ && echo ". ./devenv.bash" >> /home/stf549/.bashrc \ && echo "" >> /home/stf549/.bashrc \ && cd /home/stf549/dev/STF549_Ng112/scripts \ && ./build_titan.bash \ && cd /home/stf549 \ && . /home/stf549/devenv.bash \ && cd /home/stf549/STF549_Ng112/scripts \ && cd /home/stf549/dev/STF549_Ng112/scripts Loading
docker/build-container.sh +7 −1 Original line number Diff line number Diff line #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt set -e #set -vx set -vx USERNAME=garciay PASSWORD=d08dga510 DOCKER_FILE=./Dockerfile if [ -f ${DOCKER_FILE} ] Loading
docker/run-container.sh +11 −0 Original line number Diff line number Diff line #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt #set -e #set -vx docker run -it --rm stf549_ng112:latest /bin/bash # That's all Floks exit 0
scripts/build_titan.bash +4 −1 Original line number Diff line number Diff line #/bin/bash #!/bin/bash # Copyright ETSI 2018 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt set -e #set -vx Loading