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

ci: ensure logictests generated code is up to date #103810

Merged
merged 1 commit into from
May 24, 2023

Conversation

healthy-pod
Copy link
Contributor

@healthy-pod healthy-pod commented May 23, 2023

This code change ensures that generated BUILD files for logictests are always up to date.

Release note: None
Epic: none

@healthy-pod healthy-pod requested a review from rickystewart May 23, 2023 20:39
@healthy-pod healthy-pod requested a review from a team as a code owner May 23, 2023 20:39
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@@ -39,5 +39,8 @@ check_workspace_clean 'dev_generate' "Run \`./dev generate\` to automatically re
# docs.
bazel run @go_sdk//:bin/go --ui_event_filters=-DEBUG,-info,-stdout,-stderr --noshow_progress mod tidy
check_workspace_clean 'go_mod_tidy' "Run \`go mod tidy\` to automatically regenerate these."
# Run `generate-logictest` and ensure nothing changes.
bazel run //pkg/cmd/generate-logictest -- -out-dir="$PWD"
check_workspace_clean 'generate_logictest' "Run \`./dev gen logictest\` to automatically regenerate these."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: dev gen testlogic is the version we use in the code and is I think the "official" spelling, so maybe use it here. ./dev gen logictest is a synonym so it still works.

This code change ensures that generated BUILD files for
logictests are always up to date.

Epic: none
Release note: None
@healthy-pod
Copy link
Contributor Author

bors r=rickystewart

@craig
Copy link
Contributor

craig bot commented May 24, 2023

This PR was included in a batch that timed out, it will be automatically retried

@craig
Copy link
Contributor

craig bot commented May 24, 2023

Build succeeded:

@craig craig bot merged commit 23de673 into cockroachdb:master May 24, 2023
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.

3 participants