backup test

This commit is contained in:
neha-Gupta1 2023-09-08 16:12:34 +05:30
parent 0db6f407fe
commit 20fbfbec01

View File

@ -3,6 +3,7 @@ on:
push:
branches:
- main
- trySanityTestGroup
workflow_dispatch:
inputs:
user:
@ -330,7 +331,7 @@ jobs:
# generate new entries for test
- name: Groups - Create new data
if: true # TODO: enable when ready
if: false # TODO: enable when ready
id: new-data-creation-groups
working-directory: ./src/cmd/factory
run: |
@ -347,7 +348,7 @@ jobs:
echo result="${suffix}" >> $GITHUB_OUTPUT
- name: Groups - Backup
if: false # TODO: enable when ready
if: true # TODO: enable when ready
id: groups-backup
uses: ./.github/actions/backup-restore-test
with:
@ -358,7 +359,7 @@ jobs:
log-dir: ${{ env.CORSO_LOG_DIR }}
- name: Teams - Backup
if: false # TODO: enable when ready
if: true # TODO: enable when ready
id: teams-backup
uses: ./.github/actions/backup-restore-test
with:
@ -384,9 +385,9 @@ jobs:
if-no-files-found: error
retention-days: 14
- name: Notify failure in slack
if: failure()
uses: ./.github/actions/slack-message
with:
msg: "[FAILED] Sanity Tests"
slack_url: ${{ secrets.SLACK_WEBHOOK_URL }}
# - name: Notify failure in slack
# if: failure()
# uses: ./.github/actions/slack-message
# with:
# msg: "[FAILED] Sanity Tests"
# slack_url: ${{ secrets.SLACK_WEBHOOK_URL }}