Hey there,
Basically:
-
&is used for anchors -
<<is used for map merging -
*is used for aliases -
.(in front of the job name) indicates a job should be hidden (not executed) - but in this situation it’s a hidden job that defines what should be done in a job, and you can reference it withbuildanchor
It’s basically used to optimize gitlab-ci.yaml file and avoid repetitions in the job definition. To read more about it, have a look at GitLab YAML optimization.
Best regards!