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

Introducing the Container provider #151

Merged
merged 1 commit into from
May 12, 2022

Conversation

JacobCallahan
Copy link
Member

This pr introduces the container provider.
The first supported bind is Docker, though a Podman bind is in progress.
A number of other supporting concepts have also been introduced, most
notably are "binds". These are small abstraction layers around an
external API that ease the integration into Broker.

@JacobCallahan JacobCallahan marked this pull request as draft March 31, 2022 18:58
Comment on lines -73 to +80
class VMBroker:
class Broker:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change++

@JacobCallahan
Copy link
Member Author

Looks like I need to account for differences in unconfigured configs for containers to get the checks to pass on GH

.gitignore Show resolved Hide resolved
@JacobCallahan
Copy link
Member Author

One test failing because AT provider is actually trying to connect, so I need to look into that

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
broker/broker.py Outdated Show resolved Hide resolved
broker/hosts.py Outdated Show resolved Hide resolved
Copy link
Contributor

@swadeley swadeley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK with some typos and one question.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@JacobCallahan
Copy link
Member Author

@swadeley @Griffin-Sullivan thanks for the reviews! The latest update should include and/or address everything so far

```
pip install broker[podman]
or
pip install broker[docker]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason these commands fail when using zsh , I think its worth mentioning you may need to switch to bash for them to install correctly

This pr introduces the container provider.
The first supported bind is Docker, though a Podman bind is in progress.
A number of other supporting concepts have also been introduced, most
notably are "binds". These are small abstraction layers around an
external API that ease the integration into Broker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants