Skip to content

Commit

Permalink
Merge pull request #378 from fussybeaver/ND/release-0.16
Browse files Browse the repository at this point in the history
Release 0.16
  • Loading branch information
fussybeaver committed Mar 2, 2024
2 parents 2f14024 + 446730f commit 907fcf6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 21 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
test_ssl:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
Expand All @@ -17,7 +17,7 @@ jobs:
- run: docker run -ti -e DOCKER_CERT_PATH=/certs -e DOCKER_HOST='https://test.example.com:2376' --volumes-from certs --rm --link test-docker-daemon:docker bollard cargo test --features webpki -- --test test_connect_with_defaults
test_http:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
Expand All @@ -27,7 +27,7 @@ jobs:
- run: docker run -ti -e DOCKER_HOST='tcp://test.example.com:2375' --rm --link test-docker-daemon:docker bollard cargo test -- --test test_connect_with_defaults
test_unix:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
Expand All @@ -36,47 +36,47 @@ jobs:
- run: docker run -ti -e DOCKER_HOST='unix:///var/run/docker.sock' -v /var/run/docker.sock:/var/run/docker.sock --rm bollard cargo test -- --test test_connect_with_defaults
test_buildkit:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
- run: docker build -t bollard .
- run: resources/dockerfiles/bin/run_integration_tests.sh --features buildkit --tests
test_chrono:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
- run: docker build -t bollard .
- run: resources/dockerfiles/bin/run_integration_tests.sh --features chrono --tests
test_time:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
- run: docker build -t bollard .
- run: resources/dockerfiles/bin/run_integration_tests.sh --features time --tests
test_doc:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
- run: docker build -t bollard .
- run: docker run -ti --rm bollard cargo test --all-features --target x86_64-unknown-linux-gnu --doc
test_clippy:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
- run: docker build -t bollard .
- run: docker run -ti --rm bollard bash -c "rustup component add clippy && cargo clippy --all-targets -- -Dwarnings"
test_audit:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
Expand All @@ -85,7 +85,7 @@ jobs:
- run: docker run -ti --rm bollard bash -c "cargo install cargo-audit && cargo audit --deny warnings --ignore=RUSTSEC-2020-0071"
test_fmt:
docker:
- image: docker:24.0.5
- image: docker:25.0.3
steps:
- checkout
- setup_remote_docker
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bollard"
description = "An asynchronous Docker daemon API"
version = "0.15.0"
version = "0.16.0"
authors = [ "Bollard contributors" ]
license = "Apache-2.0"
homepage = "https://github.com/fussybeaver/bollard"
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ bollard = "*"

#### Latest

Version `0.15` enables more `buildkit` features, including [exporting builds to OCI
tarballs](https://docs.docker.com/build/exporters/oci-docker/) with the
[`image_export_oci`](https://docs.rs/bollard/latest/bollard/struct.Docker.html#method.image_export_oci)
method. Please note: all `buildkit` API's are under *developer preview*, feedback is
Version `0.16` enables more `buildkit` features, including using the Registry as a [cache
storage for intermediate container build
stages](https://docs.docker.com/build/cache/backends/registry/), syncs with [moby release
25.0.3](https://github.com/moby/moby/releases/tag/v25.0.3) and [API version 1.44.0](https://docs.docker.com/engine/api/v1.44/).
Please note: all `buildkit` API's are under *developer preview*, feedback is
encouraged.

### Feature flags
Expand Down
2 changes: 1 addition & 1 deletion src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const DEFAULT_TIMEOUT: u64 = 120;
/// Default Client Version to communicate with the server.
pub const API_DEFAULT_VERSION: &ClientVersion = &ClientVersion {
major_version: 1,
minor_version: 43,
minor_version: 44,
};

/// 2 years from ct_logs 0.9 release
Expand Down
9 changes: 5 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
//!
//! ### Latest
//!
//! Version `0.15` enables more `buildkit` features, including [exporting builds to OCI
//! tarballs](https://docs.docker.com/build/exporters/oci-docker/) with the
//! [`image_export_oci`](https://docs.rs/bollard/latest/bollard/struct.Docker.html#method.image_export_oci)
//! method. Please note: all `buildkit` API's are under *developer preview*, feedback is
//! Version `0.16` enables more `buildkit` features, including using the Registry as a [cache
//! storage for intermediate container build
//! stages](https://docs.docker.com/build/cache/backends/registry/), syncs with [moby release
//! 25.0.3](https://github.com/moby/moby/releases/tag/v25.0.3) and [API version 1.44.0](https://docs.docker.com/engine/api/v1.44/).
//! Please note: all `buildkit` API's are under *developer preview*, feedback is
//! encouraged.
//!
//! ## Feature flags
Expand Down
2 changes: 1 addition & 1 deletion tests/container_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async fn prune_containers_test(docker: Docker) -> Result<(), Error> {
"stefanscherer/registry-windows",
"moby/buildkit:master",
// Containers existing on CircleCI after a prune
"docker:24.0.5",
"docker:25.0.3",
"public.ecr.aws/eks-distro/kubernetes/pause:3.6"
]
.into_iter()
Expand Down

0 comments on commit 907fcf6

Please sign in to comment.