mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 23:05:45 +00:00
chore(deps): update dependencies (#1351)
Co-authored-by: Renovate Bot <[email protected]>
This commit is contained in:
1 parent
c6ca020281
commit
8dd3776014
11 files changed
+52
-47
No files matched your search
@@ -371,6 +371,9 @@ func TestDockerProxyWithDaemon(t *testing.T) {
|
||||
|
||||
job := "proxy-test-" + strconv.FormatInt(time.Now().UnixNano(), 36)
|
||||
proxy, err := StartDockerProxy(daemonSocketPath(t, direct), dir, job)
|
||||
if os.Geteuid() != 0 && errors.Is(err, os.ErrPermission) {
|
||||
t.Skipf("non-root runners that cannot take the daemon socket's ownership get it directly: %v", err)
|
||||
}
|
||||
require.NoError(t, err)
|
||||
t.Cleanup(func() { _ = proxy.Close(context.Background()) })
|
||||
viaProxy, err := mobyclient.New(mobyclient.WithHost("unix://" + proxy.Socket))
|
||||
|
||||
Reference in new issue
Block a user