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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user