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

release: enable bincheck for tag pushes #77038

Merged
merged 2 commits into from
Feb 26, 2022
Merged

Conversation

rail
Copy link
Member

@rail rail commented Feb 25, 2022

Previously, in order to run bincheck as part of the release process,
we would need to follow hands-on instructions at
https://github.com/cockroachdb/bincheck/blob/master/README.md.

This process requires some time and error prone.

This patch enables GitHub actions on tag push events and automates the
task.

Release note: None

rail added 2 commits February 25, 2022 10:17
Previously, in order to run `bincheck` as part of the release process,
we would need to follow hands-on instructions at
https://github.com/cockroachdb/bincheck/blob/master/README.md.

This process requires some time and error prone.

This patch enables GitHub actions on tag push events and automates the
task.

Release note: None
@rail rail added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-release T-release Release Engineering & Automation Team labels Feb 25, 2022
@rail rail requested review from jlinder and celiala February 25, 2022 15:21
@rail rail self-assigned this Feb 25, 2022
@rail rail requested a review from a team as a code owner February 25, 2022 15:21
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rail
Copy link
Member Author

rail commented Feb 25, 2022

https://github.com/rail/cockroach/actions/runs/1896886582 is an example run with hardcoded version and sha

Copy link
Collaborator

@jlinder jlinder left a comment

Choose a reason for hiding this comment

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

I like this as an incremental step to remove the manual run step. Looking forward to when we can run this as part of CI. In fact, we could do that now for the Linux binaries in TeamCity by making a new build config for running the linux one and make it depend on the output of the linux binary build config.

Maybe also put the bincheck directory under pkg/testutils?

Either way, LGTM.

@rail
Copy link
Member Author

rail commented Feb 25, 2022

I like this as an incremental step to remove the manual run step. Looking forward to when we can run this as part of CI. In fact, we could do that now for the Linux binaries in TeamCity by making a new build config for running the linux one and make it depend on the output of the linux binary build config.

Yes! Let's make some baby steps first :)

Maybe also put the bincheck directory under pkg/testutils?

I thought about that too, but we have zero Go files here... 🤔

Either way, LGTM.

TFTR!

I'm thinking about backporting this too!

Copy link
Collaborator

@celiala celiala left a comment

Choose a reason for hiding this comment

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

:lgtm: - reviewed at a high-level - everything makes sense to me.

Nice to see all the incremental improvements to the Week 1 tasks!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rail)


build/release/bincheck/buildroot.patch, line 2 at r1 (raw file):

diff --git a/package/ncurses/Config.in b/package/ncurses/Config.in
index 92be164..b3333f1 100644

did you mean to include this .patch file?

Copy link
Member Author

@rail rail left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @celiala and @rail)


build/release/bincheck/buildroot.patch, line 2 at r1 (raw file):

Previously, celiala wrote…

did you mean to include this .patch file?

Yeah, we need it if we want to recreate the image.

@rail
Copy link
Member Author

rail commented Feb 25, 2022

I have to merge this manually, bors cannot merge GitHub Actions files.

@rail rail merged commit addf3d4 into cockroachdb:master Feb 26, 2022
@rail
Copy link
Member Author

rail commented Feb 26, 2022

blathers backport release-21.1 release-21.2

@blathers-crl
Copy link

blathers-crl bot commented Feb 26, 2022

Encountered an error creating backports. Some common things that can go wrong:

  1. The backport branch might have already existed.
  2. There was a merge conflict.
  3. The backport branch contained merge commits.

You might need to create your backport manually using the backport tool.


error creating merge commit from 763611f to blathers/backport-release-21.1-77038: POST https://api.github.com/repos/cockroachlabs/cockroach/merges: 403 Resource not accessible by integration []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch release-21.1 failed. See errors above.


error creating merge commit from 763611f to blathers/backport-release-21.2-77038: POST https://api.github.com/repos/cockroachlabs/cockroach/merges: 403 Resource not accessible by integration []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch release-21.2 failed. See errors above.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-release C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-release Release Engineering & Automation Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants