Skip to content

CI: do not upload test metrics to datadog on forks#17448

Merged
jmurret merged 2 commits intomainfrom
jm/NET-4178
May 24, 2023
Merged

CI: do not upload test metrics to datadog on forks#17448
jmurret merged 2 commits intomainfrom
jm/NET-4178

Conversation

@jmurret
Copy link
Member

@jmurret jmurret commented May 24, 2023

Description

Tested that these changes work on PR from fork: #17445

Testing & Reproduction steps

  • create a PR from fork with only docs changes (or anything that does not cause test failures on its own)
  • validate checks run successfully

expected results: go-tests and test-integrations pass.

actual results: both workflows fail when trying to upload test coverage data to DataDog because the DD API key is not present (since the fork does not contain it).

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

@jmurret jmurret added pr/no-changelog PR does not need a corresponding .changelog entry backport/1.13 backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. labels May 24, 2023
@jmurret jmurret requested review from dhiaayachi and loshz May 24, 2023 18:35
@github-actions github-actions bot added theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases labels May 24, 2023
Copy link
Contributor

@dhiaayachi dhiaayachi left a comment

Choose a reason for hiding this comment

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

🚀 🚀 🚀
Thank you @jmurret!!

@jmurret jmurret enabled auto-merge (squash) May 24, 2023 18:42
@jmurret jmurret merged commit b8eb98f into main May 24, 2023
@jmurret jmurret deleted the jm/NET-4178 branch May 24, 2023 18:57
jmurret added a commit that referenced this pull request May 24, 2023
* bypass uploading testmetrics to datadog on forks / when api is not available

* add exclusions to upgrade tests
jmurret added a commit that referenced this pull request May 24, 2023
…elease/1.13.x (#17449)

* backport of commit ce702d7

* CI: do not upload test metrics to datadog on forks (#17448)

* bypass uploading testmetrics to datadog on forks / when api is not available

* add exclusions to upgrade tests

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
jmurret added a commit that referenced this pull request May 24, 2023
* bypass uploading testmetrics to datadog on forks / when api is not available

* add exclusions to upgrade tests
jmurret added a commit that referenced this pull request Jun 12, 2023
…elease/1.15.x (#17451)

* backport of commit ce702d7

* CI: do not upload test metrics to datadog on forks (#17448)

* bypass uploading testmetrics to datadog on forks / when api is not available

* add exclusions to upgrade tests

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. pr/no-changelog PR does not need a corresponding .changelog entry pr/no-metrics-test theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants