File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5151 needs :
5252 - lint
5353 - test
54- if : github.ref == 'refs/heads/develop '
55- uses : 18F/analytics-reporter/.github/workflows/deploy.yml@develop
54+ if : github.ref == 'refs/heads/bugfix/backload_ga4_api_data '
55+ uses : 18F/analytics-reporter/.github/workflows/deploy.yml@bugfix/backload_ga4_api_data
5656 with :
5757 ANALYTICS_GA4_CALL_RETRY_COUNT : ${{ vars.ANALYTICS_GA4_CALL_RETRY_COUNT_DEV }}
5858 ANALYTICS_KEY_FILE_NAME : ${{ vars.ANALYTICS_KEY_FILE_NAME }}
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ async function runQueuePublish(options = {}) {
116116
117117 for ( const agency of agencies ) {
118118 for ( const reportConfig of reportConfigs ) {
119+ agency . agencyName = agency . agencyName || "" ;
119120 process . env . AGENCY_NAME = agency . agencyName ;
120121 const reportLogger = Logger . initialize ( appConfig , reportConfig ) ;
121122 try {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ applications:
99 health-check-type : process
1010 buildpacks :
1111 - nodejs_buildpack
12- command : (node deploy/backload.js --date 2024-06-19 && echo SUCCESS || echo FAIL) && sleep infinity
12+ command : (node deploy/backload.js --date 2023-10-06 && echo SUCCESS || echo FAIL) && sleep infinity
1313 env :
1414 ANALYTICS_DEBUG : ' true'
1515 ANALYTICS_LOG_LEVEL : ${ANALYTICS_LOG_LEVEL}
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ class AppConfig {
193193 get messageQueueDatabaseConnection ( ) {
194194 const connection =
195195 knexfile [ process . env . NODE_ENV || "development" ] . connection ;
196- return `postgres://${ connection . user } :${ connection . password } @${ connection . host } : ${ process . env . POSTGRES_PORT } /${ process . env . MESSAGE_QUEUE_DATABASE_NAME } ${ process . env . NODE_ENV == "production" ? "?ssl=true&sslmode=no-verify " : "" } ` ;
196+ return `postgres://${ connection . user } :${ connection . password } @${ connection . host } /${ process . env . MESSAGE_QUEUE_DATABASE_NAME } ${ process . env . NODE_ENV == "production" ? "?ssl=true" : "" } ` ;
197197 }
198198
199199 get messageQueueName ( ) {
You can’t perform that action at this time.
0 commit comments