CI/CD Schema is more restrictive than the implementation
Summary
The CI/CD Schema has a restriction on the parallel
keyword having a minimum value of 2.
The documentation, tests, and implementation all say that a minimum value of 1 is allowed.
Steps to reproduce
Open the pipeline editor and create a job with parallel: 1
.
For example
---
Print Environment Variables:
image: busybox:latest
parallel: 1
script:
- env | sort
What is the current bug behavior?
The schema restricts the minimum value of parallel
to 2.
What is the expected correct behavior?
The schema should restrict the minimum value of parallel
to 1.
Relevant logs and/or screenshots
As you can see below, the pipeline editor gives a warning about setting parallel
to 1.
But the job is still successfully created & run.