Docs feedback: Top level values for `image` and `before_script` included in the example are now deprecated
Problem to solve
In the quick start guide, the following example is used to demonstrate a basic ci config:
image: "ruby:2.5"
before_script:
- apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs
- ruby -v
- which ruby
- gem install bundler --no-document
- bundle install --jobs $(nproc) "${FLAGS[@]}"
rspec:
script:
- bundle exec rspec
rubocop:
script:
- bundle exec rubocop
As you can see, values for image
and before_script
are at the top level.
But in the pipeline reference documentation, it's stated that support for globally defined values for image
and before_script
are deprecated and may not be supported in the future.
Proposal
Easy issue to fix I think - used the default
field instead!
Edited by Jason Yavorska