Rebuilding with more verbose part for orborus
This commit is contained in:
@@ -18,7 +18,7 @@ require (
|
|||||||
github.com/gorilla/mux v1.8.1
|
github.com/gorilla/mux v1.8.1
|
||||||
github.com/h2non/filetype v1.1.3
|
github.com/h2non/filetype v1.1.3
|
||||||
github.com/satori/go.uuid v1.2.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
|
||||||
golang.org/x/crypto v0.32.0
|
golang.org/x/crypto v0.32.0
|
||||||
google.golang.org/api v0.176.1
|
google.golang.org/api v0.176.1
|
||||||
google.golang.org/grpc v1.68.1
|
google.golang.org/grpc v1.68.1
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ require (
|
|||||||
github.com/docker/docker v27.5.0+incompatible
|
github.com/docker/docker v27.5.0+incompatible
|
||||||
github.com/docker/go-connections v0.5.0
|
github.com/docker/go-connections v0.5.0
|
||||||
github.com/satori/go.uuid v1.2.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/api v0.30.2
|
||||||
k8s.io/apimachinery v0.30.2
|
k8s.io/apimachinery v0.30.2
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ func init() {
|
|||||||
os.Setenv("SHUFFLE_PIPELINE_AUTH", pipelineApikey)
|
os.Setenv("SHUFFLE_PIPELINE_AUTH", pipelineApikey)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// form id of current running container
|
// form id of current running container
|
||||||
@@ -1305,6 +1306,7 @@ func deployWorker(image string, identifier string, env []string, executionReques
|
|||||||
|
|
||||||
if isKubernetes != "true" {
|
if isKubernetes != "true" {
|
||||||
hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId))
|
hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId))
|
||||||
|
|
||||||
if strings.ToLower(cleanupEnv) != "false" {
|
if strings.ToLower(cleanupEnv) != "false" {
|
||||||
hostConfig.AutoRemove = true
|
hostConfig.AutoRemove = true
|
||||||
}
|
}
|
||||||
@@ -1917,6 +1919,10 @@ func main() {
|
|||||||
cleanupEnv = "true"
|
cleanupEnv = "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(cleanupEnv) > 0 {
|
||||||
|
log.Printf("[DEBUG] Verbose mode. NOT cleaning up. Cleanup env: %s", cleanupEnv)
|
||||||
|
}
|
||||||
|
|
||||||
workerTimeout := 600
|
workerTimeout := 600
|
||||||
if workerTimeoutEnv != "" {
|
if workerTimeoutEnv != "" {
|
||||||
tmpInt, err := strconv.Atoi(workerTimeoutEnv)
|
tmpInt, err := strconv.Atoi(workerTimeoutEnv)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ require (
|
|||||||
github.com/docker/docker v27.5.0+incompatible
|
github.com/docker/docker v27.5.0+incompatible
|
||||||
github.com/gorilla/mux v1.8.1
|
github.com/gorilla/mux v1.8.1
|
||||||
github.com/satori/go.uuid v1.2.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/api v0.30.2
|
||||||
k8s.io/apimachinery v0.30.2
|
k8s.io/apimachinery v0.30.2
|
||||||
k8s.io/client-go v0.30.2
|
k8s.io/client-go v0.30.2
|
||||||
|
|||||||
Reference in New Issue
Block a user