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