Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Aug 31, 2023
2 parents 2b57010 + d123a12 commit 9f1d39e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy_with_github_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-22.04
environment:
name: ${{ inputs.environment }}
if: ${{ inputs.target == inputs.environment || inputs.target == 'all' }}
if: ${{ inputs.target == inputs.environment }}
outputs:
runner_name: ${{ steps.create_github_runner.outputs.runner_name }}
steps:
Expand All @@ -45,7 +45,7 @@ jobs:
deploy:
needs: [ create_runner ]
runs-on: [ self-hosted, "${{ needs.create_runner.outputs.runner_name }}" ]
if: ${{ inputs.target == inputs.environment || inputs.target == 'all' }}
if: ${{ inputs.target == inputs.environment }}
name: Deploy on AKS
environment: ${{ inputs.environment }}
steps:
Expand All @@ -66,7 +66,7 @@ jobs:
cleanup_runner:
name: Cleanup Runner
needs: [ create_runner, deploy ]
if: ${{ success() || failure() && inputs.target == inputs.environment || inputs.target == 'all' }}
if: ${{ success() || failure() && inputs.target == inputs.environment }}
runs-on: ubuntu-22.04
environment: ${{ inputs.environment }}
steps:
Expand All @@ -86,7 +86,7 @@ jobs:
# needs: [ deploy ]
# runs-on: ubuntu-latest
# name: Update OpenAPI
# if: ${{ inputs.target == inputs.environment || inputs.target == 'all' }}
# if: ${{ inputs.target == inputs.environment }}
# environment: ${{ inputs.environment }}
# steps:
# - name: Checkout
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
- dev
- uat
- prod
- all
beta:
required: false
type: boolean
Expand Down Expand Up @@ -166,7 +165,7 @@ jobs:
if: always()
steps:
- name: Report Status
if: ${{ needs.setup.outputs.environment == 'prod' || needs.setup.outputs.environment == 'all' }}
if: ${{ needs.setup.outputs.environment == 'prod' }}
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.deploy_aks.result }}
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.6.0
version: 0.7.0
dependencies:
- name: microservice-chart
version: 3.0.0
Expand All @@ -24,4 +24,4 @@ dependencies:
repository: "https://pagopa.github.io/aks-microservice-chart-blueprint"
alias: oracleprod
condition: oracleprod.enabled
appVersion: 0.7.0
appVersion: 0.8.0
4 changes: 2 additions & 2 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.7.0
tag: 0.8.0
canaryDelivery:
deployment:
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.7.0
tag: 0.8.0
livenessProbe:
httpGet:
path: /actuator/health/liveness
Expand Down
4 changes: 2 additions & 2 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.7.0
tag: 0.8.0
canaryDelivery:
deployment:
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.7.0
tag: 0.8.0
livenessProbe:
httpGet:
path: /actuator/health/liveness
Expand Down
4 changes: 2 additions & 2 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.7.0
tag: 0.8.0
canaryDelivery:
deployment:
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.7.0
tag: 0.8.0
livenessProbe:
httpGet:
path: /actuator/health/liveness
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 Cacher",
"description" : "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService" : "https://www.pagopa.gov.it/",
"version" : "0.7.0"
"version": "0.8.0"
},
"servers" : [ {
"url" : "https://{host}/{basePath}",
Expand Down
4 changes: 2 additions & 2 deletions openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title" : "API-Config Cacher",
"description" : "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService" : "https://www.pagopa.gov.it/",
"version" : "0.7.0"
"version": "0.8.0"
},
"servers" : [ {
"url" : "http://localhost:8080"
Expand Down Expand Up @@ -1036,4 +1036,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions openapi/openapi_nodev1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title" : "API-Config Cacher",
"description" : "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService" : "https://www.pagopa.gov.it/",
"version" : "0.7.0"
"version": "0.8.0"
},
"servers" : [ {
"url" : "http://localhost:8080"
Expand Down Expand Up @@ -1036,4 +1036,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions openapi/openapi_verifierv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title" : "API-Config Cacher",
"description" : "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService" : "https://www.pagopa.gov.it/",
"version" : "0.7.0"
"version": "0.8.0"
},
"servers" : [ {
"url" : "http://localhost:8080"
Expand Down Expand Up @@ -108,4 +108,4 @@
}
}
}
}
}
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.7.0</version>
<version>0.8.0</version>
<name>API-Config Cacher</name>
<description>Generate cache for regarding Nodo dei Pagamenti configuration</description>

Expand Down

0 comments on commit 9f1d39e

Please sign in to comment.