Log the the output of :command:$runtime logs $container using Python's
logging framework for easier debugging
Documentation:
Internal changes:
0.1.0 (20 March 2023)
Breaking changes:
ContainerBase.healtcheck_timeout_ms got renamed to
:py:attr:~pytest_container.container.ContainerBase.healthcheck_timeout and was
changed as follows: it is now a :py:class:~datetime.timedelta with the
default value being None and implies that pytest_container figures the
maximum timeout out itself. If a positive timedelta is provided, then that
timeout is used instead of the inferred default and if it is negative, then no
timeout is applied.
:py:attr:~pytest_container.container.ContainerBase.entry_point is no longer
a property. It is instead a setting how the entry point for a container image
is picked. Consequently, the attribute ContainerBase.default_entry_point
was removed.
OciRuntimeABC.get_container_healthcheck was removed, use
:py:attr:~pytest_container.container.ContainerData.inspect instead.
Improvements and new features:
The Entrypoint is now picked automatically from the image, removing the need
for setting default_entry_point=True.
Cleanup automatically created volumes from VOLUME directives in
:file:Dockerfile.
Allow to inspect containers via a pythonic interface via
:py:attr:~pytest_container.container.ContainerData.inspect
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pytest-container from 0.0.2 to 0.1.1.
Changelog
Sourced from pytest-container's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)