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

refactor: simplify ci scripts #5430

Merged
merged 5 commits into from
Aug 9, 2021

Conversation

zmstone
Copy link
Member

@zmstone zmstone commented Aug 6, 2021

No description provided.

@zmstone zmstone marked this pull request as draft August 6, 2021 19:28
@zmstone zmstone force-pushed the refactor-simplify-ci-scripts branch 4 times, most recently from 82229cf to 709655d Compare August 8, 2021 18:08
@zmstone zmstone marked this pull request as ready for review August 8, 2021 18:09
@zmstone zmstone requested a review from a team August 8, 2021 18:09
WAIT_TIME="$1"
shift
CMD="$*"
while true; do
Copy link
Contributor

Choose a reason for hiding this comment

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

can bash timeout help here?

Copy link
Member Author

Choose a reason for hiding this comment

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

it's a command which may not exist in e.g. macos?
also here the probes don't really take a long time, but it's sleep.
and timeout can not be used on bash functions, only commands

.ci/build_packages/tests.sh Outdated Show resolved Hide resolved
qzhuyan
qzhuyan previously approved these changes Aug 8, 2021
Copy link
Contributor

@qzhuyan qzhuyan left a comment

Choose a reason for hiding this comment

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

LGTM

Rory-Z
Rory-Z previously approved these changes Aug 9, 2021
@zmstone zmstone dismissed stale reviews from Rory-Z and qzhuyan via f1262e0 August 9, 2021 08:28
@zmstone zmstone force-pushed the refactor-simplify-ci-scripts branch from 709655d to f1262e0 Compare August 9, 2021 08:28
@zmstone
Copy link
Member Author

zmstone commented Aug 9, 2021

squashed fixes.

@zmstone zmstone merged commit 672f94e into emqx:master Aug 9, 2021
@zmstone zmstone deleted the refactor-simplify-ci-scripts branch August 9, 2021 09:09
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