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
e1e4188c
Commit
e1e4188c
authored
Jul 08, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
9f9638a7
baf6ea49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
8 deletions
+47
-8
qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
...igure/auto_devops/create_project_with_auto_devops_spec.rb
+47
-8
No files found.
qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
View file @
e1e4188c
...
@@ -9,6 +9,52 @@ module QA
...
@@ -9,6 +9,52 @@ module QA
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
def
disable_optional_jobs
(
project
)
# Disable code_quality check in Auto DevOps pipeline as it takes
# too long and times out the test
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
project
resource
.
key
=
'CODE_QUALITY_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
project
resource
.
key
=
'LICENSE_MANAGEMENT_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
project
resource
.
key
=
'SAST_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
project
resource
.
key
=
'DEPENDENCY_SCANNING_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
project
resource
.
key
=
'CONTAINER_SCANNING_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
project
resource
.
key
=
'DAST_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
end
# Failure issue: https://gitlab.com/gitlab-org/quality/nightly/issues/108
# Failure issue: https://gitlab.com/gitlab-org/quality/nightly/issues/108
describe
'Auto DevOps support'
,
:orchestrated
,
:kubernetes
,
:quarantine
do
describe
'Auto DevOps support'
,
:orchestrated
,
:kubernetes
,
:quarantine
do
context
'when rbac is enabled'
do
context
'when rbac is enabled'
do
...
@@ -28,14 +74,7 @@ module QA
...
@@ -28,14 +74,7 @@ module QA
p
.
description
=
'Project with Auto DevOps'
p
.
description
=
'Project with Auto DevOps'
end
end
# Disable code_quality check in Auto DevOps pipeline as it takes
disable_optional_jobs
(
@project
)
# too long and times out the test
Resource
::
CiVariable
.
fabricate!
do
|
resource
|
resource
.
project
=
@project
resource
.
key
=
'CODE_QUALITY_DISABLED'
resource
.
value
=
'1'
resource
.
masked
=
false
end
# Set an application secret CI variable (prefixed with K8S_SECRET_)
# Set an application secret CI variable (prefixed with K8S_SECRET_)
Resource
::
CiVariable
.
fabricate!
do
|
resource
|
Resource
::
CiVariable
.
fabricate!
do
|
resource
|
...
...
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