Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • lava lava
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 148
    • Issues 148
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lava
  • lavalava
  • Merge requests
  • !1441

Merged
Created Feb 24, 2021 by Philippe Mazet@philm06Contributor

uuu: usb_otg_path can be provided using command evaluation

  • Overview 21
  • Commits 1
  • Changes 6

Enable "on worker" uuu_otg_path configuration instead of modifying devices definitions located on the master.

Examples: Before this change, the LAVA device dictionary contained static uuu USB ID, like: {% set uuu_usb_otg_path = '1:324' %}

With this change, the dictionary can contain a command that will actually return this string, eg: {% set uuu_usb_otg_path_command = ['board-control', 'imx8mq-evk-01', 'extra', 'uuu_otg_path', '--silent'] %}

In this example, board-control is a tool that reads a cfg file on the worker, and returns the uuu string. The cfg file contains the actual uuu USB ID.

Edited Mar 10, 2021 by Philippe Mazet
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: uuu_otg_path-from-command-result