Skip to content
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

Drop environments migrations #8550

Closed

Conversation

ezr-ondrej
Copy link
Member

Test of drop environments on Jenkins.

@theforeman-bot
Copy link
Member

Issues: #31062

ezr-ondrej and others added 16 commits May 26, 2021 00:08
States the API deprecated and directs users to using a plugin.
Details of extraction theforeman/foreman_puppet#30
Drops OverrideValues API tangled with Puppet, but leaves common partials,
these can be used by all the plugins.
Details of extraction in theforeman/foreman_puppet#32
Drops Concern used just for puppet, that was having a missleading naming.
Extracted to plugin in theforeman/foreman_puppet#29.
Extract puppet extenstions to LookupValue.
Extracted in theforeman/foreman_puppet#10
Drops UI controller and routes for Environment.

Extracted in:
- theforeman/foreman_puppet#46
- theforeman/foreman_puppet#52
Drop templates, helpers and host action from multiple_actions menu.

Extracted in theforeman/foreman_puppet#45
Drop Change Environment action and all its pieces.

Extracted in theforeman/foreman_puppet#57.
Drops config_groups node from Host and Hostgroup API responses.

Extracted in theforeman/foreman_puppet#66
Drops the environment field and all js attached to it.

Extracted in theforeman/foreman_puppet#64.
Drops ConfigGroup controller, tests and parameter filter.

Extracted in theforeman/foreman_puppet#16
ezr-ondrej and others added 26 commits May 26, 2021 00:09
Drops notion of Environments from Host API.

Extracted in theforeman/foreman_puppet#50
Drops Puppetclass models and their usage.
Extracted in theforeman/foreman_puppet#81
Tests extracted in:
 - hostgroup - theforeman/foreman_puppet#85
Removes uses of environment from Host
Remove uses of environment from Hostgroup.
Removes uses of Environment from Nic::Managed model
Removes uses of Environment from Report model.
Removes taxation of Environment.
Removes uses of Environment from User.

Extraction of `#visible_environments`:
  theforeman/foreman_puppet#126
Removes uses of Environment in PuppetFactParser and implement plugin
guard to import plugin Envrionment if plugin is installed.
Removes Environment related notes from tests, mostly just Host being
uselessly provided an environment.
We need to introduce a guard for Environment being present in settings,
as we are about to drop Environment.
Reimplementation and movement of the Puppet settings is separate commit.
These migrations had been added to the plugin foreman_puppet_enc.
Details of addition theforeman/foreman_puppet#13
This is completely dropped, in plugin we use factories instead.
Drops all migrations related to environments.
Removes all the relations to the environments.
Adds a migration to drop environments from Hostgroup and Host.

Extracted in theforeman/foreman_puppet#41.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Legacy JS PRs making changes in the legacy Javascript stack Needs testing Not yet reviewed Waiting on contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants