From aaff9219d62ad53bee1145b70d665848ba565cdf Mon Sep 17 00:00:00 2001 From: Reto Galante Date: Tue, 21 Jan 2025 16:15:18 +0100 Subject: [PATCH] Update dagger --- tests/dagger.json | 4 ++-- tests/main.go | 2 +- vault-kv/dagger.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/dagger.json b/tests/dagger.json index d85a3cd..3b9e5e7 100644 --- a/tests/dagger.json +++ b/tests/dagger.json @@ -1,5 +1,6 @@ { "name": "tests", + "engineVersion": "v0.15.2", "sdk": "go", "dependencies": [ { @@ -7,6 +8,5 @@ "source": "../vault-kv" } ], - "source": ".", - "engineVersion": "v0.14.9" + "source": "." } diff --git a/tests/main.go b/tests/main.go index 39e490e..ff0a40d 100644 --- a/tests/main.go +++ b/tests/main.go @@ -51,7 +51,7 @@ func (m *Tests) vaultServer() *dagger.Service { From("hashicorp/vault:1.17.3"). WithEnvVariable("VAULT_DEV_ROOT_TOKEN_ID", m.Token). WithEnvVariable("VAULT_DEV_LISTEN_ADDRESS", "0.0.0.0:8200"). - WithExec([]string{"vault", "server", "-dev"}). + WithDefaultArgs([]string{"vault", "server", "-dev"}). WithExposedPort(8200). AsService() } \ No newline at end of file diff --git a/vault-kv/dagger.json b/vault-kv/dagger.json index 526ad8f..d94e6e9 100644 --- a/vault-kv/dagger.json +++ b/vault-kv/dagger.json @@ -1,6 +1,6 @@ { "name": "vault-kv", + "engineVersion": "v0.15.2", "sdk": "go", - "source": ".", - "engineVersion": "v0.14.9" + "source": "." }