|
|
|
@ -18,7 +18,7 @@ jobs: |
|
|
|
postgres: |
|
|
|
postgres: |
|
|
|
name: Provision postgres |
|
|
|
name: Provision postgres |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
environment: staging |
|
|
|
environment: review |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Install Cloud Foundry CLI |
|
|
|
- name: Install Cloud Foundry CLI |
|
|
|
@ -44,7 +44,7 @@ jobs: |
|
|
|
redis: |
|
|
|
redis: |
|
|
|
name: Provision redis |
|
|
|
name: Provision redis |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
environment: staging |
|
|
|
environment: review |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Install Cloud Foundry CLI |
|
|
|
- name: Install Cloud Foundry CLI |
|
|
|
@ -70,7 +70,7 @@ jobs: |
|
|
|
deploy: |
|
|
|
deploy: |
|
|
|
name: Deploy review app |
|
|
|
name: Deploy review app |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
environment: staging |
|
|
|
environment: review |
|
|
|
needs: [postgres, redis] |
|
|
|
needs: [postgres, redis] |
|
|
|
permissions: |
|
|
|
permissions: |
|
|
|
issues: write |
|
|
|
issues: write |
|
|
|
@ -125,7 +125,7 @@ jobs: |
|
|
|
cf set-env $APP_NAME IMPORT_PAAS_INSTANCE $IMPORT_PAAS_INSTANCE |
|
|
|
cf set-env $APP_NAME IMPORT_PAAS_INSTANCE $IMPORT_PAAS_INSTANCE |
|
|
|
cf set-env $APP_NAME EXPORT_PAAS_INSTANCE "dluhc-core-review-export-bucket" |
|
|
|
cf set-env $APP_NAME EXPORT_PAAS_INSTANCE "dluhc-core-review-export-bucket" |
|
|
|
cf set-env $APP_NAME S3_CONFIG $S3_CONFIG |
|
|
|
cf set-env $APP_NAME S3_CONFIG $S3_CONFIG |
|
|
|
cf set-env $APP_NAME CSV_DOWNLOAD_PAAS_INSTANCE "dluhc-core-staging-csv-bucket" |
|
|
|
cf set-env $APP_NAME CSV_DOWNLOAD_PAAS_INSTANCE "dluhc-core-review-csv-bucket" |
|
|
|
cf set-env $APP_NAME SENTRY_DSN $SENTRY_DSN |
|
|
|
cf set-env $APP_NAME SENTRY_DSN $SENTRY_DSN |
|
|
|
cf set-env $APP_NAME APP_HOST "https://dluhc-core-review-${{ github.event.pull_request.number }}.london.cloudapps.digital" |
|
|
|
cf set-env $APP_NAME APP_HOST "https://dluhc-core-review-${{ github.event.pull_request.number }}.london.cloudapps.digital" |
|
|
|
|
|
|
|
|
|
|
|
|