forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jincong8973
- Loading branch information
Showing
4,901 changed files
with
140,763 additions
and
49,927 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: CheckWorkflowResults | ||
|
||
description: Check overall workflow status and post error to slack if any | ||
|
||
inputs: | ||
needs: | ||
description: github needs context as a json string | ||
required: true | ||
type: string | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check Workflow | ||
shell: bash | ||
run: | | ||
export WORKFLOW_RESULT_FILE="/tmp/workflow_results.json" | ||
cat > "$WORKFLOW_RESULT_FILE" << 'EOF' | ||
${{ inputs.needs }} | ||
EOF | ||
python3 ./tests/ci/ci_buddy.py --check-wf-status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
name: Clean runner | ||
description: Clean the runner's temp path on ending | ||
inputs: | ||
images: | ||
description: clean docker images | ||
default: false | ||
type: boolean | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Clean | ||
- name: Clean Temp | ||
shell: bash | ||
run: | | ||
docker ps --quiet | xargs --no-run-if-empty docker kill ||: | ||
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||: | ||
sudo rm -fr "${{runner.temp}}" | ||
sudo rm -fr "${{runner.temp}}" | ||
- name: Clean Docker Containers | ||
shell: bash | ||
run: | | ||
docker rm -vf $(docker ps -aq) ||: | ||
- name: Clean Docker Images | ||
if: ${{ inputs.images }} | ||
shell: bash | ||
run: | | ||
docker rmi -f $(docker images -aq) ||: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: DebugInfo | ||
description: Prints workflow debug info | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Envs, event.json and contexts | ||
shell: bash | ||
run: | | ||
echo '::group::Environment variables' | ||
env | sort | ||
echo '::endgroup::' | ||
echo '::group::event.json' | ||
python3 -m json.tool "$GITHUB_EVENT_PATH" | ||
echo '::endgroup::' | ||
cat << 'EOF' | ||
::group::github context | ||
${{ toJSON(github) }} | ||
::endgroup:: | ||
::group::env context | ||
${{ toJSON(env) }} | ||
::endgroup:: | ||
::group::runner context | ||
${{ toJSON(runner) }} | ||
::endgroup:: | ||
::group::job context | ||
${{ toJSON(job) }} | ||
::endgroup:: | ||
EOF |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.