-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisit if types
is indeed an illegal name
#1263
Comments
hmm, (personally i would prefer the 2nd solution, because can't really tell if gitlab.com forget to remove or are they reserving those word for future use |
speaking of which, our list seemed to deviate a little from https://docs.gitlab.com/ee/ci/jobs/#job-name-limitations |
The following all works too eventhough the docs says it's illegal lols.. ---
"true":
script:
- echo "test"
"false":
script:
- echo "test"
"nil":
script:
- echo "test" |
Filed an issue https://gitlab.com/gitlab-org/gitlab/-/issues/467170 |
Minimal .gitlab-ci.yml illustrating the issue
Expected behavior
According to the documentation, it should not work.
https://docs.gitlab.com/ee/ci/jobs/#job-name-limitations
However, it does work:
https://gitlab.com/hverlin/gitlab-ci-local-tests/-/pipelines/1324968259
Probably this is a limitation that they forgot to remove from the documentation?
Two solutions:
types
from:gitlab-ci-local/src/job.ts
Lines 69 to 73 in ba3509a
The text was updated successfully, but these errors were encountered: