Improve ci schema to support several forms of scripts

What does this MR do and why?

Update before_script and after_script for CI schema, to support plain string without an array, just like script does.

Screenshots or screen recordings

image

How to set up and validate locally

https://docs.gitlab.com/ee/development/cicd/schema.html

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by PMExtra

Merge request reports

Loading