mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Remove get-dockerfile job
This commit is contained in:
parent
4be7f08ce4
commit
27781d3c2b
@ -82,18 +82,6 @@ ubuntu18.04:
|
|||||||
- make install
|
- 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"
|
# Stage "test"
|
||||||
run-tests-amd64:
|
run-tests-amd64:
|
||||||
image: debian:9.3-slim
|
image: debian:9.3-slim
|
||||||
@ -146,6 +134,9 @@ docker-gnsssdr:
|
|||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
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"
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
|
||||||
script:
|
script:
|
||||||
- mkdir docker-build
|
- mkdir docker-build
|
||||||
@ -153,8 +144,6 @@ docker-gnsssdr:
|
|||||||
- cp ../docker-gnsssdr/Dockerfile .
|
- cp ../docker-gnsssdr/Dockerfile .
|
||||||
- docker build -t carlesfernandez/docker-gnsssdr .
|
- docker build -t carlesfernandez/docker-gnsssdr .
|
||||||
- docker push carlesfernandez/docker-gnsssdr
|
- docker push carlesfernandez/docker-gnsssdr
|
||||||
dependencies:
|
|
||||||
- get-dockerfile
|
|
||||||
|
|
||||||
|
|
||||||
# Stage "experiment"
|
# Stage "experiment"
|
||||||
@ -165,7 +154,7 @@ run-experiment:
|
|||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get upgrade -y
|
- apt-get upgrade -y
|
||||||
# Grab analysis and representation tools
|
# 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
|
# Grab the data set
|
||||||
- apt-get install -y curl
|
- apt-get install -y curl
|
||||||
- cd data
|
- cd data
|
||||||
@ -175,8 +164,9 @@ run-experiment:
|
|||||||
- md5sum -c data.md5
|
- md5sum -c data.md5
|
||||||
- cd ..
|
- cd ..
|
||||||
# Execute the experiment (example)
|
# 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
|
- octave --no-gui my_test_file.m
|
||||||
|
- epspdf results.eps results.pdf
|
||||||
- mkdir results
|
- mkdir results
|
||||||
- cp results.pdf results/
|
- cp results.pdf results/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user