Merge "games/factorio: run new pymods instance"

This commit is contained in:
palid 2021-06-13 21:12:39 +00:00 committed by Gerrit Code Review
commit 04adbfeeb4
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

@ -6,8 +6,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.
{
@ -32,4 +32,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):