Commit 35307fa5 authored by Adrian DC's avatar Adrian DC
Browse files

fix: resolve #33 support integer variables definitiionz type

parent d7a60dde
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for gitlabci_local/runner.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ def runner(options, job_data, last_result):
        # Prepare variables
        variables = dict()
        for variable in job_data['variables']:
            variables[variable] = os.path.expandvars(job_data['variables'][variable])
            variables[variable] = os.path.expandvars(str(job_data['variables'][variable]))

        # Prepare image
        image = job_data['image']
+7 −0
Changes for tests/environment/.gitlab-ci.yml: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
image: ${IMAGE_REFERENCE_1}

variables:
  CONSTANT_1: 1
  CONSTANT_2: '2'

stages:
  - build

@@ -23,6 +27,9 @@ stages:
  script:
    - echo 'Job 3'
    - echo "USER = ${USER}"
    - echo "CONSTANT_1 = ${CONSTANT_1}"
    - echo "CONSTANT_2 = ${CONSTANT_2}"
    - echo "CONSTANT_3 = ${CONSTANT_3}"
    - echo "VALUE_1 = ${VALUE_1}"
    - echo "VALUE_2 = ${VALUE_2}"
    - echo "VALUE_3 = ${VALUE_3}"