This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
инструмент_gitlab [2024/02/27 20:40] val [Установка через docker-compose] |
инструмент_gitlab [2024/04/16 08:14] val [Установка из пакета] |
||
---|---|---|---|
Line 38: | Line 38: | ||
server# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | bash | server# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | bash | ||
- | server# time EXTERNAL_URL="http://server.corpX.un" apt-get install gitlab-ce | + | server# time EXTERNAL_URL="http://$(hostname)" apt-get install gitlab-ce |
... | ... | ||
real 38m49.787s !!! Загрузка может прерываться, надо повторять команду !!! | real 38m49.787s !!! Загрузка может прерываться, надо повторять команду !!! | ||
Line 272: | Line 272: | ||
<code> | <code> | ||
- | # apt install gitlab-runner # достаточно для shell executor но не отображает команды ci/cd в gitlab | + | # wget http://gate.isp.un/unix/Git/gitlab-runner_amd64.deb |
- | или | + | ##2 часа## curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb" |
- | # wget http://gate.isp.un/unix/Git/gitlab-runner_amd64.deb | ||
- | ##2 часа## curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb" | ||
# dpkg -i gitlab-runner_amd64.deb | # dpkg -i gitlab-runner_amd64.deb | ||
</code> | </code> | ||
Line 302: | Line 300: | ||
<code> | <code> | ||
- | # gitlab-runner register -n --executor "shell" -u http://server.corp13.un -r "NNNNNNNNNNNNNNNNNNNNNNNNNNNN" | + | # gitlab-runner register -n --executor "shell" -u http://server.corpX.un -r "NNNNNNNNNNNNNNNNNNNNNNNNNNNN" |
</code> | </code> | ||