gitlab
How do we change the URL of a working GitLab install?
GitLab Omnibus For an Omnibus install, it is a little different. The correct place in an Omnibus install is: /etc/gitlab/gitlab.rb external_url ‘http://gitlab.example.com’ Finally, you’ll need to execute sudo gitlab-ctl reconfigure and sudo gitlab-ctl restart so the changes apply. I was making changes in the wrong places and they were getting blown away. The incorrect paths … Read more
How can I pass artifacts to another stage?
Use dependencies. With this config test stage will download the untracked files that were created during the build stage: build: stage: build artifacts: untracked: true script: – ./Build.ps1 test: stage: test dependencies: – build script: – ./Test.ps1
Change Gitlab CI Runner user
Running ps aux | grep gitlab you can see: /usr/bin/gitlab-ci-multi-runner run –working-directory /home/gitlab-runner –config /etc/gitlab-runner/config.toml –service gitlab-runner –syslog –user gitlab-runner Service is running with option –user. So let’s change this, it depends on what distro. you are running it. If systemd, there is a file: /etc/systemd/system/gitlab-runner.service: [Service] StartLimitInterval=5 StartLimitBurst=10 ExecStart=/usr/bin/gitlab-ci-multi-runner “run” “–working-directory” “/home/gitlab-runner” “–config” “/etc/gitlab-runner/config.toml” … Read more