diff --git a/.pipeline/lib/config.js b/.pipeline/lib/config.js index f7eeb7a9d..dcbffa9f1 100644 --- a/.pipeline/lib/config.js +++ b/.pipeline/lib/config.js @@ -45,7 +45,7 @@ const phases = { instance: `${name}-prod`, version:`${version}`, tag:`prod-${version}`, host: 'zeroemissionvehicles.gov.bc.ca', djangoDebug: 'False', logoutHostName: 'logon7.gov.bc.ca', frontendCpuRequest: '300m', frontendCpuLimit: '600m', frontendMemoryRequest: '1G', frontendMemoryLimit: '2G', frontendReplicas: 2, frontendMinReplicas: 2, frontendMaxReplicas: 5, - creditTransfersEnabled: 'false', creditTransactionsEnabled: 'true', initiativeAgreementsEnabled: 'false', modelYearReportEnabled: 'false', purchaseRequestsEnabled: 'false', notificationsEnabled: 'false', complianceReportEnabled: 'false', rolesEnabled: 'false', + creditTransfersEnabled: 'true', creditTransactionsEnabled: 'true', initiativeAgreementsEnabled: 'false', modelYearReportEnabled: 'false', purchaseRequestsEnabled: 'false', notificationsEnabled: 'false', complianceReportEnabled: 'false', rolesEnabled: 'false', backendCpuRequest: '200m', backendCpuLimit: '700m', backendMemoryRequest: '1G', backendMemoryLimit: '2G', backendHealthCheckDelay: 30, backendReplicas: 2, backendMinReplicas: 2, backendMaxReplicas: 5, backendHost: `zeva-backend-prod.${ocpName}.gov.bc.ca`, minioCpuRequest: '100m', minioCpuLimit: '300m', minioMemoryRequest: '500M', minioMemoryLimit: '700M', minioPvcSize: '3G', schemaspyCpuRequest: '50m', schemaspyCpuLimit: '400m', schemaspyMemoryRequest: '150M', schemaspyMemoryLimit: '300M', schemaspyHealthCheckDelay: 160, diff --git a/.pipeline/lib/deploy.js b/.pipeline/lib/deploy.js index 4732a0a71..5fa861b7f 100755 --- a/.pipeline/lib/deploy.js +++ b/.pipeline/lib/deploy.js @@ -32,20 +32,6 @@ module.exports = settings => { } })) } - /**** open this block, it will only deploy network security policies - console.log("will return22") - oc.applyRecommendedLabels( - objects, - phases[phase].name, - phase, - `${changeId}`, - phases[phase].instance, - ); - oc.importImageStreams(objects, phases[phase].tag, phases.build.namespace, phases.build.tag); - oc.applyAndDeploy(objects, phases[phase].instance); - return; - console.log("you should not see this"); - */ // create configs if(phase === 'dev') {