I'm looking for the right way to set up a variable when I launch a job manually. I tried :
stages:
- test
my_job:
stage: test
script:
- echo "HEY"
variables:
FIRST_VARIABLE: "my_variable"
SECOND_VARIABLE:
value: "a"
description: "b"
when: manual
I want my SECOND_VARIABLE to appear into the following VARIABLES field, with a pre-field value : a.

Unfortunatly, I got some error trying "variables config should be a hash of key value pairs" error.
I tried with the gitlab documentation (cf variables), but it fails.
Can you help me to solve this problem ?