forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
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 keeper-client-package
- Loading branch information
Showing
1,871 changed files
with
41,124 additions
and
14,237 deletions.
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 |
---|---|---|
|
@@ -75,51 +75,6 @@ jobs: | |
Codebrowser: | ||
needs: [DockerHubPush] | ||
uses: ./.github/workflows/woboq.yml | ||
BuilderCoverity: | ||
needs: DockerHubPush | ||
runs-on: [self-hosted, builder] | ||
steps: | ||
- name: Set envs | ||
run: | | ||
cat >> "$GITHUB_ENV" << 'EOF' | ||
BUILD_NAME=coverity | ||
CACHES_PATH=${{runner.temp}}/../ccaches | ||
IMAGES_PATH=${{runner.temp}}/images_path | ||
REPO_COPY=${{runner.temp}}/build_check/ClickHouse | ||
TEMP_PATH=${{runner.temp}}/build_check | ||
EOF | ||
echo "COVERITY_TOKEN=${{ secrets.COVERITY_TOKEN }}" >> "$GITHUB_ENV" | ||
- name: Download changed images | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: changed_images | ||
path: ${{ env.IMAGES_PATH }} | ||
- name: Check out repository code | ||
uses: ClickHouse/checkout@v1 | ||
with: | ||
clear-repository: true | ||
submodules: true | ||
- name: Build | ||
run: | | ||
sudo rm -fr "$TEMP_PATH" | ||
mkdir -p "$TEMP_PATH" | ||
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH" | ||
cd "$REPO_COPY/tests/ci" && python3 build_check.py "$BUILD_NAME" | ||
- name: Upload Coverity Analysis | ||
if: ${{ success() || failure() }} | ||
run: | | ||
curl --form token="${COVERITY_TOKEN}" \ | ||
--form email='[email protected]' \ | ||
--form file="@$TEMP_PATH/$BUILD_NAME/coverity-scan.tar.gz" \ | ||
--form version="${GITHUB_REF#refs/heads/}-${GITHUB_SHA::6}" \ | ||
--form description="Nighly Scan: $(date +'%Y-%m-%dT%H:%M:%S')" \ | ||
https://scan.coverity.com/builds?project=ClickHouse%2FClickHouse | ||
- name: Cleanup | ||
if: always() | ||
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 "$TEMP_PATH" "$CACHES_PATH" | ||
SonarCloud: | ||
runs-on: [self-hosted, builder] | ||
env: | ||
|
Oops, something went wrong.