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

[v23.1.x] add pre-exit hook that calls the vtools one #10999

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions .buildkite/hooks/pre-command

This file was deleted.

8 changes: 6 additions & 2 deletions .buildkite/hooks/pre-exit
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
if [[ $ENABLE_STEP_CDT == '1' && -x bin/task ]]; then
bin/task ci:cdt-cleanup

if [[ -f vtools/.buildkite/hooks/pre-exit ]]; then
echo "~~~ Executing vtools pre-exit hook"
vtools/.buildkite/hooks/pre-exit
else
echo "No pre-exit hook found in vtools/.buildkite/hooks/"
fi