1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00

Remove get-dockerfile job

This commit is contained in:
Carles Fernandez 2018-02-14 17:27:05 +01:00
parent 4be7f08ce4
commit 27781d3c2b

View File

@ -82,18 +82,6 @@ ubuntu18.04:
- make install
get-dockerfile:
image: debian:9.3-slim
stage: build
script:
- apt-get update
- apt-get install -y git ca-certificates
- git clone https://github.com/carlesfernandez/docker-gnsssdr
artifacts:
paths:
- docker-gnsssdr/
# Stage "test"
run-tests-amd64:
image: debian:9.3-slim
@ -146,6 +134,9 @@ docker-gnsssdr:
services:
- docker:dind
before_script:
- apt-get update
- apt-get install -y git ca-certificates
- git clone https://github.com/carlesfernandez/docker-gnsssdr
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
script:
- mkdir docker-build
@ -153,8 +144,6 @@ docker-gnsssdr:
- cp ../docker-gnsssdr/Dockerfile .
- docker build -t carlesfernandez/docker-gnsssdr .
- docker push carlesfernandez/docker-gnsssdr
dependencies:
- get-dockerfile
# Stage "experiment"
@ -165,7 +154,7 @@ run-experiment:
- apt-get update
- apt-get upgrade -y
# Grab analysis and representation tools
- apt-get install -y octave texlive-latex-base texlive-fonts-recommended texlive-latex-extra
- apt-get install -y octave texlive-latex-base texlive-fonts-recommended texlive-latex-extra epstool transfig octave
# Grab the data set
- apt-get install -y curl
- cd data
@ -175,8 +164,9 @@ run-experiment:
- md5sum -c data.md5
- cd ..
# Execute the experiment (example)
- echo " x = 0:0.01:3; hf = figure (\"visible\", \"off\"); plot (x, erf (x)); hold on; plot (x, x, \"r\"); axis ([0, 3, 0, 1]); text (0.65, 0.6175, ['$\displaystyle\leftarrow x = {2\over\sqrt{\pi}}' '\int_{0}^{x}e^{-t^2} dt = 0.6175$']); xlabel (\"x\"); ylabel (\"erf (x)\"); title (\"erf (x) with text annotation\"); print (hf, \"results.pdf\", \"-dpdf\"); " > my_test_file.m
- echo " x = 0:0.01:3; hf = figure (\"visible\", \"off\"); plot (x, erf (x)); hold on; plot (x, x, \"r\"); axis ([0, 3, 0, 1]); text (0.65, 0.6175, ['$\displaystyle\leftarrow x = {2\over\sqrt{\pi}}' '\int_{0}^{x}e^{-t^2} dt = 0.6175$']); xlabel (\"x\"); ylabel (\"erf (x)\"); title (\"erf (x) with text annotation\"); print (hf, \"results.eps\", \"-deps\"); " > my_test_file.m
- octave --no-gui my_test_file.m
- epspdf results.eps results.pdf
- mkdir results
- cp results.pdf results/