| ... | ... | @@ -6,7 +6,7 @@ In GitLab web portal: |
|
|
|
|
|
|
|
* First, you need to go to "settings" -> "CI/CD" -> "Runners".
|
|
|
|
* Click "New project runner".
|
|
|
|
* In tags, fill "centos7". Then click "create".
|
|
|
|
* In tags, fill "`centos7`". Then click "create".
|
|
|
|
* Save the token.
|
|
|
|
|
|
|
|
In IHEP cluster:
|
| ... | ... | @@ -15,7 +15,7 @@ In IHEP cluster: |
|
|
|
* Create a directory named 'ihep-gitlab-runner' and cd to it.
|
|
|
|
* Use `realpath` to get the real directory.
|
|
|
|
* Some user paths are soft links, which will cause apptainer can't access the storage.
|
|
|
|
* Copy the script '~lint/setup-gitlab-runner.sh' to current directoy.
|
|
|
|
* Copy the script '`~lint/setup-gitlab-runner.sh`' to current directoy.
|
|
|
|
* Edit this script
|
|
|
|
* Change RUNNER_TOP_DIR to the current directory.
|
|
|
|
* Change APPTAINER_BINDPATH and add the necessary mount path, such as '/cvmfs,/afs,/scratchfs'. Please make sure the necessary paths are added, otherwise the container could not access these paths.
|
| ... | ... | @@ -32,4 +32,5 @@ In IHEP cluster: |
|
|
|
| host | creator | path |
|
|
|
|
| ----------- | ------- | ----- |
|
|
|
|
| lxlogin001 | Tao Lin | /tmp |
|
|
|
|
| beslogin001 | Tao Lin | /tmp | |
|
|
\ No newline at end of file |
|
|
|
| beslogin001 | Tao Lin | /tmp |
|
|
|
|
| beslogin002 | Tao Lin | /tmp | |
|
|
\ No newline at end of file |