ci: update buildkite's hook (#31298)

* remove unnecessary files

* unify the hooks's header

* don't use set -e in post-checkout

* shellcheck.sh include .buildkite/hooks

* xxx: make ci unhappy

* Revert "xxx: make ci unhappy"

This reverts commit a0fdfb40db8aa226a2669e474a06fb0f45f8c5c4.
This commit is contained in:
Yihau Chen 2023-04-25 23:49:58 +08:00 committed by GitHub
parent cd2b2d4a14
commit c9ca6e3461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
CI_BUILD_START=$(date +%s)
export CI_BUILD_START

View File

@ -1 +0,0 @@
post-checkout

View File

@ -1,4 +1,5 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
source ci/upload-ci-artifact.sh

View File

@ -1 +0,0 @@
post-command

View File

@ -1 +0,0 @@
pre-command

View File

@ -6,7 +6,7 @@ set -e
cd "$(dirname "$0")/.."
(
set -x
git ls-files -- '*.sh' ':(exclude)ci/semver_bash' \
git ls-files -- '.buildkite/hooks' '*.sh' ':(exclude)ci/semver_bash' \
| xargs ci/docker-run.sh koalaman/shellcheck:v0.8.0 --color=always --external-sources --shell=bash
)
echo --- ok