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

Add a script to help verify release checks #32

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

michaelsembwever
Copy link
Member

No description provided.

@michaelsembwever
Copy link
Member Author

@ekaterinadimitrova2

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 7b895cd to 1019ac5 Compare October 30, 2020 19:55
###################

mkdir -p /tmp/$1
cd /tmp/$1
Copy link
Member Author

Choose a reason for hiding this comment

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

An improvement to this script would be to use a docker container instead of the /tmp directory.

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 2 times, most recently from 0d0d6da to 2615841 Compare December 21, 2020 09:38
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 2615841 to 832cb22 Compare March 26, 2021 22:11
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 832cb22 to 1d90352 Compare April 21, 2021 18:27
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 1d90352 to 4ea68da Compare August 30, 2021 14:14
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 4ea68da to 5e6a4a3 Compare February 8, 2022 12:14
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 5e6a4a3 to fc22ab0 Compare April 19, 2022 10:57
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from fc22ab0 to c316892 Compare May 24, 2022 08:38
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 2 times, most recently from 029d0ab to 12e7d81 Compare October 20, 2022 18:08
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 4 times, most recently from 88e8e13 to 4b2f607 Compare December 9, 2022 12:30
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 4b2f607 to dbf5d81 Compare May 3, 2023 14:42
echo "====== CHECK RESULTS ======"
echo

gpg --import KEYS
Copy link

Choose a reason for hiding this comment

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

I think it spoils the local gpg agent in case we don't want to import all the keys locally, so it should probably run inside a docker or we can prepare a docker image to do all checks :-)

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 3 times, most recently from 77e2240 to 3dad685 Compare August 14, 2023 11:50
command -v timeout >/dev/null 2>&1 || { echo >&2 "timeout needs to be installed"; exit 1; }
command -v docker >/dev/null 2>&1 || { echo >&2 "docker needs to be installed"; exit 1; }
(docker info >/dev/null 2>&1) || { echo >&2 "docker needs to running"; exit 1; }
(java -version 2>&1 | grep -q "1.8") || { echo >&2 "Java 8 must be used"; exit 1; }
Copy link

Choose a reason for hiding this comment

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

I think we can remove this requirement as it will not work for 5.x releases, right? :-)

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 3dad685 to bed5d51 Compare August 14, 2023 13:24
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from bed5d51 to 0e53ce4 Compare August 15, 2023 14:59
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 0e53ce4 to 5996107 Compare September 3, 2023 17:42
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 5996107 to f5a33a8 Compare September 4, 2023 20:32
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 4 times, most recently from b119a93 to 52bc067 Compare July 18, 2024 13:17
@michaelsembwever
Copy link
Member Author

Additions added so releases after they have been published can also be checked.

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 8 times, most recently from d859b6e to 333a269 Compare July 18, 2024 17:41
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 333a269 to ab9a662 Compare July 21, 2024 12:22
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