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
54167f64
Commit
54167f64
authored
Apr 08, 2022
by
Tiffany Rea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unquarantine test upon feature fixed
parent
fc53b78d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
qa/qa/specs/features/browser_ui/4_verify/pipeline/run_pipeline_with_manual_jobs_spec.rb
...i/4_verify/pipeline/run_pipeline_with_manual_jobs_spec.rb
+13
-7
No files found.
qa/qa/specs/features/browser_ui/4_verify/pipeline/run_pipeline_with_manual_jobs_spec.rb
View file @
54167f64
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Verify'
,
:runner
,
quarantine:
{
type: :flaky
,
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/351994'
}
do
RSpec
.
describe
'Verify'
,
:runner
do
describe
'Run pipeline with manual jobs'
do
let
(
:executor
)
{
"qa-runner-
#{
SecureRandom
.
hex
(
4
)
}
"
}
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'pipeline-with-manual-job'
...
...
@@ -16,7 +15,8 @@ module QA
let!
(
:runner
)
do
Resource
::
Runner
.
fabricate!
do
|
runner
|
runner
.
project
=
project
runner
.
name
=
"qa-runner-
#{
SecureRandom
.
hex
(
3
)
}
"
runner
.
name
=
executor
runner
.
tags
=
[
executor
]
end
end
...
...
@@ -36,22 +36,26 @@ module QA
Prep:
stage: Stage1
tags: ["
#{
executor
}
"]
script: exit 0
when: manual
Build:
stage: Stage2
tags: ["
#{
executor
}
"]
needs: ['Prep']
script: exit 0
parallel: 6
Test:
stage: Stage3
tags: ["
#{
executor
}
"]
needs: ['Build']
script: exit 0
Deploy:
stage: Stage3
tags: ["
#{
executor
}
"]
needs: ['Test']
script: exit 0
parallel: 6
...
...
@@ -70,10 +74,12 @@ module QA
after
do
runner
&
.
remove_via_api!
project
&
.
remove_via_api!
end
it
'does not leave any job in skipped state'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/349158'
do
it
(
'does not leave any job in skipped state'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/349158'
)
do
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
show
|
show
.
click_job_action
(
'Prep'
)
# Trigger pipeline manually
...
...
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