@ -253,5 +253,4 @@ jobs:
cf set-env $APP_NAME S3_CONFIG $S3_CONFIG
cf set-env $APP_NAME CSV_DOWNLOAD_PAAS_INSTANCE $CSV_DOWNLOAD_PAAS_INSTANCE
cf set-env $APP_NAME SENTRY_DSN $SENTRY_DSN
cf set-env $APP_NAME CSV_BUCKET "dluhc-core-production-csv-bucket"
cf push $APP_NAME --strategy rolling
@ -123,7 +123,6 @@ jobs:
cf set-env $APP_NAME APP_HOST "https://dluhc-core-review-${{ github.event.pull_request.number }}.london.cloudapps.digital"
cf set-env $APP_NAME CSV_BUCKET "dluhc-core-review-csv-bucket"
- name: Bind postgres service
env:
@ -231,5 +231,4 @@ jobs:
cf set-env $APP_NAME CSV_BUCKET "dluhc-core-staging-csv-bucket"
@ -51,7 +51,7 @@ module Forms
end
def storage_service
@storage_service ||= Storage::S3Service.new(Configuration::PaasConfigurationService.new, ENV["CSV_BUCKET"])
@storage_service ||= Storage::S3Service.new(Configuration::PaasConfigurationService.new, ENV["CSV_DOWNLOAD_PAAS_INSTANCE"])
def validate_file_is_csv