Gitlab Runner¶
- https://docs.gitlab.com/runner/
- https://docs.gitlab.com/runner/executors/README.html
- http://y-hryk.hatenablog.com/entry/2018/08/21/162802
Setup¶
Gitlab RunnerでJUnit形式のレポートを扱う機能はデフォルトOFFらしい。
- https://docs.gitlab.com/ee/ci/junit_test_reports.html#enabling-the-feature
- 画像とか https://twitter.com/team_eririn/status/1204432996385746944
$ sudo gitlab-rails console production
DEPRECATION WARNING: Passing the environment's name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -e option instead. (called from require at bin/rails:4)
--------------------------------------------------------------------------------
GitLab: 12.5.3 (225d2e5bb89)
GitLab Shell: 10.2.0
PostgreSQL: 10.9
--------------------------------------------------------------------------------
Loading production environment (Rails 5.2.3)
irb(main):001:0> Feature.enable(:junit_pipeline_view)
=> true
irb(main):002:0> exit
https://docs.gitlab.com/runner/install/linux-repository.html
# Prerequisites
sudo apt install docker docker.io
# Installing the Runner
## 1
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
## 2
sudo apt install gitlab-runner
## 4 (skipped 3)
sudo gitlab-runner register
gitlab-runner verify
Gitlab runnerがsuspend状態のまま走らないとき
This job is stuck, because the project doesn't have any runners online assigned to it.
- https://stackoverflow.com/questions/53370840/this-job-is-stuck-because-the-project-doesnt-have-any-runners-online-assigned
最終更新日: 2021-05-19 14:16:14