Skip to content

Commit

Permalink
Merge pull request #18 from pagopa/fix-release-action
Browse files Browse the repository at this point in the history
fix: Upd wsdl release action
  • Loading branch information
cap-ang committed Oct 10, 2023
2 parents b875482 + 1d364c6 commit ff18442
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 12 deletions.
38 changes: 32 additions & 6 deletions .github/workflows/release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,39 @@ jobs:
if: ${{ inputs.semver != 'skip' }}
environment: ${{ inputs.environment }}
steps:
- name: Build and Push
id: semver
uses: pagopa/github-actions-template/ghcr-build-push@v1.5.4
- uses: actions/checkout@v3
with:
branch: ${{ github.ref_name}}
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ needs.release.outputs.version }}
ref: ${{ needs.release.outputs.version }}

- name: Update WSDL Location
run: sh upd_wsdl_location.sh ${{ vars.NODO_HOST }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v4.3.0
with:
images: ghcr.io/${{ github.repository }}
tags: |
latest
${{ needs.release.outputs.version }}
type=ref,event=branch
type=sha
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: ${{ inputs.build_args }}

deploy_azure_fn:
name: Deploy Azure function
Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-functions-template
description: Microservice description
type: application
version: 0.12.0
appVersion: 0.1.5-1-PAGOPA-1176-remove-deploy-pipeline
version: 0.16.0
appVersion: 0.1.5-5-fix-release-action
dependencies:
- name: microservice-chart
version: 1.21.0
Expand Down
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: pagopadcommonacr.azurecr.io/pagopa<project-name> # TODO
tag: "0.1.5-1-PAGOPA-1176-remove-deploy-pipeline"
tag: "0.1.5-5-fix-release-action"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: pagopapcommonacr.azurecr.io/pagopa<project-name> # TODO
tag: "0.1.5-1-PAGOPA-1176-remove-deploy-pipeline"
tag: "0.1.5-5-fix-release-action"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: pagopaucommonacr.azurecr.io/pagopa<project-name> # TODO
tag: "0.1.5-1-PAGOPA-1176-remove-deploy-pipeline"
tag: "0.1.5-5-fix-release-action"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>it.gov.pagopa.reporting</groupId>
<artifactId>reporting-batch</artifactId>
<version>0.1.5-1-PAGOPA-1176-remove-deploy-pipeline</version>
<version>0.1.5-5-fix-release-action</version>
<packaging>jar</packaging>

<name>Azure Reporting-Batch Fn</name>
Expand Down

0 comments on commit ff18442

Please sign in to comment.