Skip to content

Commit

Permalink
Merge pull request #5465 from DFE-Digital/3954-fail-ci-when-restore-f…
Browse files Browse the repository at this point in the history
…ails

Ensure CI workflow fails when psql restore encounters an error
  • Loading branch information
ethax-ross authored Jan 27, 2025
2 parents 8e5b992 + eff6931 commit de9170a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ runs:
- name: Restore snapshot database
shell: bash
run: bin/konduit.sh -d s189p01-cpdecf-pd-pg-snapshot -k s189p01-cpdecf-pd-app-kv -i backup-${{ inputs.environment }}.sql.gz -c -t 7200 cpd-ecf-${{ inputs.environment }}-web -- psql
run: bin/konduit.sh -d s189p01-cpdecf-pd-pg-snapshot -k s189p01-cpdecf-pd-app-kv -i backup-${{ inputs.environment }}.sql.gz -c -t 7200 cpd-ecf-${{ inputs.environment }}-web -- psql -v ON_ERROR_STOP=1

0 comments on commit de9170a

Please sign in to comment.