From 09c86f6ffa019c4d8ca428681f7fa1e588db2c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=B6lz?= Date: Wed, 3 Apr 2024 13:55:42 +0200 Subject: [PATCH 1/2] Fix NewDockerNetworkCreateExecutor in docker_stub --- pkg/container/docker_stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/container/docker_stub.go b/pkg/container/docker_stub.go index d5c5ef1..155d5ab 100644 --- a/pkg/container/docker_stub.go +++ b/pkg/container/docker_stub.go @@ -56,7 +56,7 @@ func NewDockerVolumeRemoveExecutor(volume string, force bool) common.Executor { } } -func NewDockerNetworkCreateExecutor(name string) common.Executor { +func NewDockerNetworkCreateExecutor(name string, config *types.NetworkCreate) common.Executor { return func(ctx context.Context) error { return nil } From b7c39f59560e4471d54fef10744f80425714a56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=B6lz?= Date: Thu, 4 Apr 2024 09:43:45 +0200 Subject: [PATCH 2/2] Test build without Docker --- .forgejo/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index f71aeca..df6af26 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -39,6 +39,8 @@ jobs: run: go vet -v ./... - name: build run: go build -v ./... + - name: build without docker + run: go build -tags WITHOUT_DOCKER -v ./... - name: test run: go test -v ./pkg/jobparser # TODO test more packages