Skip to content

Conversation

@marco-saia-datadog
Copy link
Member

What does this PR do?

With this PR we introduce a more reliable way to retrieve the datadog-ci executable path, and the possibility to manually override it with an environment variable: DATADOG_CI_EXEC

Motivation

The sourcemaps upload task relies on the datadog-ci executable, located in node_modules/bin. Depending on the project setup this path could differ (e.g. monorepo).

Additional Notes

The same improvement has been introduced on Expo iOS DataDog/expo-datadog#38

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@marco-saia-datadog marco-saia-datadog marked this pull request as ready for review June 12, 2024 10:04
@marco-saia-datadog marco-saia-datadog requested a review from a team as a code owner June 12, 2024 10:04
@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/RUM-4060/fix-datadog-ci-path branch from fd276db to c0bf446 Compare June 12, 2024 10:07
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.

3 participants