Substitute CI server name

This commit is contained in:
Tim Schubert 2018-05-17 17:32:14 +02:00
parent 960e357519
commit 9c3f2afd1c

View file

@ -15,7 +15,7 @@ before_script:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- ssh-add -l - ssh-add -l
- ssh-keyscan localhost | tee ~/.ssh/known_hosts - ssh-keyscan $CI_SERVER_NAME | tee ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
## get API token from secret variable ## get API token from secret variable
- cp python-gitlab.cfg $HOME/.python-gitlab.cfg - cp python-gitlab.cfg $HOME/.python-gitlab.cfg