games/factorio: run new pymods instance

Change-Id: I0a5c3b016e30f277744889cc93fa1ca576cdf1a0
This commit is contained in:
palid 2021-06-12 23:02:58 +02:00
parent e7f4cc121a
commit b3799c80e8
No known key found for this signature in database
GPG key ID: 0AD2F70C94CA5B03
3 changed files with 43 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Factorio on Kubernetes.
local kube = import "../../../../kube/kube.libsonnet";
local kube = import "../../../kube/kube.libsonnet";
{
local factorio = self,

View file

@ -5,8 +5,8 @@ local kube = import "../../../kube/kube.libsonnet";
// Kubernetes namespace.
//
// Available factorio versions:
// - 0.18.40-1
// - 1.0.0-1
// - 1.1.34-1
// See: //third_party/factorio.
{
@ -84,4 +84,44 @@ local kube = import "../../../kube/kube.libsonnet";
},
local mod = function(name, version) { name: name, version: version },
pymods: prod.instance("pymods", "1.1.34-1") {
cfg+: {
mods: [
// Stdlib for mods
mod("stdlib", "1.4.6"),
// General QOL
// Better loaders
mod("LoaderRedux", "1.7.1"),
mod("LoaderReduxForFactorioExtendedPlus", "1.1.0"),
// Trains
mod("traintunnels", "0.0.11"),
mod("FARL", "4.1.2"),
// Move between buildings
mod("Squeak Through", "1.8.2"),
// Requirements calculator
mod("helmod", "0.12.5"),
// Compact loaders for easier and faster transportation
mod("deadlock-beltboxes-loaders", "2.4.2"),
// Better inserters
mod("bobinserters", "1.1.0"),
// Teleport to tags for easier movement with huge server
mod("TagToTeleport", "1.1.1"),
// Necessary for PYmods to get proper list of ingredients for the next step
mod("what-is-it-really-used-for", "1.6.0"),
// Resource monitor
mod("YARM", "0.8.203"),
// YEET
mod("RenaiTransportation", "0.8.6"),
// PYmods
mod("pypetroleumhandling", "2.0.6"),
mod("pyrawores", "2.2.7"),
mod("pyraworesgraphics", "1.0.9"),
mod("pycoalprocessing", "1.9.3"),
mod("pycoalprocessinggraphics", "1.0.9"),
// Resource overhaul
mod("rso-mod", "6.2.6")
],
},
},
}

View file

@ -17,6 +17,7 @@ load("@io_bazel_rules_docker//container:container.bzl", "container_image", "cont
# version -> sha256 of server tarball
_versions = {
"1.0.0": "81d9e1aa94435aeec4131c8869fa6e9331726bea1ea31db750b65ba42dbd1464",
"1.1.34": "21969321cf370e95066f86fddfcb83d1a23ed9b67d087c1cb47d43e87673ca69",
}
def factorio_repository(version, sha256):