Skip to content

chore(client-common): drop head pre-release publish job #1537

chore(client-common): drop head pre-release publish job

chore(client-common): drop head pre-release publish job #1537

Workflow file for this run

name: "misc"
permissions: {}
on:
workflow_dispatch:
push:
schedule:
- cron: "0 10 * * *"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
# Runs in parallel with the rest of the tests, there shoudl be no dependencies on it,
# and it should run even if other tests fail, to ensure that we keep the ClickHouse Cloud
# instance clean for the next runs to avoid adding cleanup cost to the critical path of the tests.
cloud-cleanup:
# Cloud secrets are not available for Dependabot pushes; skip the cleanup in that case.
if: ${{ always() && github.triggering_actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Setup NodeJS
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
- name: Cleanup old databases in ClickHouse Cloud
env:
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT_PROD }}
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT_PROD }}
PREFIX: clickhousejs_
TTL_MINUTES: 60
run: |
node .scripts/cleanup_old_databases.mjs