Skip to content

incremental-build: run the job container as non-root instead of -u root #5698

Closed

Description

@anchapin

Follow-up to #5682.

incremental-build.yml starts its container with -u root. The image's default user is ubuntu, so dropping -u root would make the job's uid non-zero.

Things to check before changing it:

  • the persistent volumes are root-owned from earlier runs, so they need a one-time ownership fix or the job can't write to them
  • every step in the workflow, for anything that needs root (package installs, writes outside $HOME)
  • it needs a real CI run on the self-hosted runner

Sequenced after the runner admins decide on #5696 and #5697, since those may change how the container is created.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions