Auto DevOps `build` stage not working when using our default Rails template
Summary
Running Auto DevOps on a project based on our ruby template results in a build
stage failure.
Steps to reproduce
- Create a new project "from template"
- select "Ruby on Rails"
- Run Auto DevOps pipeline
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)
What is the current bug behavior?
build
stage fails
What is the expected correct behavior?
build
stage succeeds.
Relevant logs and/or screenshots
Your Ruby version is 2.5.5, but your Gemfile specified 2.5.1
The command '/bin/sh -c apk add --no-cache --virtual build-deps build-base postgresql-dev && bundle install && apk del build-deps' returned a non-zero code: 18
The push refers to repository [registry.gitlab.com/joshlambert/11-9-test/master]
An image does not exist locally with the tag: registry.gitlab.com/joshlambert/11-9-test/master
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)