app/factorio: update to 0.17.52
Change-Id: I70230b1f83a40cc70015e135e25319116c6e15e8
diff --git a/app/factorio/BUILD b/app/factorio/BUILD
index f3fd191..f0c47f7 100644
--- a/app/factorio/BUILD
+++ b/app/factorio/BUILD
@@ -18,6 +18,15 @@
entrypoint = ["/entrypoint.sh"],
)
+container_image(
+ name="0.17.52-1",
+ base="@prodimage-bionic//image",
+ tars = ["@factorio-headless-0.17.52//file"],
+ files = [":entrypoint.sh"],
+ directory = "/",
+ entrypoint = ["/entrypoint.sh"],
+)
+
# Totally broken right now because google/containerregistry doesn't handle
# /usr/bin/env python == python3.
#container_push(
@@ -31,11 +40,11 @@
# So this is a replacement hack.
genrule(
name = "push_latest",
- srcs = [":0.17.41-1"],
+ srcs = [":0.17.52-1"],
outs = ["version.sh"],
executable = True,
cmd = """
- tag=0.17.41-1
+ tag=0.17.52-1
docker tag bazel/app/factorio:$$tag registry.k0.hswaw.net/app/factorio:$$tag
docker push registry.k0.hswaw.net/app/factorio:$$tag
echo -ne "#!/bin/sh\necho Pushed $$tag.\n" > $(OUTS)
diff --git a/app/factorio/kube/prod.jsonnet b/app/factorio/kube/prod.jsonnet
index 9604033..b58bea9 100644
--- a/app/factorio/kube/prod.jsonnet
+++ b/app/factorio/kube/prod.jsonnet
@@ -5,6 +5,7 @@
// Available versions:
// - 0.16.51-1
// - 0.17.41-1
+// - 0.17.52-1
{
local prod = self,
@@ -18,5 +19,5 @@
}
},
- q3k: prod.instance("q3k", "0.17.41-1"),
+ q3k: prod.instance("q3k", "0.17.52-1"),
}