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

Extract LXC from nomad #5162

Merged
merged 9 commits into from
Jan 9, 2019
Merged

Extract LXC from nomad #5162

merged 9 commits into from
Jan 9, 2019

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Jan 8, 2019

Remove LXC from nomad tree. The plugin would be managed as an external plugin from now on.

The PR builds on #5157 - only the last three commits are specific to this PR.

Mahmood Ali and others added 9 commits January 8, 2019 09:11
Simplify allocDir.Build() function to avoid depending on client/structs,
and remove a parameter that's always set to `false`.

The motivation here is to avoid a dependency cycle between
drivers/cstructs and alloc_dir.
Re-export the ResourceUsage structs in drivers package to avoid drivers
directly depending on the internal client/structs package directly.

I attempted moving the structs to drivers, but that caused some import
cycles that was a bit hard to disentagle.  Alternatively, I added an
alias here that's sufficient for our purposes of avoiding external
drivers depend on internal packages, while allowing us to restructure
packages in future without breaking source compatibility.
@notnoop notnoop merged commit d0efb37 into master Jan 9, 2019
@notnoop notnoop deleted the f-extract-lxc branch January 9, 2019 18:08
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants