Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RUM-4060] Improved datadog-ci exec path resolving #674

Merged
merged 1 commit into from
Jun 12, 2024

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
@marco-saia-datadog marco-saia-datadog merged commit 99914f0 into develop Jun 12, 2024
6 checks passed
@marco-saia-datadog marco-saia-datadog deleted the marcosaia/RUM-4060/fix-datadog-ci-path branch June 12, 2024 14:50
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.

2 participants