Skip to content

Commit

Permalink
Merge branch 'containerd:main' into add-support-cvmfs-snapshotter
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoverl authored Oct 27, 2023
2 parents 1c75fbf + 2becba6 commit 41a9f7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Vagrantfile.freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# Vagrantfile for FreeBSD
Vagrant.configure("2") do |config|
config.vm.box = "generic/freebsd13"
# workaround for https://github.com/containerd/nerdctl/issues/2596
config.vm.box_version = "4.3.2"

memory = 2048
cpus = 1
Expand Down
6 changes: 5 additions & 1 deletion cmd/nerdctl/compose_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ services:
comp := testutil.NewComposeDir(t, fmt.Sprintf(dockerComposeYAML, "3.13"))
defer comp.CleanUp()

base.ComposeCmd("-f", comp.YAMLFullPath(), "config", "--hash=*").AssertOutContains("hello1")
// `--hash=*` is broken in Docker Compose v2.23.0: https://github.com/docker/compose/issues/11145
if base.Target == testutil.Nerdctl {
base.ComposeCmd("-f", comp.YAMLFullPath(), "config", "--hash=*").AssertOutContains("hello1")
}

hash := base.ComposeCmd("-f", comp.YAMLFullPath(), "config", "--hash=hello1").Out()

newComp := testutil.NewComposeDir(t, fmt.Sprintf(dockerComposeYAML, "3.14"))
Expand Down

0 comments on commit 41a9f7f

Please sign in to comment.