gitlab-org--gitlab-foss/lib/gitlab/config/entry
Paul 🐻 9f36097db2 fix(gitlab-ci-config): allow strings in the 'include' keyword
This fix is a followup to !24098 which introduced a validation of the
`include:` keyword of a gitlab-ci configuration file when triggered
from /ci/lint API calls.

However, there was a test case missing: the case of a single string as
value. I have added a test case for that which shows that the code was
not validating it correctly.

This commit fixes that to allow all `include:` valid inputs.
2019-04-05 06:44:33 +00:00
..
attributable.rb
boolean.rb
configurable.rb Add port section to CI Image object 2019-04-03 09:50:54 +00:00
factory.rb Add port section to CI Image object 2019-04-03 09:50:54 +00:00
legacy_validation_helpers.rb Make CI refs matching to to use UntrustedRegexp 2019-03-15 14:38:28 +01:00
node.rb Add port section to CI Image object 2019-04-03 09:50:54 +00:00
simplifiable.rb Add port section to CI Image object 2019-04-03 09:50:54 +00:00
undefined.rb
unspecified.rb
validatable.rb
validator.rb
validators.rb fix(gitlab-ci-config): allow strings in the 'include' keyword 2019-04-05 06:44:33 +00:00