Skip to content
Snippets Groups Projects
Commit 073ae81e authored by Tim Jaacks's avatar Tim Jaacks
Browse files

LAVA: rename MACHINE to LAVA_MACHINE

Rename variable in order to avoid confusion with the original MACHINE
variable used everywhere else. Also rename the local Jinja2 variable to
include an underscore to make naming consistent.
parent a91baa55
No related branches found
No related tags found
1 merge request!331LAVA: rename MACHINE to LAVA_MACHINE
Pipeline #78654 skipped with stage
...@@ -82,16 +82,16 @@ build-{{ machine }}: ...@@ -82,16 +82,16 @@ build-{{ machine }}:
{% if machine == 'seco-mx6' or machine == 'imx6guf' %} {% if machine == 'seco-mx6' or machine == 'imx6guf' %}
{% set platforms = "santaro santoka santino santino-lt" %} {% set platforms = "santaro santoka santino santino-lt" %}
{% set lavamachine = "imx6guf" %} {% set lava_machine = "imx6guf" %}
{% elif machine == 'seco-mx6ull' or machine == 'imx6ullguf' %} {% elif machine == 'seco-mx6ull' or machine == 'imx6ullguf' %}
{% set platforms = "nallino" %} {% set platforms = "nallino" %}
{% set lavamachine = "imx6ullguf" %} {% set lava_machine = "imx6ullguf" %}
{% elif machine == 'seco-mx8mm' or machine == 'imx8mguf' %} {% elif machine == 'seco-mx8mm' or machine == 'imx8mguf' %}
{% set platforms = "tanaro" %} {% set platforms = "tanaro" %}
{% set lavamachine = "imx8mguf" %} {% set lava_machine = "imx8mguf" %}
{% else %} {% else %}
{% set platforms = '' %} {% set platforms = '' %}
{% set lavamachine = '' %} {% set lava_machine = '' %}
{% endif %} {% endif %}
{% if platforms %} {% if platforms %}
...@@ -104,8 +104,8 @@ smoketest:{{ machine }}: ...@@ -104,8 +104,8 @@ smoketest:{{ machine }}:
- job: build-{{ machine }} - job: build-{{ machine }}
variables: variables:
BUILD_JOB: build-{{ machine }} BUILD_JOB: build-{{ machine }}
MACHINE: {{ lavamachine }} LAVA_MACHINE: {{ lava_machine }}
PLATFORMS: {{ lavamachine }} PLATFORMS: {{ lava_machine }}
TEST_SUITE: boot.jinja2 TEST_SUITE: boot.jinja2
TEST_EXTRA_ARGUMENTS: --all-devices TEST_EXTRA_ARGUMENTS: --all-devices
...@@ -117,7 +117,7 @@ platformtest:{{ machine }}: ...@@ -117,7 +117,7 @@ platformtest:{{ machine }}:
- job: build-{{ machine }} - job: build-{{ machine }}
variables: variables:
BUILD_JOB: build-{{ machine }} BUILD_JOB: build-{{ machine }}
MACHINE: {{ lavamachine }} LAVA_MACHINE: {{ lava_machine }}
PLATFORMS: {{ platforms }} PLATFORMS: {{ platforms }}
{% endif %} {% endif %}
......
...@@ -269,7 +269,7 @@ workflow: ...@@ -269,7 +269,7 @@ workflow:
- .gitlab-ci/scripts/submit_test.py - .gitlab-ci/scripts/submit_test.py
--fng-install "$FNG_INSTALL_URL" --fng-install "$FNG_INSTALL_URL"
--name --name
"Gitlab $MACHINE $YOCTO_DISTRO $YOCTO_IMAGE ($CI_PIPELINE_ID)" "Gitlab $LAVA_MACHINE $YOCTO_DISTRO $YOCTO_IMAGE ($CI_PIPELINE_ID)"
--results-path "results" --results-path "results"
--report-name "testresults-${CI_JOB_NAME}.md" --report-name "testresults-${CI_JOB_NAME}.md"
--test-repo $TESTS_GIT_URL --test-repo $TESTS_GIT_URL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment