This documentation provides an overview
of the project, dependencies needed to
generate the PDF document, information
about the Docker image and instructions
on building the CV.
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.
This is the first of a few commits for creating
the GitLab CI pipeline for building and publishing my CV.
This commit adds a pipeline for building and publishing the cv-builder
docker image to the GitLab container registry.
Additions:
- The cv-builder docker image: This commit adds a Dockerfile for
building the cv-builder docker image. The image is based on the
golang (buster) image and installs ConTeXt (standalone version)
and the Carlito font.
- The gitlab-ci.yml file: This commit adds the gitlab-ci.yml file for
running the pipeline for building and publishing the docker image
to the GitLab Container Registry.
Changes:
- The Makefile now includes targets for building and publishing docker images.
JSON does not support splitting a string into multiple lines so I've
changed the Summary field from string to []string. I've created a func
called join that uses strings.Join() to concatenate all elements of
Summary into a single string.
- ConTeXt is used for the CV template.
- CV data is stored in a JSON document.
- A small Go script is used to parse the JSON data and render
the final cv.tex file.
- ConTeXt is then used to render the CV in PDF (other formats to be
supported soon).