1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 20:50:33 +00:00

Fix docker deployment

This commit is contained in:
Carles Fernandez 2018-02-15 08:33:48 +01:00
parent b38c4fd469
commit 991ecb8f37

View File

@ -138,7 +138,7 @@ docker-gnsssdr:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
- mkdir docker-build - mkdir docker-build
- cd docker-build - cd docker-build
- cp ../docker-gnsssdr/Dockerfile . - cp ../Dockerfile .
- docker build -t carlesfernandez/docker-gnsssdr . - docker build -t carlesfernandez/docker-gnsssdr .
- docker push carlesfernandez/docker-gnsssdr - docker push carlesfernandez/docker-gnsssdr
@ -160,7 +160,7 @@ 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, ['$\leftarrow x = {frac{2}{\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\", \"-depsc\"); " > 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, ['$ \leftarrow x = \frac{2}{\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\", \"-depsc\"); " > my_test_file.m
- octave --no-gui my_test_file.m - octave --no-gui my_test_file.m
- epspdf results.eps results.pdf - epspdf results.eps results.pdf
- mkdir results - mkdir results