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
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 65
    • Merge requests 65
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lava
  • lavalava
  • Merge requests
  • !1873

Open
Created Nov 02, 2022 by eds-collabora@eds-collaboraContributor
  • Report abuse
Report abuse

Support docker login in some actions

  • Overview 8
  • Commits 9
  • Changes 18

We may sometimes want to use docker images from container registries that are behind authentication. This is not currently possible in LAVA, because there is no way to perform the necessary docker login command.

This MR adds tested docker login support to:

  • deploy:docker
  • boot:qemu
  • test:docker

And untested/experimental support to:

  • deploy:fastboot
  • boot:uuu

The rationale for the experimental support is that almost all the moving parts of the code are shared with tested cases - these are not arbitrary actions, but the ones supporting OptionalContainerMixin which allows encapsulating commands from the worker. These are much more difficult cases to test in development.

The reason not all actions are upgraded is the burden of doing so all at once, and the testing cost. This is something where we can add support to further actions incrementally.

Edited Nov 02, 2022 by eds-collabora
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/eds/at9100/add_docker_login_upstream