forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 2
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 ldap-per-user-authentication
* master: (1102 commits) Update README.md Update README.md Update README.md Update index.md [docs] add intrdocution for statements page (ClickHouse#12189) Revert "Run perf tests with memory sampling (for allocations >1M)" Sanitize LINK_LIBRARIES property for the directories (ClickHouse#12160) [docs] refactor Domains overview (ClickHouse#12186) DOCS-647: toStartOfSecond (ClickHouse#12190) [docs] add intrdocution for commercial page (ClickHouse#12187) DOCSUP-1348 Russian translation for new functions (#133) (ClickHouse#12194) changelog fixes Update index.md (ClickHouse#12191) Update zh kafka.md title (ClickHouse#12192) Added test for #3767 style fix for ClickHouse#12152 Tests for fixed issues ClickHouse#10846 and ClickHouse#7347 changelog fixes [docs] introduction for special table engines (ClickHouse#12170) [docs] introduction for third-party interfaces (ClickHouse#12175) ... # Conflicts: # src/Access/ya.make # src/Common/ErrorCodes.cpp
- Loading branch information
Showing
1,411 changed files
with
42,631 additions
and
9,826 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This workflow checks out code, performs an Anchore container image | ||
# vulnerability and compliance scan, and integrates the results with | ||
# GitHub Advanced Security code scanning feature. For more information on | ||
# the Anchore scan action usage and parameters, see | ||
# https://github.com/anchore/scan-action. For more information on | ||
# Anchore container image scanning in general, see | ||
# https://docs.anchore.com. | ||
|
||
name: Docker Container Scan (clickhouse-server) | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- docker/server/Dockerfile | ||
- .github/workflows/anchore-analysis.yml | ||
schedule: | ||
- cron: '0 21 * * *' | ||
|
||
jobs: | ||
Anchore-Build-Scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
- name: Build the Docker image | ||
run: | | ||
cd docker/server | ||
perl -pi -e 's|=\$version||g' Dockerfile | ||
docker build . --file Dockerfile --tag localbuild/testimage:latest | ||
- name: Run the local Anchore scan action itself with GitHub Advanced Security code scanning integration enabled | ||
uses: anchore/scan-action@master | ||
with: | ||
image-reference: "localbuild/testimage:latest" | ||
dockerfile-path: "docker/server/Dockerfile" | ||
acs-report-enable: true | ||
fail-build: true | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v1.0.0 | ||
with: | ||
name: AnchoreReports | ||
path: ./anchore-reports/ | ||
- name: Upload Anchore Scan Report | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: results.sarif |
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,33 @@ | ||
name: "CodeQL Scanning" | ||
|
||
on: | ||
schedule: | ||
- cron: '0 19 * * *' | ||
jobs: | ||
CodeQL-Build: | ||
|
||
runs-on: self-hosted | ||
timeout-minutes: 1440 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
submodules: 'recursive' | ||
|
||
- run: git checkout HEAD^2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
|
||
with: | ||
languages: cpp | ||
|
||
- run: sudo apt-get update && sudo apt-get install -y git cmake python ninja-build gcc-9 g++-9 && mkdir build | ||
- run: cd build && CC=gcc-9 CXX=g++-9 cmake .. | ||
- run: cd build && ninja | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
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 |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
/build | ||
/build_* | ||
/build-* | ||
/tests/venv | ||
|
||
/docs/build | ||
/docs/publish | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.