Help needed automatically downloading mods when running angel's unit tests

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
faraway9912
Inserter
Inserter
Posts: 23
Joined: Sat Feb 25, 2017 8:43 am
Contact:

Help needed automatically downloading mods when running angel's unit tests

Post by faraway9912 »

Hi,

I'm looking to set up CI/CD to auto-run some mod-related unit tests for AngelBob + seablock pack. I'm running into an issue where my CI runner can't download mods from the mod portal without authenticating to factorio.com.

I'm debating the following options:
1. Require setting up a factorio.com authentication before running unit tests. This would require tying the CI configs to a specific maintainer's factorio login, which may cause problems down the line with open source maintainer handoffs and also opens a security hole since now our CI server has to be careful not to give away that auth token when running against PRs.
2. Download the mods from their respective github repos
3. Set up a mirror to re-serve mods from Factorio mod portal.

Do the factorio mods here have any guidance or preferences?
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 282
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Re: Help needed automatically downloading mods when running angel's unit tests

Post by KiwiHawk »

Option 2 sounds the most useful! Especially if you can choose to run on dev branch. Ideally we want things tested before they are released.
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
Post Reply

Return to “Technical Help”