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
d6f37a34
Commit
d6f37a34
authored
Mar 24, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix feature specs related to container registry
parent
16e645c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/controllers/projects/container_registry_controller.rb
app/controllers/projects/container_registry_controller.rb
+2
-2
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+2
-1
No files found.
app/controllers/projects/container_registry_controller.rb
View file @
d6f37a34
...
@@ -5,7 +5,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
...
@@ -5,7 +5,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
layout
'project'
layout
'project'
def
index
def
index
@images
=
project
.
container_
imag
es
@images
=
project
.
container_
repositori
es
end
end
def
destroy
def
destroy
...
@@ -44,7 +44,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
...
@@ -44,7 +44,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
end
end
def
image
def
image
@image
||=
project
.
container_
imag
es
.
find_by
(
id:
params
[
:id
])
@image
||=
project
.
container_
repositori
es
.
find_by
(
id:
params
[
:id
])
end
end
def
tag
def
tag
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
d6f37a34
...
@@ -116,6 +116,7 @@ merge_access_levels:
...
@@ -116,6 +116,7 @@ merge_access_levels:
push_access_levels
:
push_access_levels
:
-
protected_branch
-
protected_branch
container_repositories
:
container_repositories
:
-
project
-
name
-
name
project
:
project
:
-
taggings
-
taggings
...
@@ -201,7 +202,7 @@ project:
...
@@ -201,7 +202,7 @@ project:
-
project_authorizations
-
project_authorizations
-
route
-
route
-
statistics
-
statistics
-
container_
imag
es
-
container_
repositori
es
-
uploads
-
uploads
award_emoji
:
award_emoji
:
-
awardable
-
awardable
...
...
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