Skip to content
Snippets Groups Projects
Commit 9746daf8 authored by Jan Caron's avatar Jan Caron
Browse files

Added yml line to install jutil (probably does not work...)

parent 918b2457
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,13 @@ image: "python:3.5" ...@@ -3,10 +3,13 @@ image: "python:3.5"
before_script: before_script:
# Check and print Python version # Check and print Python version
- python --version - python --version
# List installed stuff:
- apt list --installed
####- pip install hyperspy tqdm cmocean nose ####- pip install hyperspy tqdm cmocean nose
# Run ssh-agent, "-s" forces generation of Bourne shell (/bin/sh) commands on stdout: # Run ssh-agent, "-s" forces generation of Bourne shell (/bin/sh) commands on stdout:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
# Add SSH key for jutil to the agent store: # Add SSH key for jutil to the agent store:
- echo "$SSH_KEY_JUTIL"
- ssh-add <(echo "$SSH_KEY_JUTIL") - ssh-add <(echo "$SSH_KEY_JUTIL")
# For Docker builds disable host key checking. Be aware that by adding that # For Docker builds disable host key checking. Be aware that by adding that
# you are suspectible to man-in-the-middle attacks. # you are suspectible to man-in-the-middle attacks.
...@@ -14,6 +17,7 @@ before_script: ...@@ -14,6 +17,7 @@ before_script:
# you will overwrite your user's SSH config. # you will overwrite your user's SSH config.
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- pip install git+ssh://gitlab@iffgit.fz-juelich.de/unger/jutil.git
- echo "Done" - echo "Done"
stages: stages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment