Add localhost key to knwon_hosts
This commit is contained in:
parent
af90bab029
commit
602ce576dd
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ before_script:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- ssh-add -l
|
- ssh-add -l
|
||||||
|
- ssh-keyscan localhost >> ~/.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
|
||||||
- echo "private_token = ${PRIVATE_API_TOKEN}" >> $HOME/.python-gitlab.cfg
|
- echo "private_token = ${PRIVATE_API_TOKEN}" >> $HOME/.python-gitlab.cfg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue