Skip to content
Snippets Groups Projects
Commit 26c91749 authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'SW-966' of git.astron.nl:ro/lofar into SW-966

parents 4064cd27 ba74c800
No related branches found
No related tags found
3 merge requests!634WIP: COBALT commissioning delta,!501SW-966: build lofar-pulp in gitlab CI,!481Draft: SW-971 SW-973 SW-975: Various fixes to build LOFAR correctly.
...@@ -132,6 +132,7 @@ build_lofar_pulp_docker_image: ...@@ -132,6 +132,7 @@ build_lofar_pulp_docker_image:
needs: needs:
- build_pulp_docker_image - build_pulp_docker_image
interruptible: true interruptible: true
when: manual
# #
...@@ -398,6 +399,15 @@ deploy-MCU_MAC-test: ...@@ -398,6 +399,15 @@ deploy-MCU_MAC-test:
deploy-PULP: deploy-PULP:
stage: deploy stage: deploy
before_script:
# needed so that gitlab-runner can login at cep4
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan head.cep4.control.lofar >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script: script:
# notice we do NOT use 'lofar-pulp' as name here (yet) # notice we do NOT use 'lofar-pulp' as name here (yet)
# TODO: when the new pulp-image-via-gitlab-via-nexus-to-cep4 is done and working, then and only then rename it here to the widely used docker image name 'lofar-pulp' # TODO: when the new pulp-image-via-gitlab-via-nexus-to-cep4 is done and working, then and only then rename it here to the widely used docker image name 'lofar-pulp'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment