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

feat: support for Docker Swarm and other improvements. #11

Merged
merged 6 commits into from
Feb 12, 2025

Conversation

peterhuene
Copy link
Collaborator

@peterhuene peterhuene commented Feb 11, 2025

This PR implements support for Docker Swarm within the Docker backend.

Additional changes include:

  • Bumped dependencies to latest.
  • Implemented a cancellation mechanism so that backends can gracefully cancel
    tasks.
  • Implemented a simple "started" notification callback in backends so that users
    of the backends can know when a task has actually started vs. not yet
    started.

Before submitting this PR, please make sure:

  • You have added a few sentences describing the PR here.
  • You have added yourself or the appropriate individual as the assignee.
  • You have added at least one relevant code reviewer to the PR.
  • Your code builds clean without any errors or warnings.
  • You have added tests (when appropriate).
  • You have updated the README or other documentation to account for these
    changes (when appropriate).
  • You have added an entry to the relevant CHANGELOG.md (see
    "keep a changelog" for more information).
  • Your commit messages follow the conventional commit style.

This commit implements support for Docker Swarm within the Docker backend.

Additional changes include:

* Bumped dependencies to latest.
* Implemented a cancellation mechanism so that backends can gracefully cancel
  tasks.
* Implemented a simple "started" notification callback in backends so that users
  of the backends can know when a task has actually started vs. not yet
  started.
@peterhuene peterhuene self-assigned this Feb 11, 2025
Copy link
Member

@claymcleod claymcleod left a comment

Choose a reason for hiding this comment

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

Looks good when the above is addressed.

This fix allows literal input contents to be directly passed in a request to
upload the container rather than cloning it as a `Vec<u8>`.
@peterhuene peterhuene merged commit f1af2ac into stjude-rust-labs:main Feb 12, 2025
9 checks passed
@peterhuene peterhuene deleted the expose-docker-client branch February 12, 2025 19:41
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.

2 participants