Further improvements for CI config
Using this issue to list some possible future improvements for CI config, as a followup to !2921 (merged)
-
We can make job names and image names same for tag builds, so the template can say
image: ${BUILDER_IMAGE_REGISTRY}/${CI_JOB_NAME}:${BUILDER_IMAGE_REVISION}"
. However, since that only works for tag builds and not branch builds (CI won't let us do stuff like${CI_JOB_NAME%-branch}
to strip off-branch
from an env variable ), not sure if that is worth changing. -
use the
only: merge_requests
syntax for checks - rubocop, docs-link and danger.