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
d54bb8b5
Commit
d54bb8b5
authored
Aug 05, 2020
by
svistas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Express template for auto devops app
parent
737b0d43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
22 deletions
+10
-22
qa/qa/specs/features/browser_ui/8_monitor/all_monitor_core_features_spec.rb
...es/browser_ui/8_monitor/all_monitor_core_features_spec.rb
+5
-11
qa/qa/specs/features/ee/browser_ui/8_monitor/all_monitor_features_spec.rb
...ures/ee/browser_ui/8_monitor/all_monitor_features_spec.rb
+5
-11
No files found.
qa/qa/specs/features/browser_ui/8_monitor/all_monitor_core_features_spec.rb
View file @
d54bb8b5
...
@@ -8,6 +8,7 @@ module QA
...
@@ -8,6 +8,7 @@ module QA
@project
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
@project
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'monitoring-project'
project
.
name
=
'monitoring-project'
project
.
auto_devops_enabled
=
true
project
.
auto_devops_enabled
=
true
project
.
template_name
=
'express'
end
end
deploy_project_with_prometheus
deploy_project_with_prometheus
...
@@ -83,7 +84,7 @@ module QA
...
@@ -83,7 +84,7 @@ module QA
%w[
%w[
CODE_QUALITY_DISABLED TEST_DISABLED LICENSE_MANAGEMENT_DISABLED
CODE_QUALITY_DISABLED TEST_DISABLED LICENSE_MANAGEMENT_DISABLED
SAST_DISABLED DAST_DISABLED DEPENDENCY_SCANNING_DISABLED
SAST_DISABLED DAST_DISABLED DEPENDENCY_SCANNING_DISABLED
CONTAINER_SCANNING_DISABLED PERFORMANCE_DISABLED
CONTAINER_SCANNING_DISABLED PERFORMANCE_DISABLED
SECRET_DETECTION_DISABLED
]
.
each
do
|
key
|
]
.
each
do
|
key
|
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
@project
resource
.
project
=
@project
...
@@ -103,16 +104,9 @@ module QA
...
@@ -103,16 +104,9 @@ module QA
cluster_settings
.
install_prometheus
=
true
cluster_settings
.
install_prometheus
=
true
end
end
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
Resource
::
Pipeline
.
fabricate_via_api!
do
|
pipeline
|
push
.
project
=
@project
pipeline
.
project
=
@project
push
.
directory
=
Pathname
end
.
visit!
.
new
(
__dir__
)
.
join
(
'../../../../fixtures/auto_devops_rack'
)
push
.
commit_message
=
'Create AutoDevOps compatible Project for Monitoring'
end
Page
::
Project
::
Menu
.
perform
(
&
:click_ci_cd_pipelines
)
Page
::
Project
::
Pipeline
::
Index
.
perform
(
&
:click_on_latest_pipeline
)
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
pipeline
.
click_job
(
'build'
)
pipeline
.
click_job
(
'build'
)
...
...
qa/qa/specs/features/ee/browser_ui/8_monitor/all_monitor_features_spec.rb
View file @
d54bb8b5
...
@@ -9,6 +9,7 @@ module QA
...
@@ -9,6 +9,7 @@ module QA
@project
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
@project
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'monitoring-project'
project
.
name
=
'monitoring-project'
project
.
auto_devops_enabled
=
true
project
.
auto_devops_enabled
=
true
project
.
template_name
=
'express'
end
end
deploy_project_with_prometheus
deploy_project_with_prometheus
...
@@ -55,7 +56,7 @@ module QA
...
@@ -55,7 +56,7 @@ module QA
%w[
%w[
CODE_QUALITY_DISABLED TEST_DISABLED LICENSE_MANAGEMENT_DISABLED
CODE_QUALITY_DISABLED TEST_DISABLED LICENSE_MANAGEMENT_DISABLED
SAST_DISABLED DAST_DISABLED DEPENDENCY_SCANNING_DISABLED
SAST_DISABLED DAST_DISABLED DEPENDENCY_SCANNING_DISABLED
CONTAINER_SCANNING_DISABLED PERFORMANCE_DISABLED
CONTAINER_SCANNING_DISABLED PERFORMANCE_DISABLED
SECRET_DETECTION_DISABLED
]
.
each
do
|
key
|
]
.
each
do
|
key
|
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
Resource
::
CiVariable
.
fabricate_via_api!
do
|
resource
|
resource
.
project
=
@project
resource
.
project
=
@project
...
@@ -75,16 +76,9 @@ module QA
...
@@ -75,16 +76,9 @@ module QA
cluster_settings
.
install_prometheus
=
true
cluster_settings
.
install_prometheus
=
true
end
end
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
Resource
::
Pipeline
.
fabricate_via_api!
do
|
pipeline
|
push
.
project
=
@project
pipeline
.
project
=
@project
push
.
directory
=
Pathname
end
.
visit!
.
new
(
__dir__
)
.
join
(
'../../../../../fixtures/auto_devops_rack'
)
push
.
commit_message
=
'Create AutoDevOps compatible Project for Monitoring'
end
Page
::
Project
::
Menu
.
perform
(
&
:click_ci_cd_pipelines
)
Page
::
Project
::
Pipeline
::
Index
.
perform
(
&
:click_on_latest_pipeline
)
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
pipeline
.
click_job
(
'build'
)
pipeline
.
click_job
(
'build'
)
...
...
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