As part of the continuous integration/ build process, we need to set up a build server that will monitor changes pushed to the respository, reject unsavory ones (e.g. break tests), and generate a build image that we can distribute to users. I recommend using Travis CI and Github Actions, with the final workflow action producing a poretitioner Docker image.
The workflow will look something like:
[x] Run Linter/Format Enforcer/Tests, reject build if any step fails
[x] Run nix-build to generate package
[x] Run a nix/Docker script that creates a base image
Goal
We'll know this works when we can push code to the repository, and the build service spits out a Docker image that can be run on a separate machine.
Description
As part of the continuous integration/ build process, we need to set up a build server that will monitor changes pushed to the respository, reject unsavory ones (e.g. break tests), and generate a build image that we can distribute to users. I recommend using Travis CI and Github Actions, with the final workflow action producing a poretitioner Docker image.
The workflow will look something like:
[x] Run Linter/Format Enforcer/Tests, reject build if any step fails
[x] Run nix-build to generate package
[x] Run a nix/Docker script that creates a base image
Goal
We'll know this works when we can push code to the repository, and the build service spits out a Docker image that can be run on a separate machine.
Resources