Skip to content

chore: Update docker user mapping for weaver#2140

Open
kaylareopelle wants to merge 1 commit into
open-telemetry:mainfrom
kaylareopelle:update-weaver-docker-user
Open

chore: Update docker user mapping for weaver#2140
kaylareopelle wants to merge 1 commit into
open-telemetry:mainfrom
kaylareopelle:update-weaver-docker-user

Conversation

@kaylareopelle
Copy link
Copy Markdown
Contributor

When we tried to use renovate to update the semantic conventions gem we encountered the following error:

  × Writing of the generated code /output/./lib/opentelemetry/semconv/
  │ aspnetcore/metrics.rb failed: Permission denied (os error 13)

This is because the Docker runner's user is different from the user in the weaver process.

Weaver has a docker guide that recommends setting the user to:
$(id -u ${USER}):$(id -g ${USER})

See failure: https://github.com/open-telemetry/opentelemetry-ruby/actions/runs/25760086248/job/75658668044?pr=2136

There are a few other recommendations in the docker guide we can consider adopting if this doesn't solve the problem.

When we tried to use renovate to update the semantic conventions gem
we encountered the following error:

  × Writing of the generated code /output/./lib/opentelemetry/semconv/
  │ aspnetcore/metrics.rb failed: Permission denied (os error 13)

This is because the Docker runner's user is different from the user in
the weaver process.

  Weaver has a docker guide that recommends setting the user to
  $(id -u ${USER}):$(id -g ${USER})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant