• Marius Bobin's avatar
    Show relevant errors when failing to match a CI job entry · 1517276d
    Marius Bobin authored
    CI jobs were identified only by the `script` keyword, resulting in
    unhelpfulerror messages:
    
    ```yaml
    build:
      before_script: pwd
    ```
    
    Would raise this validation error: `jobs:build config contains unknown
    keys: before_script`
    
    This patch uses all the possible keys to match a job entry, resulting in
    this error message: `"jobs:build script can't be blank"`.
    1517276d
improve-matching-for-ci-job-entries.yml 118 Bytes