Skip to content

:release node in .gitlab-ci.yml always requires script

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

In examples, discussions and test specs, the :release node has always had a script entry. In fact a release job does not need a script node to run, although is may optionally use one.

If however the script node is left out of the yml, it is invalid.

The documentation states that script is always required.

Steps to reproduce

(How one can reproduce the issue - this is very important)

Example Project

Without script

Screenshot_2020-06-23_at_14.19.16

With script

  • example project with script
  • the example script is unneeded to create the release in this case
  • the message displayed about invalid yml is because the feature flag is not turned on. This yml validates on a local instance with the flag flipped.

Screenshot_2020-06-23_at_14.22.08

Possible fixes

Make the script node optional for jobs with a release node.

Edited by 🤖 GitLab Bot 🤖