GitLab CI: build website
-
Iteration 1: merely migrate what we have on Jenkins (job definition, that simply runs ./build-website
) to GitLab CI: build the website on themaster
branch. -
Iteration 2: also run this job on MRs whose target branch is master
, in order to identify website build breakage before deployment. -
Iteration 3: run this job on all relevant branches/MRs, without wasting resources. For example: - Only build if files in
wiki/src
are modified - Caching: while building Tails images, we use this: https://gitlab.tails.boum.org/tails/tails/-/blob/stable/auto/scripts/website-cache
- Only build if files in
Edited by intrigeri