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
65355d7e
Commit
65355d7e
authored
Feb 17, 2020
by
Adrien Kohlbecker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove project_path key in environments entity
parent
f7162d5f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
9 deletions
+0
-9
ee/app/serializers/ee/environment_entity.rb
ee/app/serializers/ee/environment_entity.rb
+0
-4
ee/spec/fixtures/api/schemas/environment.json
ee/spec/fixtures/api/schemas/environment.json
+0
-3
ee/spec/frontend/environments/mock_data.js
ee/spec/frontend/environments/mock_data.js
+0
-1
spec/fixtures/api/schemas/environment.json
spec/fixtures/api/schemas/environment.json
+0
-1
No files found.
ee/app/serializers/ee/environment_entity.rb
View file @
65355d7e
...
@@ -8,10 +8,6 @@ module EE
...
@@ -8,10 +8,6 @@ module EE
prepended
do
prepended
do
expose
:rollout_status
,
if:
->
(
*
)
{
can_read_deploy_board?
},
using:
::
RolloutStatusEntity
expose
:rollout_status
,
if:
->
(
*
)
{
can_read_deploy_board?
},
using:
::
RolloutStatusEntity
expose
:project_path
do
|
environment
|
project_path
(
environment
.
project
)
end
expose
:logs_path
,
if:
->
(
*
)
{
can_read_pod_logs?
}
do
|
environment
|
expose
:logs_path
,
if:
->
(
*
)
{
can_read_pod_logs?
}
do
|
environment
|
project_logs_path
(
environment
.
project
,
environment_name:
environment
.
name
)
project_logs_path
(
environment
.
project
,
environment_name:
environment
.
name
)
end
end
...
...
ee/spec/fixtures/api/schemas/environment.json
View file @
65355d7e
...
@@ -57,9 +57,6 @@
...
@@ -57,9 +57,6 @@
"folder_path"
:
{
"folder_path"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"project_path"
:
{
"type"
:
"string"
},
"created_at"
:
{
"created_at"
:
{
"type"
:
"date"
"type"
:
"date"
},
},
...
...
ee/spec/frontend/environments/mock_data.js
View file @
65355d7e
...
@@ -108,7 +108,6 @@ const sharedEnvironmentData = id => ({
...
@@ -108,7 +108,6 @@ const sharedEnvironmentData = id => ({
has_stop_action
:
false
,
has_stop_action
:
false
,
id
,
id
,
last_deployment
:
null
,
last_deployment
:
null
,
project_path
:
'
/root/review-app
'
,
rollout_status
:
{},
rollout_status
:
{},
state
:
'
available
'
,
state
:
'
available
'
,
stop_path
:
`/root/review-app/environments/
${
id
}
/stop`
,
stop_path
:
`/root/review-app/environments/
${
id
}
/stop`
,
...
...
spec/fixtures/api/schemas/environment.json
View file @
65355d7e
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
"stop_path"
:
{
"type"
:
"string"
},
"stop_path"
:
{
"type"
:
"string"
},
"cancel_auto_stop_path"
:
{
"type"
:
"string"
},
"cancel_auto_stop_path"
:
{
"type"
:
"string"
},
"folder_path"
:
{
"type"
:
"string"
},
"folder_path"
:
{
"type"
:
"string"
},
"project_path"
:
{
"type"
:
"string"
},
"created_at"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"created_at"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"updated_at"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"updated_at"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"auto_stop_at"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"auto_stop_at"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
...
...
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