User Tools

Site Tools


инструмент_gitlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
инструмент_gitlab [2022/06/08 16:09]
val [GitLab Runner]
инструмент_gitlab [2022/06/10 20:36]
val [GitLab Runner]
Line 20: Line 20:
  
   * [[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) ​
  
 <​code>​ <​code>​
Line 37: Line 38:
 root@node2:​~#​ systemctl start gitlab-runner root@node2:​~#​ systemctl start gitlab-runner
 </​code>​ </​code>​
 +
 +==== GitLab CI/CD ====
 +
 +  * [[https://​docs.gitlab.com/​ee/​ci/​examples/​|GitLab CI/CD Examples]]
 +
 +<​code>​
 +vagrant@node1:​~/​project1$ cat .gitlab-ci.yml
 +before_script:​
 +  - echo "​Before script section"​ >> /​tmp/​Bash.gitlab-ci.log
 +
 +after_script:​
 +  - echo "After script section"​ >> /​tmp/​Bash.gitlab-ci.log
 +
 +deploy1:
 +  stage: deploy
 +  script:
 +    - echo "Do your deploy here" >> /​tmp/​Bash.gitlab-ci.log
 +    - docker-compose up -d
 +</​code>​
 +
 ==== Управление пользователями ==== ==== Управление пользователями ====
  
инструмент_gitlab.txt · Last modified: 2024/06/13 08:39 by val