Fixing orborus to contain cloudrun manager

This commit is contained in:
frikky
2023-04-05 21:37:46 +02:00
parent 5e25f78dd7
commit 274a942e88
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
NAME=shuffle-orborus
VERSION=1.1.5
VERSION=1.1.6
echo "Running docker build with $NAME:$VERSION"
#docker rmi frikky/shuffle:$NAME --force
+2 -2
View File
@@ -2,13 +2,13 @@ module orborus
go 1.19
replace github.com/shuffle/shuffle-shared => ../../../../shuffle-shared
//replace github.com/shuffle/shuffle-shared => ../../../../shuffle-shared
require (
github.com/docker/docker v23.0.0+incompatible
github.com/mackerelio/go-osstat v0.2.3
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.3.75
github.com/shuffle/shuffle-shared v0.4.0
)
require (
+4
View File
@@ -1151,6 +1151,10 @@ func main() {
env = append(env, fmt.Sprintf("SHUFFLE_MEMCACHED=%s", os.Getenv("SHUFFLE_MEMCACHED")))
}
if len(os.Getenv("SHUFFLE_CLOUDRUN_URL")) > 0 {
env = append(env, fmt.Sprintf("SHUFFLE_CLOUDRUN_URL=%s", os.Getenv("SHUFFLE_CLOUDRUN_URL")))
}
err = deployWorker(workerImage, containerName, env, execution)
zombiecounter += 1
if err == nil {