Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store generate config locally for repeatable builds #103

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

B13rg
Copy link

@B13rg B13rg commented Sep 19, 2024

This PR makes the following changes to how dockerfiles are templated:

  • add yq python dependency for json parsing
  • set pyenv version to 3.12.2
  • parse csv game data into json for use in templating
  • store game configs locally for diff reference

By storing the shortname data locally, it can be referenced more easily by the templates instead of translating env vars.
My goal with this PR is to centralize the template config in the json files, to make it easier to add additional config data for the docker-compose files. Eventually, it would be nice to completely configure it based on data in server cfg files (like here)

After this PR, I plan on fetching distro and server info to use in the dockerfile.

No changes to generated files

@B13rg B13rg marked this pull request as ready for review September 19, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant