Skip to content

Commit

Permalink
Adding corrections for DB backup
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheislamdfe committed Oct 9, 2024
1 parent c09286e commit 2369802
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/database-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
name: Backup database
runs-on: ubuntu-latest
environment:
name: ${{ inputs.environment || 'production' }}
name: aks-${{ inputs.environment || 'production' }}
env:
DEPLOY_ENV: ${{ inputs.environment || 'production' }}
BACKUP_FILE: ${{ inputs.backup-file || 'schedule' }}
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
with:
storage-account: ${{ env.STORAGE_ACCOUNT_NAME }}
resource-group: ${{ env.RESOURCE_GROUP_NAME }}
app-name: ${{ env.SERVICE_SHORT }}-${{ env.DEPLOY_ENV }}-api
app-name: ${{ env.SERVICE_NAME }}-${{ env.DEPLOY_ENV }}
cluster: ${{ env.CLUSTER }}
azure-credentials: ${{ secrets.AZURE_CREDENTIALS }}
backup-file: ${{ env.BACKUP_FILE }}.sql
Expand Down
3 changes: 2 additions & 1 deletion terraform/application/config/test.tfvars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"cluster": "test",
"namespace": "tra-test",
"evidence_container_retention_in_days": 1
"evidence_container_retention_in_days": 1,
"enable_postgres_backup_storage": true
}

0 comments on commit 2369802

Please sign in to comment.