| ... | ... | @@ -17,9 +17,11 @@ In IHEP cluster: |
|
|
|
* 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'
|
|
|
|
* Create a soft link `$HOME/.gitlab-runner` to the previous path.
|
|
|
|
* Create a soft link `$HOME/.gitlab-runner` pointing to the current directory.
|
|
|
|
* The reason is that AFS will be locked when the keberos token is expired.
|
|
|
|
* Register with token
|
|
|
|
* `bash setup-gitlab-runner.sh new glrt-XXXXXXXXXXXXXXXX`
|
|
|
|
* By default, the information will be saved into `$HOME/.gitlab-runner`.
|
|
|
|
* Because we already create a soft link to the current directory, you can find `config.toml` and `.runner_system_id` in the current directory.
|
|
|
|
* Start the instance
|
|
|
|
* `bash setup-gitlab-runner.sh start` |
|
|
\ No newline at end of file |