Skip to content

Unsupported run stage 'step_script' on custom executor

Summary

With gitlab-runner 13.1.0 (6214287e) on Debian 10 our custom executor jobs started failing with:

Executing "step_script" stage of the job script
Unsupported run stage 'step_script'

This scenario worked shortly before with gitlab-runner 13.0.1 (21cb397c).

If step_script is a new custom executor stage, it should be documented. (It may well be but https://docs.gitlab.com/13.1/runner/executors/custom.html which is linked from https://docs.gitlab.com/runner/executors/custom.html is not accessible at this moment.)

Similar issue: #25974.

Workaround

  1. If your custom executor driver has strict validation of what steps execute start accepting step_script