-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[NET-10737] Add CI Checks for Generated Testdata #21613
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jm96441n
added
pr/no-changelog
PR does not need a corresponding .changelog entry
backport/all
Apply backports for all active releases per .release/versions.hcl
labels
Aug 16, 2024
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 16, 2024
NiniOak
approved these changes
Aug 16, 2024
hc-github-team-consul-core
added
backport/1.19
This release series is longer active on CE, use backport/ent/1.19
backport/ent/1.17
This release series is longer active on CE or Ent
backport/ent/1.15
Changes are backported to 1.15 ent
backport/ent/1.18
Changes are backported to 1.18 ent
labels
Aug 19, 2024
4 tasks
philrenaud
pushed a commit
that referenced
this pull request
Sep 12, 2024
* Add checks to CI to ensure that generated golden files for xds tests are up to date * fix file permissions * debugging * more debugging * more debugging * more debugging * more debugging * I can't type * this might be correct * removing debug prints
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport/all
Apply backports for all active releases per .release/versions.hcl
backport/ent/1.15
Changes are backported to 1.15 ent
backport/ent/1.17
This release series is longer active on CE or Ent
backport/ent/1.18
Changes are backported to 1.18 ent
backport/1.19
This release series is longer active on CE, use backport/ent/1.19
pr/no-changelog
PR does not need a corresponding .changelog entry
theme/contributing
Additions and enhancements to community contributing materials
type/ci
Relating to continuous integration (CI) tooling for testing or releases
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 useorigin/release/1.17.x
) to see it find diffs for golden filesLinks
PR Checklist