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
48aab954
Commit
48aab954
authored
Apr 13, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ruby version in FOSS specs to 3.0
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
9c35c043
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
spec/lib/gitlab/ci/yaml_processor_spec.rb
spec/lib/gitlab/ci/yaml_processor_spec.rb
+4
-4
spec/lib/gitlab/web_ide/config/entry/terminal_spec.rb
spec/lib/gitlab/web_ide/config/entry/terminal_spec.rb
+2
-2
No files found.
spec/lib/gitlab/ci/yaml_processor_spec.rb
View file @
48aab954
...
...
@@ -875,7 +875,7 @@ module Gitlab
config
=
YAML
.
dump
({
image:
"ruby:2.7"
,
services:
[
"mysql"
],
before_script:
[
"pwd"
],
rspec:
{
image:
{
name:
"ruby:
2.5
"
,
entrypoint:
[
"/usr/local/bin/init"
,
"run"
]
},
rspec:
{
image:
{
name:
"ruby:
3.0
"
,
entrypoint:
[
"/usr/local/bin/init"
,
"run"
]
},
services:
[{
name:
"postgresql"
,
alias:
"db-pg"
,
entrypoint:
[
"/usr/local/bin/init"
,
"run"
],
command:
[
"/usr/local/bin/init"
,
"run"
]
},
"docker:dind"
],
...
...
@@ -892,7 +892,7 @@ module Gitlab
options:
{
before_script:
[
"pwd"
],
script:
[
"rspec"
],
image:
{
name:
"ruby:
2.5
"
,
entrypoint:
[
"/usr/local/bin/init"
,
"run"
]
},
image:
{
name:
"ruby:
3.0
"
,
entrypoint:
[
"/usr/local/bin/init"
,
"run"
]
},
services:
[{
name:
"postgresql"
,
alias:
"db-pg"
,
entrypoint:
[
"/usr/local/bin/init"
,
"run"
],
command:
[
"/usr/local/bin/init"
,
"run"
]
},
{
name:
"docker:dind"
}]
...
...
@@ -941,7 +941,7 @@ module Gitlab
config
=
YAML
.
dump
({
image:
"ruby:2.7"
,
services:
[
"mysql"
],
before_script:
[
"pwd"
],
rspec:
{
image:
"ruby:
2.5
"
,
services:
[
"postgresql"
,
"docker:dind"
],
script:
"rspec"
}
})
rspec:
{
image:
"ruby:
3.0
"
,
services:
[
"postgresql"
,
"docker:dind"
],
script:
"rspec"
}
})
config_processor
=
Gitlab
::
Ci
::
YamlProcessor
.
new
(
config
).
execute
...
...
@@ -954,7 +954,7 @@ module Gitlab
options:
{
before_script:
[
"pwd"
],
script:
[
"rspec"
],
image:
{
name:
"ruby:
2.5
"
},
image:
{
name:
"ruby:
3.0
"
},
services:
[{
name:
"postgresql"
},
{
name:
"docker:dind"
}]
},
allow_failure:
false
,
...
...
spec/lib/gitlab/web_ide/config/entry/terminal_spec.rb
View file @
48aab954
...
...
@@ -132,7 +132,7 @@ RSpec.describe Gitlab::WebIde::Config::Entry::Terminal do
{
before_script:
%w[ls pwd]
,
script:
'sleep 100'
,
tags:
[
'webide'
],
image:
'ruby:
2.5
'
,
image:
'ruby:
3.0
'
,
services:
[
'mysql'
],
variables:
{
KEY
:
'value'
}
}
end
...
...
@@ -144,7 +144,7 @@ RSpec.describe Gitlab::WebIde::Config::Entry::Terminal do
yaml_variables:
[{
key:
'KEY'
,
value:
'value'
,
public:
true
}],
job_variables:
[{
key:
'KEY'
,
value:
'value'
,
public:
true
}],
options:
{
image:
{
name:
"ruby:
2.5
"
},
image:
{
name:
"ruby:
3.0
"
},
services:
[{
name:
"mysql"
}],
before_script:
%w[ls pwd]
,
script:
[
'sleep 100'
]
...
...
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