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

Backport of [NET-10737] Add CI Checks for Generated Testdata into release/1.19.x #21615

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

This PR is auto-generated from #21613 to be assessed for backporting due to the inclusion of the label backport/1.19.

The below text is copied from the body of the original PR.


Description

Adds tests to CI to ensure that xds golden files that are generated for tests are up to date

Testing & Reproduction steps

The core of the script is the following line:

changed_xds_files=$(git --no-pager diff --name-only HEAD "$(git merge-base HEAD "$GITHUB_BASE_REF")" | egrep "agent/xds/testdata/.*")

you can replace $GITHUB_BASE_REF with an earlier release branch (I use origin/release/1.17.x) to see it find diffs for golden files

Links

PR Checklist

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

Overview of commits

Copy link

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@github-actions github-actions bot added type/ci Relating to continuous integration (CI) tooling for testing or releases theme/contributing Additions and enhancements to community contributing materials labels Aug 19, 2024
@jm96441n jm96441n enabled auto-merge (squash) August 19, 2024 16:00
@jm96441n jm96441n merged commit 94e3ae7 into release/1.19.x Aug 19, 2024
103 checks passed
@jm96441n jm96441n deleted the backport/NET-10737-check-for-xds-diffs-in-ci/virtually-informed-aphid branch August 19, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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