This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
инструмент_gitlab [2024/03/12 16:25] val [Регистрация] |
инструмент_gitlab [2024/06/13 08:39] (current) val [Установка через docker-compose] |
||
---|---|---|---|
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 84: | Line 84: | ||
- '/srv/gitlab/data:/var/opt/gitlab' | - '/srv/gitlab/data:/var/opt/gitlab' | ||
shm_size: '256m' | shm_size: '256m' | ||
+ | logging: | ||
+ | driver: "json-file" | ||
+ | options: | ||
+ | max-size: "2048m" | ||
</code><code> | </code><code> | ||
# ### cat /etc/gitlab/ssl/gitlab.bmstu.ru.{crt,key} | # ### cat /etc/gitlab/ssl/gitlab.bmstu.ru.{crt,key} | ||
Line 196: | Line 200: | ||
<code> | <code> | ||
- | mkdir /etc/gitlab/ssl/ | + | mkdir -p /etc/gitlab/ssl/ |
cp wild.crt -v /etc/gitlab/ssl/$(hostname).crt | cp wild.crt -v /etc/gitlab/ssl/$(hostname).crt | ||
Line 269: | Line 273: | ||
* [[https://docs.gitlab.com/runner/install/linux-manually.html|Install GitLab Runner manually on GNU/Linux]] | * [[https://docs.gitlab.com/runner/install/linux-manually.html|Install GitLab Runner manually on GNU/Linux]] | ||
- | * [[https://val.bmstu.ru/unix/Git/gitlab-runner_amd64.deb]] (15.0.0) | + | * [[https://val.bmstu.ru/unix/Git/gitlab-runner_amd64.deb]] (16.10.0) |
<code> | <code> | ||
- | # apt install gitlab-runner # достаточно для shell executor но не отображает команды ci/cd в gitlab | ||
- | |||
- | или | ||
- | |||
# wget http://gate.isp.un/unix/Git/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" | ##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> |