This commit builds the magefile into a binary during the docker build
stage.
The Dockerfile is updated to include a multi-stage build where the first
stage compiles the binary and the second stage builds the final
cv-builder image.
The final image is now based on debian:buster instead of
golang:<VERSION>-buster which significantly reduces the image's size.
This commit adds a release pipeline for publishing my CV online to the project's
release page and also privately to a mounted volume on my personal machine.
The release pipeline is triggered for every tagged commit that uses the date
versioning scheme (e.g. 2021.09.21).
Changes include:
- added tags to all jobs so private runners are used.
- added a build stage.
- added a build job to build the CV for merge requests.
- added a build job to build the CV for the release pipeline.
- the build job for the release pipeline adds the CV to an artifacts that expire after 1 year.
- created a publish job for publishing the CV online to the project's release page.
- created a publish job for publishing the CV privately to a mounted volume on the private runner.
- small updates in the README.
- removed the CV file from the repository.
- removed the job that publishes the CV PDF file to the master branch.
This commit removes the Makefile and uses mage to build the CV files and Docker images.
Changes include:
- All make targets are re-written in go in magefile.go
- The spellcheck script is now written in go and is part of the magefile
- Created mage.go to remove dependency on a mage binary
- Updated CI pipelines to use mage
- Removed unused Makefile
- Removed unused spellcheck bash script
- Cleaned up .gitignore
- Updated .aspell/.aspell.en.pws
NOTE: The updated pipeline for generating the docker image is untested for this MR.
- use upstream template workflow.
- always run CV test jobs unless certain files are changed.
- clean up Dockerfile test job rules.
- clean up publish job rules.
This commit brings the CI pipeline configuration up to date.
Changes include:
- add workflow rules.
- remove only/except syntax in favourof rules.
- update ref to CV builder image.
- add Dockerfile linting as part of the test stage.
- fix linting issues in Dockerfile.
The following changes are included in this commit:
- add a pipeline for publishing the output CV to
the master branch when a change has been
committed to the master branch.
- split the CI configuration into two files:
one for the docker build pipeline and the other
for the CV build pipeline.