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/23 19:30]
val [Пример shell docker]
инструмент_gitlab [2022/09/23 19:45]
val [Пример shell docker]
Line 229: Line 229:
  
 <​code>​ <​code>​
-export CI_REGISTRY=server.corpX.un:​5000+# Надо назначить в GitLab  
 +export CI_REGISTRY=server.corpX.un:​5000 ​
 export CI_REGISTRY_IMAGE=student/​webd export CI_REGISTRY_IMAGE=student/​webd
 export CI_REGISTRY_USER=student export CI_REGISTRY_USER=student
 export CI_REGISTRY_PASSWORD=password export CI_REGISTRY_PASSWORD=password
  
-export CI_COMMIT_MESSAGE="​ver1.N" ​  # устанавливается ​автоматически+в GitLab будет ​устанавлено автоматически 
 +export CI_COMMIT_MESSAGE="​ver 1.2" ​  
 </​code>​ </​code>​
  
 <​code>​ <​code>​
 gitlab-runner@server:​~/​webd$ cat build.sh gitlab-runner@server:​~/​webd$ cat build.sh
 +...
 + ​--->​ Using cache
 +...
 +..............:​ Layer already exists
 +...
 </​code><​code>​ </​code><​code>​
 #!/bin/sh #!/bin/sh
инструмент_gitlab.txt · Last modified: 2024/06/13 08:39 by val