Gitlab CE
- curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
- add below to file /etc/apt/sources.list.d/gitlab-ce.list
deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu xenial main - sudo apt-get update
sudo apt-get install EXTERNAL_URL="http://ip or hostname" gitlab-ce
Gitlab CI Multi Runner
- curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
- add below to file /etc/apt/sources.list.d/gitlab-ce.list
deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ci-multi-runner/ubuntu xenial main - sudo apt-get update
- sudo apt-get install gitlab-ci-multi-runner
Gitlab Runner
- curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
- add below to file /etc/apt/sources.list.d/gitlab-ce.list
deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/ubuntu xenial main - sudo apt-get update
- sudo apt-get install gitlab-runner
网友评论