Skip to content

SLC-NIGHTLY

SLC-NIGHTLY #178

Workflow file for this run

# ---- AUTOMATICALLY GENERATED FILE ----
# ---- DO NOT EDIT MANUALLY, BUT USE PYTHON MODULE "exasol.slc_ci_setup" ----
# ---- from https://github.com/exasol/script-languages-container-ci-setup TO UPDATE ----
name: SLC-NIGHTLY
on:
schedule:
# Run at 1am on Monday, Wednesday & Friday
- cron: '0 1 * * 1,3,5'
jobs:
prepare-test-container:
uses: ./.github/workflows/slc_ci_prepare_test_container.yml
secrets: inherit
get-flavors:
needs: prepare-test-container
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
submodules: 'recursive'
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@v9
with:
python-version: "3.10"
poetry-version: "2.3.0"
- id: set-matrix
run: poetry run -- exaslc-ci get-flavors --github-output-var matrix
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
ci:
needs: get-flavors
strategy:
fail-fast: false
matrix:
flavor: ${{fromJson(needs.get-flavors.outputs.matrix)}}
uses: ./.github/workflows/slc_nightly_flavor.yml
secrets: inherit
with:
flavor: ${{ matrix.flavor }}
report:
if: ${{ failure() }}
needs: [ci]
name: Report status to slack
runs-on: ubuntu-24.04
steps:
- name: Report failure Status to Slack channel
id: report-failure-status-slack
uses: ravsamhq/notify-slack-action@v2
with:
status: failure
token: ${{ secrets.GITHUB_TOKEN }}
notification_title: "Nightly SLC build failed"
message_format: "{emoji} *{workflow}* failed in <{repo_url}|{repo}>. See {run_url} for details."
env:
SLACK_WEBHOOK_URL: ${{ secrets.INTEGRATION_TEAM_SLC_MONITORING_WEBHOOK }}