mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-22 06:26:32 +09:00
ci: distribute the compiled integration test binary
This commit is contained in:
1 parent
bcc71f9b57
commit
c9852c43da
3 files changed
+16
-13
No files matched your search
@@ -289,6 +289,12 @@ func createTestContainer(ctx context.Context, cli *client.Client, config *RunCon
|
||||
},
|
||||
}
|
||||
|
||||
if config.TestBinary != "" {
|
||||
// A custom server image may have its own entrypoint; run the tests directly.
|
||||
containerConfig.Entrypoint = testCmd[:1]
|
||||
containerConfig.Cmd = testCmd[1:]
|
||||
}
|
||||
|
||||
// Get the correct Docker socket path from the current context
|
||||
dockerSocketPath := getDockerSocketPath()
|
||||
|
||||
|
||||
Reference in new issue
Block a user