feat(ci): add manual wipe-mnesia jobs for IFT/stage [skip ci]

workflow_dispatch only: wipe-mnesia-ift / wipe-mnesia-stage and scripts/ci-full-mnesia-wipe.sh.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-01 18:30:11 +03:00
parent 0a5e86c4a0
commit 4eb1f326ec
2 changed files with 99 additions and 0 deletions
+29
View File
@@ -21,6 +21,8 @@ on:
- e2e-ift
- deploy-stage
- e2e-stage
- wipe-mnesia-ift
- wipe-mnesia-stage
concurrency:
group: eventhub-back-${{ github.ref }}
@@ -472,3 +474,30 @@ jobs:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: bash scripts/run-stand-api-tests.sh stage
# Manual only: full Mnesia wipe (NOT prod). No deploy/e2e needs.
wipe-mnesia-ift:
if: github.event_name == 'workflow_dispatch' && github.event.inputs.pipeline == 'wipe-mnesia-ift'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- name: Full Mnesia wipe IFT
env:
SSH_HOST: ${{ secrets.IFT_SSH_HOST }}
SSH_USER: ${{ secrets.IFT_SSH_USER }}
SSH_KEY: ${{ secrets.IFT_SSH_PRIVATE_KEY }}
run: bash scripts/ci-full-mnesia-wipe.sh ift
wipe-mnesia-stage:
if: github.event_name == 'workflow_dispatch' && github.event.inputs.pipeline == 'wipe-mnesia-stage'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- name: Full Mnesia wipe stage
env:
SSH_HOST: ${{ secrets.STAGE_SSH_HOST }}
SSH_USER: ${{ secrets.STAGE_SSH_USER }}
SSH_KEY: ${{ secrets.STAGE_SSH_PRIVATE_KEY }}
run: bash scripts/ci-full-mnesia-wipe.sh stage