install-gitlabrunner.sh 361 Bytes
Newer Older
Jean-Francois Rey's avatar
Jean-Francois Rey committed
1
2
3
4
#!/bin/bash

# Download and install gitlab-runner
sudo curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64
Jean-Francois Rey's avatar
Jean-Francois Rey committed
5
sudo chmod +x /usr/local/bin/gitlab-runner
Jean-Francois Rey's avatar
Jean-Francois Rey committed
6
7

# add gitlab serveur in know host
8
mkdir -p ~/.ssh/ || true
Jean-Francois Rey's avatar
Jean-Francois Rey committed
9
ssh-keyscan -t ecdsa -H gitlab.paca.inrae.fr >> ~/.ssh/known_hosts