Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
71fd4fa0
Commit
71fd4fa0
authored
Apr 13, 2021
by
Takuya Noguchi
Committed by
Marcel Amirault
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace ruby:2.5 with ruby:3.0 in CI docs
parent
05def397
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+8
-7
No files found.
doc/ci/yaml/README.md
View file @
71fd4fa0
...
...
@@ -92,19 +92,19 @@ These job keywords can be defined inside a `default:` section:
-
[
`tags`
](
#tags
)
-
[
`timeout`
](
#timeout
)
The following example sets the
`ruby:
2.5
`
image as the default for all jobs in the pipeline.
The
`rspec 2.
6
`
job does not use the default, because it overrides the default with
The following example sets the
`ruby:
3.0
`
image as the default for all jobs in the pipeline.
The
`rspec 2.
7
`
job does not use the default, because it overrides the default with
a job-specific
`image:`
section:
```
yaml
default
:
image
:
ruby:
2.5
image
:
ruby:
3.0
rspec
:
script
:
bundle exec rspec
rspec 2.
6
:
image
:
ruby:2.
6
rspec 2.
7
:
image
:
ruby:2.
7
script
:
bundle exec rspec
```
...
...
@@ -5088,13 +5088,14 @@ Use [`default:`](#custom-default-keyword-values) instead. For example:
```
yaml
default
:
image
:
ruby:
2.5
image
:
ruby:
3.0
services
:
-
docker:dind
cache
:
paths
:
[
vendor/
]
before_script
:
-
bundle install --path vendor/
-
bundle config set path vendor/bundle
-
bundle install
after_script
:
-
rm -rf tmp/
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment