-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge container_definition and container #15393
Conversation
@miq-bot add_label providers/containers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files should be updated in app/models/* . For example app/models/container_definitions.rb should be deleted, and app/models/container.rb should be updated.
end | ||
|
||
remove_column :containers, :container_definition_id | ||
drop_table :container_definitions # need to take care of :dependent => destroy relats? (like ccustom attributes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont think they have custom_attributes
but they have container_env_vars
and container_port_configs
that needs to be ported too somehow.
@miq-bot add_label wip |
2a3b662
to
73eec21
Compare
@miq-bot remove_label wip |
@simon3z I'm good with it re: impact on graph refresh, looks like just a few of the collections will need to change. |
73eec21
to
14ec0e4
Compare
OK. Waiting on the UI side (still WIP). |
This pull request is not mergeable. Please rebase and repush. |
Database migrations have now been moved to the https://github.com/ManageIQ/manageiq-schema repo. Please see http://talk.manageiq.org/t/new-split-repo-manageiq-schema/2478 for instructions on how to transfer your database migrations. If this PR contains only migrations, I will leave it open for a short time during the transition, after which I will close this if it has not been moved over. |
e90eb33
to
03fb49a
Compare
This pull request is not mergeable. Please rebase and repush. |
7b531bd
to
65ed243
Compare
This pull request is not mergeable. Please rebase and repush. |
65ed243
to
2ce0ffb
Compare
@Fryguy @blomquisg can you have a look here? this PR is tightly coupled with ManageIQ/manageiq-schema#24 and both should be ready to merge |
6d4ccae
to
6a8eb8a
Compare
6a8eb8a
to
750d3c4
Compare
Checked commit zeari@750d3c4 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/models/container_group.rb
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cc @Loicavenel |
Merged the schema PR, so just rekicking to runs the specs. |
Just a rant here, but it would be nice if definitely-breaking changes such as these were actually tested in the UI .. just opening a container summary screen blows up ;). (Fixed by ManageIQ/manageiq-ui-classic#1760, I hope.) |
@himdel I feel your pain :( but --> #15393 (comment) |
Depends on ManageIQ/manageiq-schema#24
Merge
Container
andContainerDefinition
@enoodle Please review
cc @simon3z @cben @moolitayer