Add the init() function

.gitlab-ci.yml not found in this commit