mdubourg001 / glci

🦊 Test your Gitlab CI Pipelines changes locally using Docker.
568 stars 17 forks source link

Fix variables defined outside of default: #21

Closed ottaviohartman closed 3 years ago

ottaviohartman commented 3 years ago

Fixes #20

This example is valid, where a default: key exists and variables: is defined outside of it:

default:
  image: 'ruby:2.4'
  before_script:
    - echo Hello World

variables:
  DOMAIN: example.com
  WEBHOOK_URL: https://my-webhook.example.com