mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
name: NightlyBuilds
|
|
|
|
env:
|
|
# Force the stdout and stderr streams to be unbuffered
|
|
PYTHONUNBUFFERED: 1
|
|
|
|
"on":
|
|
schedule:
|
|
- cron: '13 3 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
RunConfig:
|
|
runs-on: [self-hosted, style-checker-aarch64]
|
|
outputs:
|
|
data: ${{ steps.runconfig.outputs.CI_DATA }}
|
|
steps:
|
|
- name: DebugInfo
|
|
uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6
|
|
- name: Check out repository code
|
|
uses: ClickHouse/checkout@v1
|
|
with:
|
|
clear-repository: true # to ensure correct digests
|
|
fetch-depth: 0 # to get version
|
|
filter: tree:0
|
|
- name: PrepareRunConfig
|
|
id: runconfig
|
|
run: |
|
|
echo "::group::configure CI run"
|
|
python3 "$GITHUB_WORKSPACE/tests/ci/ci.py" --configure --skip-jobs --outfile ${{ runner.temp }}/ci_run_data.json
|
|
echo "::endgroup::"
|
|
|
|
echo "::group::CI run configure results"
|
|
python3 -m json.tool ${{ runner.temp }}/ci_run_data.json
|
|
echo "::endgroup::"
|
|
{
|
|
echo 'CI_DATA<<EOF'
|
|
cat ${{ runner.temp }}/ci_run_data.json
|
|
echo 'EOF'
|
|
} >> "$GITHUB_OUTPUT"
|
|
BuildDockers:
|
|
needs: [RunConfig]
|
|
uses: ./.github/workflows/reusable_docker.yml
|
|
with:
|
|
data: "${{ needs.RunConfig.outputs.data }}"
|
|
set_latest: true
|