Pages job in .gitlab-ci.yml is untagged and clones whole repository (1)
In our CI workflow, there is a pages
job that is only run when a production build is being done (which happens on a merge to master or when a tag is created). However, this job fails currently because it has no tags set. As a workaround, I enabled the TwoRem Docker Runner to run untagged jobs, but this is not something that I want to keep in the configuration.
Also, the GIT_STRATEGY
variable is wrongly set to clone
, which should be set to none
. There is no need to clone the Quizzard Git repository for the pages
job, as it only needs the artefact generated by the previous package
job.
-
Add some tags to the pages
job in.gitlab-ci.yml
. -
Change GIT_STRATEGY
tonone
for thepages
job in.gitlab-ci.yml
Edited by Deleted user