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:
parent
cd2b2d4a14
commit
c9ca6e3461
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
CI_BUILD_START=$(date +%s)
|
CI_BUILD_START=$(date +%s)
|
||||||
export CI_BUILD_START
|
export CI_BUILD_START
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
post-checkout
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
source ci/upload-ci-artifact.sh
|
source ci/upload-ci-artifact.sh
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
post-command
|
|
|
@ -1 +0,0 @@
|
||||||
pre-command
|
|
|
@ -6,7 +6,7 @@ set -e
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
(
|
(
|
||||||
set -x
|
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
|
| xargs ci/docker-run.sh koalaman/shellcheck:v0.8.0 --color=always --external-sources --shell=bash
|
||||||
)
|
)
|
||||||
echo --- ok
|
echo --- ok
|
||||||
|
|
Loading…
Reference in New Issue