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
bf7b53a0
Commit
bf7b53a0
authored
Nov 04, 2020
by
Hordur Freyr Yngvason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused CI YAML stub from limit specs
parent
bd71bb53
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb
ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb
+0
-9
ee/spec/lib/gitlab/ci/pipeline/chain/limit/size_spec.rb
ee/spec/lib/gitlab/ci/pipeline/chain/limit/size_spec.rb
+0
-4
No files found.
ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb
View file @
bf7b53a0
...
@@ -20,21 +20,12 @@ RSpec.describe EE::Gitlab::Ci::Pipeline::Quota::Size do
...
@@ -20,21 +20,12 @@ RSpec.describe EE::Gitlab::Ci::Pipeline::Quota::Size do
shared_context
'pipeline size limit exceeded'
do
shared_context
'pipeline size limit exceeded'
do
before
do
before
do
config
=
YAML
.
dump
({
rspec:
{
script:
'rspec'
},
spinach:
{
script:
'spinach'
}
})
stub_ci_pipeline_yaml_file
(
config
)
plan_limits
.
update!
(
ci_pipeline_size:
1
)
plan_limits
.
update!
(
ci_pipeline_size:
1
)
end
end
end
end
shared_context
'pipeline size limit not exceeded'
do
shared_context
'pipeline size limit not exceeded'
do
before
do
before
do
config
=
YAML
.
dump
({
rspec:
{
script:
'rspec'
}
})
stub_ci_pipeline_yaml_file
(
config
)
plan_limits
.
update!
(
ci_pipeline_size:
2
)
plan_limits
.
update!
(
ci_pipeline_size:
2
)
end
end
end
end
...
...
ee/spec/lib/gitlab/ci/pipeline/chain/limit/size_spec.rb
View file @
bf7b53a0
...
@@ -25,10 +25,6 @@ RSpec.describe ::Gitlab::Ci::Pipeline::Chain::Limit::Size do
...
@@ -25,10 +25,6 @@ RSpec.describe ::Gitlab::Ci::Pipeline::Chain::Limit::Size do
gold_plan
=
create
(
:gold_plan
)
gold_plan
=
create
(
:gold_plan
)
create
(
:plan_limits
,
plan:
gold_plan
,
ci_pipeline_size:
1
)
create
(
:plan_limits
,
plan:
gold_plan
,
ci_pipeline_size:
1
)
create
(
:gitlab_subscription
,
namespace:
namespace
,
hosted_plan:
gold_plan
)
create
(
:gitlab_subscription
,
namespace:
namespace
,
hosted_plan:
gold_plan
)
stub_ci_pipeline_yaml_file
(
YAML
.
dump
({
rspec:
{
script:
'rspec'
},
spinach:
{
script:
'spinach'
}
}))
end
end
context
'when saving incomplete pipelines'
do
context
'when saving incomplete pipelines'
do
...
...
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