Help needed automatically downloading mods when running angel's unit tests
Posted: Sun Oct 23, 2022 1:30 am
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?
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?