From 3ecefa5b3f8fb736684d2ad4f13befbfc822e85b Mon Sep 17 00:00:00 2001 From: Francesco Cesareo Date: Thu, 2 May 2024 18:05:16 +0200 Subject: [PATCH] fix pipeline --- .github/workflows/deploy_with_github_runner.yml | 4 ++-- helm/values-dev.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_with_github_runner.yml b/.github/workflows/deploy_with_github_runner.yml index 70b2f4b5..32c90274 100644 --- a/.github/workflows/deploy_with_github_runner.yml +++ b/.github/workflows/deploy_with_github_runner.yml @@ -62,7 +62,7 @@ jobs: cluster_name: ${{ vars.CLUSTER_NAME }} resource_group: ${{ vars.CLUSTER_RESOURCE_GROUP }} app_name: ${{ env.APP_NAME }} - helm_upgrade_options: ' --debug --set postgresql.enabled=true --set postgresql-replica.enabled=true --set oracle.enabled=true --set oracledev.enabled=true --set oracleprod.enabled=true' + helm_upgrade_options: ' --debug --set postgresql.enabled=true --set postgresql.forceRedeploy=false --set postgresql-replica.forceRedeploy=false --set postgresql-nexi.forceRedeploy=false --set oracle.enabled=true --set oracle.forceRedeploy=false --set oracledev.enabled=true --set oracledev.forceRedeploy=false --set oracleprod.enabled=true --set oracleprod.forceRedeploy=false' - name: Deploy UAT for PagoPA (Oracle or Postgres) uses: pagopa/github-actions-template/aks-deploy@5db4c9108164a07d96527978da1c3febec934f22 #v1.11.1 @@ -137,7 +137,7 @@ jobs: cluster_name: ${{ vars.CLUSTER_NAME }} resource_group: ${{ vars.CLUSTER_RESOURCE_GROUP }} app_name: ${{ env.APP_NAME }} - helm_upgrade_options: ${{ (inputs.environment == 'sit_nexi_p' || inputs.environment == 'uat_nexi_p') && ' --debug --set postgresql-nexi.enabled=true ' || inputs.environment == 'prf_nexi_p' && ' --debug --set postgresql-replica-nexi.enabled=true' }} + helm_upgrade_options: ${{ (inputs.environment == 'sit_nexi_p' || inputs.environment == 'uat_nexi_p') && ' --debug --set postgresql-nexi.enabled=true --set postgresql-nexi.forceRedeploy=false' || inputs.environment == 'prf_nexi_p' && ' --debug --set postgresql-replica-nexi.enabled=true --set postgresql-replica-nexi.forceRedeploy=false' }} cleanup_runner: name: Cleanup Runner diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 32920eac..646b14d8 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -25,7 +25,7 @@ microservice-chart: µservice-chart resources: requests: memory: "512Mi" - cpu: "0.25" + cpu: "0.5" limits: memory: "6G" cpu: "2.5"