Expect func: instead of step: when referencing a Function

Changes

GitLab Functions are referenced in a step using func: instead of step:.

As an intermediate measure, the step-runner looks for step: if func: isn't defined.

Example

Before After
spec: {}
---
run:
  - name: a_step
    step: ./funcs/my_func
spec: {}
---
run:
  - name: a_step
    func: ./funcs/my_func

Rename step: to func: for GitLab Functions comp... (#335 - closed)

Edited by Cameron Swords

Merge request reports

Loading