Skip to content

feat (internal/civisibility): Add missing provider's environment variables.#3514

Merged
tonyredondo merged 5 commits into
mainfrom
tony/civisibility-add-missing-providers-environment-variables
May 12, 2025
Merged

feat (internal/civisibility): Add missing provider's environment variables.#3514
tonyredondo merged 5 commits into
mainfrom
tony/civisibility-add-missing-providers-environment-variables

Conversation

@tonyredondo

Copy link
Copy Markdown
Member

What does this PR do?

This PR adds missing provider's environment variables.

Motivation

For impacted tests we will need to gather more info about the pull request, some providers already have this information in the environment variables. With this PR we add those when available (similar to github)

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • New code is free of linting errors. You can check this by running golangci-lint run locally.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.

Unsure? Have a question? Request a review!

@tonyredondo
tonyredondo requested review from a team as code owners May 12, 2025 08:55
@tonyredondo
tonyredondo requested a review from liashenko May 12, 2025 08:55
@tonyredondo tonyredondo self-assigned this May 12, 2025
@datadog-datadog-prod-us1

Copy link
Copy Markdown

Datadog Summary

✅ Code Quality    ✅ Code Security    ✅ Dependencies


Was this helpful? Give us feedback!

@tonyredondo
tonyredondo merged commit 49b10f5 into main May 12, 2025
@tonyredondo
tonyredondo deleted the tony/civisibility-add-missing-providers-environment-variables branch May 12, 2025 10:41
tags[constants.CIJobURL] = os.Getenv("TRAVIS_JOB_WEB_URL")
tags[constants.GitCommitMessage] = os.Getenv("TRAVIS_COMMIT_MESSAGE")

tags[constants.GitHeadCommit] = os.Getenv("TRAVIS_PULL_REQUEST_SHA")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from travis docs:

TRAVIS_PULL_REQUEST_SHA:
if the current job is a pull request, the commit SHA of the HEAD commit of the PR.

I don't think it is a head commit of a base branch

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.

4 participants