Skip to content

Commit

Permalink
Merge pull request #67 from pagopa/fix-prod-pipeline
Browse files Browse the repository at this point in the history
Fix prod pipeline
  • Loading branch information
aomegax committed May 27, 2024
2 parents 4569d8d + e0e12f4 commit 6d77b8c
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_with_github_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,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 oracle.enabled=true'
helm_upgrade_options: ' --debug --set postgresql.enabled=true --set oracle.enabled=true --set postgresql-nexi.enabled=false'

- name: Deploy for Nexi
uses: pagopa/github-actions-template/aks-deploy@main
Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pagopa-api-cache-chart
description: Microservice that handles calculation for pagoPA Advanced Fees Management
type: application
version: 0.80.0
version: 0.81.0
dependencies:
##############
## POSTGRES ##
Expand Down Expand Up @@ -88,4 +88,4 @@ dependencies:
repository: "https://pagopa.github.io/aks-cron-chart-blueprint"
alias: refresh-p-replica-nexi # postgres prf nexi
condition: postgresql-replica-nexi.enabled
appVersion: 0.9.13
appVersion: 0.9.13-1-fix-prod-pipeline
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.9.13
tag: 0.9.13-1-fix-prod-pipeline
canaryDelivery:
deployment:
image:
Expand Down
18 changes: 17 additions & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.9.13
tag: 0.9.13-1-fix-prod-pipeline
canaryDelivery:
deployment:
image:
Expand Down Expand Up @@ -72,6 +72,10 @@ microservice-chart: &microservice-chart
namespaces: ["apiconfig"]
topologyKey: topology.kubernetes.io/zone
# Configuration used to update image tag
##############
## SERVICES ##
##############
# postgres pagopa - PROD
postgresql:
!!merge <<: *microservice-chart
ingress:
Expand All @@ -94,6 +98,12 @@ postgresql:
DB_CONFIG_PASSWORD: "postgresql-db-cfg-password"
postgresql-replica:
enabled: false
# postgres nexi - PROD
postgresql-nexi:
enabled: false
postgresql-replica-nexi:
enabled: false
# oracle nexi - PROD
oracle:
!!merge <<: *microservice-chart
ingress:
Expand All @@ -120,6 +130,9 @@ oracledev:
enabled: false
oracleprod:
enabled: false
#############
## REFRESH ##
#############
refresh-p:
namespace: "apiconfig"
schedule: "0 0 * * *"
Expand Down Expand Up @@ -174,6 +187,9 @@ refresh-p:
topologyKey: topology.kubernetes.io/zone
refresh-p-replica:
enabled: false
refresh-p-nexi:
enabled: false
# oracle nexi - PROD
refresh-o:
namespace: "apiconfig"
schedule: "0 0 * * *"
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.9.13
tag: 0.9.13-1-fix-prod-pipeline
canaryDelivery:
deployment:
image:
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.13"
"version": "0.9.13-1-fix-prod-pipeline"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_export.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.13"
"version": "0.9.13-1-fix-prod-pipeline"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.13"
"version": "0.9.13-1-fix-prod-pipeline"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_nodev1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.13"
"version": "0.9.13-1-fix-prod-pipeline"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_standinv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.13"
"version": "0.9.13-1-fix-prod-pipeline"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_verifierv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.13"
"version": "0.9.13-1-fix-prod-pipeline"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>it.gov.pagopa.api-config</groupId>
<artifactId>cache</artifactId>
<version>0.9.13</version>
<version>0.9.13-1-fix-prod-pipeline</version>
<name>API-Config Cache</name>
<description>Generate cache for various microservices</description>

Expand Down

0 comments on commit 6d77b8c

Please sign in to comment.