Skip to content

Commit

Permalink
Migrate rsm data and database
Browse files Browse the repository at this point in the history
  • Loading branch information
Neill Turner committed Nov 21, 2024
1 parent 1393b3a commit 2489e66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/database-backup-migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
echo "BACKUP_FILE_NAME=rsm-${{ inputs.environment }}-psql-$(date +'%F-%H')" >> $GITHUB_ENV
echo "RUNNER_IP=$(curl ifconfig.me)" >> $GITHUB_ENV
source global_config/${{ inputs.environment }}.sh
echo "BACKUP_STORAGE_GROUP=${AZURE_RESOURCE_PREFIX}rsmdbbackup${CONFIG_SHORT}" >> $GITHUB_ENV
resource_prefix=$(jq -r '.resource_prefix' ${tf_vars_file})
resource_prefix=${resource_prefix//-/}
echo "BACKUP_STORAGE_GROUP=${"${resource_prefix//-/}"}rsmdbbackup${CONFIG_SHORT}" >> $GITHUB_ENV
- name: Set postgres environment variables
shell: bash
Expand Down

0 comments on commit 2489e66

Please sign in to comment.