Documentation of `.gitlab-ci.yml` states incorrect example for variables
Documentation states "To turn off global defined variables in your job, define an empty array: variables: []
"
But the variables field requires a dictionary of key value pairs, not an array. Example must be variables: {}
CI Lint raises an error when using an array: variables config should be a hash of key value pairs
- https://docs.gitlab.com/ce/ci/yaml/README.html#job-variables
- https://docs.gitlab.com/ce/ci/variables/README.html#gitlab-ci-yaml-defined-variables
See also issue #22648 (moved)