ci: extract wipe-mnesia into standalone workflows [skip ci]

Move IFT/stage Mnesia wipe out of CI pipeline choice so Gitea Actions shows them as separate dispatch workflows.
This commit is contained in:
2026-08-01 18:43:46 +03:00
parent 4eb1f326ec
commit 2b8fc19822
3 changed files with 44 additions and 29 deletions
-29
View File
@@ -21,8 +21,6 @@ on:
- e2e-ift
- deploy-stage
- e2e-stage
- wipe-mnesia-ift
- wipe-mnesia-stage
concurrency:
group: eventhub-back-${{ github.ref }}
@@ -474,30 +472,3 @@ 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
+22
View File
@@ -0,0 +1,22 @@
name: Wipe Mnesia IFT
# Manual only: full Mnesia wipe on IFT (NOT prod).
on:
workflow_dispatch:
concurrency:
group: wipe-mnesia-ift
cancel-in-progress: false
jobs:
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
+22
View File
@@ -0,0 +1,22 @@
name: Wipe Mnesia stage
# Manual only: full Mnesia wipe on stage (NOT prod).
on:
workflow_dispatch:
concurrency:
group: wipe-mnesia-stage
cancel-in-progress: false
jobs:
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