notes
tags
updated 11 seconds ago
notes with tags:
gitlab
id
text
url
tags
updated_at
4502
GitLab Runner commands | GitLab - [How do I delete/unregister a GitLab runner - Stack Overflow](https://stackoverflow.com/questions/66616014/how-do-i-delete-unregister-a-gitlab-runner)
https://docs.gitlab.com/runner/commands/
gitlab
2023 Aug 15 06:14
4508
heavy gitlab users - read `.gitlab-ci.yml` configs
https://code.videolan.org/
gitlab
2023 Jul 09 18:26
4507
You can run gitlab `shell`-executor-based runner as some user and in some working directory instead of default `gitlab-runner` user and `/home/gitlab-runner` working directory ``` sudo vim /etc/systemd/system/gitlab-runner.service systemctl daemon-reload systemctl restart gitlab-runner.service ``` ``` # ExecStart=/usr/bin/gitlab-runner "run" "--working-directory" "/home/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner" ExecStart=/usr/bin/gitlab-runner "run" "--working-directory" "/home/tandav" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "tandav" ```
https://docs.gitlab.com/runner/configuration/init.html
gitlab
2023 Jul 09 18:15
4482
python-gitlab v3.15.0
https://python-gitlab.readthedocs.io/en/stable/index.html
coding
python
tools
gitlab
2023 Jul 09 10:24
4499
`only` and `except` are not being actively developed. `rules` is the preferred keyword to control when to add jobs to pipelines.
https://docs.gitlab.com/ee/ci/yaml/#only--except
coding
gitlab
2023 Jul 09 10:24
4481
`GIT_DEPTH` Optimize GitLab for large repositories | GitLab also there'is a option in settings/ci-cd - `Git shallow clone` which is default to `20`
https://docs.gitlab.com/ee/ci/large_repositories/#shallow-cloning
coding
lan
gitlab
2023 Jul 09 10:24
4500
- try use gitlab `shell` runner instead webhooklib - try use gitlab `trigger` keyword instead of webhooklib `curl --fail-with-body ${WEBHOOK_URL}` - probably this is not possible
https://gitlab.tandav.me/tandav/selfhosted/-/blob/master/.gitlab-ci.yml#L14
libmv
gitlab
2023 Jul 09 10:24
4501
shell executor: Use Docker to build Docker images | GitLab
https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-the-shell-executor
coding
lan
gitlab
2023 Jul 09 10:24
1