1
0
Fork 0

personal/q3k/factorio: bump, add ds

Change-Id: I15dbbfdd911fb61fc5769443ef4f2e862cf6c7e1
master
q3k 2020-04-01 02:05:42 +02:00
parent 0dcc702c64
commit 59786c5dfa
3 changed files with 21 additions and 3 deletions

View File

@ -171,6 +171,13 @@ http_file(
downloaded_file_path = "factorio.tar.xz",
)
http_file(
name = "factorio-headless-0.18.17",
urls = ["https://factorio.com/get-download/0.18.17/headless/linux64"],
sha256 = "42adce9fddde393023afb0aae19dd030a32ca0810191c0e7b9b7c55556e9bbce",
downloaded_file_path = "factorio.tar.xz",
)
# Go rules
http_archive(

View File

@ -46,11 +46,20 @@ container_image(
entrypoint = ["/entrypoint.sh"],
)
container_image(
name="0.18.17-1",
base="@prodimage-bionic//image",
tars = ["@factorio-headless-0.18.17//file"],
files = [":entrypoint.sh"],
directory = "/",
entrypoint = ["/entrypoint.sh"],
)
container_push(
name = "push_latest",
image = ":0.18.12-2",
image = ":0.18.17-1",
format = "Docker",
registry = "registry.k0.hswaw.net",
repository = "app/factorio",
tag = "0.18.12-2",
tag = "0.18.17-1",
)

View File

@ -8,6 +8,7 @@ local kube = import "../../../../kube/kube.libsonnet";
// - 0.17.52-1
// - 0.17.79-1
// - 0.18.12-2
// - 0.18.17-1
{
local prod = self,
@ -21,5 +22,6 @@ local kube = import "../../../../kube/kube.libsonnet";
}
},
q3k: prod.instance("q3k", "0.18.12-2"),
q3k: prod.instance("q3k", "0.18.17-1"),
ds: prod.instance("ds", "0.18.17-1"),
}