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/09/24 16:04]
val [Подключение через API]
инструмент_gitlab [2022/09/27 13:17]
val [Пример shell Kubernetes]
Line 49: Line 49:
 ==== Подключение через API ==== ==== Подключение через API ====
  
-  * [[https://​docs.gitlab.com/​ee/​user/​project/​settings/​project_access_tokens.html|Project access tokens]] (в примере достаточно ​пункта ​api)+  * [[https://​docs.gitlab.com/​ee/​user/​project/​settings/​project_access_tokens.html|Project access tokens]] (в примере достаточно ​role: Reporter, Scopes: ​api)
   * [[https://​stackoverflow.com/​questions/​39559689/​where-do-i-find-the-project-id-for-the-gitlab-api|Where do I find the project ID for the GitLab API?]]   * [[https://​stackoverflow.com/​questions/​39559689/​where-do-i-find-the-project-id-for-the-gitlab-api|Where do I find the project ID for the GitLab API?]]
   * [[https://​stackoverflow.com/​questions/​56943327/​how-to-download-a-single-file-from-gitlab|How to download a single file from GitLab?]]   * [[https://​stackoverflow.com/​questions/​56943327/​how-to-download-a-single-file-from-gitlab|How to download a single file from GitLab?]]
Line 310: Line 310:
 ... ...
 </​code><​code>​ </​code><​code>​
 +# в GitLab будет устанавлено автоматически
 +gitlab-runner@gate:​~/​webd$ export CI_COMMIT_MESSAGE="​ver 1.2"
 +
 gitlab-runner@gate:​~/​webd$ cat deploy.sh gitlab-runner@gate:​~/​webd$ cat deploy.sh
 </​code><​code>​ </​code><​code>​
инструмент_gitlab.txt · Last modified: 2024/04/16 08:16 by val