gitlab-ci test are not representing an actual situation.
In our gitlab-ci file, we have this Ruby test
test:ruby:
image: "ruby:2.7"
script:
- mkdir -p output
- ruby ./gitlabsos.rb --output-file ./output/gitlabsos-${CI_JOB_ID}.tar.gz
artifacts:
name: "gitlabsos-$CI_JOB_ID"
paths:
- output/
This doesn't reflect the use case when someone runs GitLabSOS since we assume it needs to be run on an Omnibus-installed GitLab instance.
Since I'm working on improving GitLabSOS (that includes tests), this is a reminder for me.