Rebuilding with more verbose part for orborus

This commit is contained in:
Frikky
2025-02-21 15:21:31 +01:00
parent 05880a04b3
commit 5703ce40e4
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ require (
github.com/gorilla/mux v1.8.1
github.com/h2non/filetype v1.1.3
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.7.95
github.com/shuffle/shuffle-shared v0.7.96
golang.org/x/crypto v0.32.0
google.golang.org/api v0.176.1
google.golang.org/grpc v1.68.1
+1 -1
View File
@@ -10,7 +10,7 @@ require (
github.com/docker/docker v27.5.0+incompatible
github.com/docker/go-connections v0.5.0
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.7.95
github.com/shuffle/shuffle-shared v0.7.96
k8s.io/api v0.30.2
k8s.io/apimachinery v0.30.2
)
+6
View File
@@ -142,6 +142,7 @@ func init() {
os.Setenv("SHUFFLE_PIPELINE_AUTH", pipelineApikey)
}
}
}
// form id of current running container
@@ -1305,6 +1306,7 @@ func deployWorker(image string, identifier string, env []string, executionReques
if isKubernetes != "true" {
hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId))
if strings.ToLower(cleanupEnv) != "false" {
hostConfig.AutoRemove = true
}
@@ -1917,6 +1919,10 @@ func main() {
cleanupEnv = "true"
}
if len(cleanupEnv) > 0 {
log.Printf("[DEBUG] Verbose mode. NOT cleaning up. Cleanup env: %s", cleanupEnv)
}
workerTimeout := 600
if workerTimeoutEnv != "" {
tmpInt, err := strconv.Atoi(workerTimeoutEnv)
+1 -1
View File
@@ -8,7 +8,7 @@ require (
github.com/docker/docker v27.5.0+incompatible
github.com/gorilla/mux v1.8.1
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.7.95
github.com/shuffle/shuffle-shared v0.7.96
k8s.io/api v0.30.2
k8s.io/apimachinery v0.30.2
k8s.io/client-go v0.30.2