Skip to content

Overriding LAVA_URL in gitlab CI job does not work #100

Description

@sre

Hi,

I have a Gitlab project, which runs multiple lava tests, but needs two different LAVA instances. The first one is specified via LAVA_URL and LAVA_TOKEN in the CI settings. For the second one I tried overriding like this to use STAGING_LAVA_URL instead. The Gitlab CICD Variable precedence suggested, that this should be possible: link to documentation.

lava sige5 test:
  stage: lava
  variables:
    LAVA_URL: ${STAGING_LAVA_URL}
    LAVA_TOKEN: ${STAGING_LAVA_TOKEN}
  tags:
    - lava-runner
  script:
    - submit lava/sige5-testjob.yaml

https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux/-/pipelines/136125

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions