Commit Graph

42 Commits

Author SHA1 Message Date
Sandro
bc3b08e470
Truly fix mod updates with spaces in names (#320) 2020-08-11 19:10:59 +02:00
cielo
c8c6cb62ea
Let scenario.sh script to use map-gen-settings.json/map-settings.json located in config directory. (#341) 2020-08-11 18:53:49 +02:00
Sandro Jäckel
0c924152a7
Correctly check UPDATE_MODS_ON_START env
Closes #323
2020-05-25 03:21:17 +02:00
Sandro
ef6bbde78d
Fix migration when config is mounted (#318) 2020-05-23 03:05:56 +02:00
Sandro Jäckel
deaaf83967
Do not stop updating process on incompatible version
Closes #308
2020-04-05 11:09:01 +02:00
Sandro Jäckel
9691472b84
Backport #307 to 0.17 2020-04-05 11:07:18 +02:00
Chance Zibolski
7ec79a6e1b Allow configuring factorio server to run with a specific save th… (#296)
This change enables specifying a specific save to use via the $SAVE_NAME
variable when $ENABLE_SERVER_LOAD_LATEST is false. Additionally, you can
set $ENABLE_GENERATE_NEW_MAP_SAVE to generate a map for $SAVE_NAME if
one does not already exist.

Co-authored-by: Chance Zibolski <czibolsk@redhat.com>
2019-11-25 08:31:28 +01:00
Sandro Jäckel
efcc29cfed
Mod Updater: Force remove mod archives
Closes #293
2019-11-04 16:12:49 +01:00
xxalfa
cd29f2003b Load admin list in scenario (#288) 2019-08-16 13:58:59 +02:00
xxalfa
2d9f646728 Fix whitelist args in scenario entrypoint 2019-08-11 01:40:33 +02:00
Sandro Jäckel
40cc26ca02
URL encode spaces (#276)
Closes #275
2019-07-08 17:05:18 +02:00
Sandro Jäckel
fd7b8cd839
Made username, token checking more robust against configuration errors 2019-07-06 16:45:38 +02:00
Sandro Jäckel
9c92ac9342
Fix sha check 2019-07-06 16:41:40 +02:00
Sandro Jäckel
1b6c8adf28
Switch to test, cleanupm, formatting 2019-07-06 16:37:13 +02:00
Sandro Jäckel
65c5833fd9
Cleanup shebangs, add set -eou[x] pipefail to all files 2019-07-06 16:32:49 +02:00
Sandro Jäckel
29ee60236e
Switch scripts to bash
Closes #268, #269
2019-07-05 09:19:46 +02:00
Carl Bennett
f8c62978ee Add executable permission on 0.17 shell files (#270) 2019-07-05 02:46:24 +02:00
Sandro Jäckel
28598a42a3 Rebase modupdater (#267)
Based on work from https://github.com/ALovedOne and https://github.com/patschi
2019-07-04 00:34:09 +02:00
Sandro Jäckel
0173eab54c
Quote factorio volume variable 2019-05-16 19:59:42 +02:00
Osiris
5cd0c40975 fix for .tmp.zip saves not being deleted on start (#255)
Co-Authored-By: Chris Cowan <agentme49@gmail.com>
2019-05-16 19:55:02 +02:00
Sandro Jäckel
b2a4195e13
Advance CI features (#245)
* Build feature branches with branch tag

* Build short and long image tag

* Add latest and stable tag, made moving repos easier

* Only push tags to registry

* Only build tags that where changed

* Fix if and quoting, push $VERSION_SHORT

* Update MicroBadger with Webhook, closes #251

* Quote vars

* Set tag on PR, too

* Switch to hadolint docker image

due to PR not having enviroment variables and I don't want to commit my token in the script

* Only push image on master
2019-05-16 19:23:07 +02:00
Osiris
b0cedbbe1b Update docker-entrypoint.sh (#253) 2019-05-10 01:27:25 +02:00
Brandon Houghton
aef16e83a7 Fixed naming of $SCENARIOS
Renamed local variable `$SCENARIO` to `$SERVER_SCENARIO`
2019-05-02 12:07:38 -04:00
Sandro Jäckel
46f24b0b7a
Quote all vars, remove useless echo/sub-shell, add shebands, fail on unset vars, enable pipefail, formatting 2019-05-01 10:04:56 +02:00
Dan Anstis
eea1d550f2 Fix conflicting user group ids (#232) 2019-04-21 12:15:01 +02:00
Dan Anstis
288f080ebc Add support for changing UID/GID (#216)
* Add support for changing UID/GID

* Revert volume definition in docker-compose file
2019-04-18 13:00:14 +02:00
Dave Bendit
2b434ff08f Stop wiping out mapgen settings 2019-03-04 23:49:33 -06:00
Dave Bendit
35d22efc67 Removing duplicate banlist line 2019-03-04 15:14:59 -06:00
David Andersen
8e7bca222a generate map as factorio user 2019-02-27 19:45:13 +00:00
David Andersen
979326ebf6
Merge pull request #189 from DBendit/fix-mapgen
Mapgen example fixed in 0.17.2
2019-02-27 11:10:11 -08:00
David Andersen
d5ac333364 make sure /opt/factorio/temp exists 2019-02-27 19:09:35 +00:00
Dave Bendit
e941e9a2c8 Mapgen example fixed in 0.17.2 2019-02-27 13:06:47 -06:00
David Andersen
10d000408c take ownership of /opt/factorio/temp 2019-02-27 18:25:54 +00:00
David Andersen
324920cdf8 don't run su-exec if container starts as non-root 2019-02-27 16:30:46 +00:00
Dave Bendit
26cec3ae93 Adding banlist support 2019-02-26 19:30:47 -06:00
Dave Bendit
7897de5080 Adding support for adminlist 2019-02-26 19:26:59 -06:00
installgen2
3cdf39d04b
Merge branch '0.17-debug' into master 2019-02-26 21:19:14 +00:00
David Andersen
b840e86d21 use su-exec instead of gosu; don't use example map settings 2019-02-26 21:13:05 +00:00
installgen2
a9047cae58 workaround 0.17 issues 2019-02-26 14:12:51 -07:00
David Andersen
bf128afdb4 debugging branch 2019-02-26 19:55:45 +00:00
David Andersen
f5ffae1cb4 make scripts executable 2019-02-26 19:44:26 +00:00
David Andersen
86169c9dad add files to 0.17 2019-02-26 11:11:21 -08:00