Feature #8918
As a user I would like to provision new container using katello repositories
Description
Need a ui to enable the user to provision a new docker container using repositories/content views created in katello,
Related issues
Associated revisions
History
#1
Updated by Partha Aji over 7 years ago
- Category set to Container
- Assignee set to Partha Aji
#2
Updated by Partha Aji over 7 years ago
- Blocks Tracker #7125: Docker Content Support added
#3
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Target version set to 63
- Pull request https://github.com/Katello/katello/pull/4913 added
- Pull request deleted (
)
#4
Updated by Eric Helms over 7 years ago
- Target version changed from 63 to 66
#5
Updated by Eric Helms over 7 years ago
- Legacy Backlogs Release (now unused) set to 23
#6
Updated by David Davis over 7 years ago
- Has duplicate Feature #7795: As a user, i should be able to easily deploy docker images from katello docker repositories onto a docker compute resource added
#7
Updated by Partha Aji over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|cdbebe9d90a449e6f8cfd0bc058f6cc95e8a1a1a.
Fixes #8918 - Katello UI to provision docker container
This commit along with foreman docker UI update should enable one to
provision docker containers using images from katello / pulp
It works the following way,
Foreman Docker's image.html.erb
https://github.com/parthaa/foreman-docker/blob/katello-registry/app/views/containers/steps/image.html.erb#L40
initiates the call to load the katello_partial()
The katello partial then defined
in/concerns/foreman_docker/container_steps_helper_extensions.rb
(https://github.com/Katello/katello/pull/4913/files#diff-09edc73e4bb89f16262e73faf87171e4R19)
conitnues from there on to load the containers/steps/katello_container
partial defined in katello and so on.
All the rendering code for the partial is in Katello.
The javascript file provides the ajax calls necessary to retrieve
different katello artifacts
Once the repository and tag information is identified and selected by
the user,
katello/concerns/containers/steps_controller_extensions.rb, takes care
of creating a docker repo image
using those artifacts and passes them to the foreman.
Important additions include addition of capsules representing places
where content could be pulled from.
The UI looks slightly different when used under "any context" VS
selecting an organization.
The later hides the org selector while the any context shows the org.
Other important feature is the disablement or enablement of the "next"
button until the repo/tag information is presented.