Skip to content

Commit

Permalink
Merge pull request #8 from pagopa/PRDP-40-fix-build-and-deploy
Browse files Browse the repository at this point in the history
[PRDP-40] fix: Updated release-deploy.yml with branch ref on docker p…
  • Loading branch information
alessio-cialini authored Jun 14, 2023
2 parents a10af91 + a197db9 commit 6428055
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
id: semver
uses: pagopa/github-actions-template/[email protected]
with:
branch: ${{ github.ref_name}}
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ needs.release.outputs.version }}

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.5.0
appVersion: 0.0.2-1
version: 0.8.0
appVersion: 0.1.0-PRDP-40-fix-build-and-deploy
dependencies:
- name: microservice-chart
version: 1.21.0
Expand Down
4 changes: 2 additions & 2 deletions 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: ghcr.io/pagopa/pagopa-pdf-engine
tag: "0.0.2-1"
tag: "0.1.0-PRDP-40-fix-build-and-deploy"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down Expand Up @@ -78,4 +78,4 @@ microservice-chart:
canaryDelivery:
deployment:
image:
tag: 0.0.2-1
tag: 0.1.0-PRDP-40-fix-build-and-deploy
4 changes: 2 additions & 2 deletions 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: ghcr.io/pagopa/pagopa-pdf-engine
tag: "0.0.2-1"
tag: "0.1.0-PRDP-40-fix-build-and-deploy"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down Expand Up @@ -78,4 +78,4 @@ microservice-chart:
canaryDelivery:
deployment:
image:
tag: 0.0.2-1
tag: 0.1.0-PRDP-40-fix-build-and-deploy
4 changes: 2 additions & 2 deletions 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: ghcr.io/pagopa/pagopa-pdf-engine
tag: "0.0.2-1"
tag: "0.1.0-PRDP-40-fix-build-and-deploy"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down Expand Up @@ -78,4 +78,4 @@ microservice-chart:
canaryDelivery:
deployment:
image:
tag: 0.0.2-1
tag: 0.1.0-PRDP-40-fix-build-and-deploy
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.1",
"info": {
"title": "OpenAPI definition - PDF Engine",
"version": "0.0.2-1"
"version": "0.1.0-PRDP-40-fix-build-and-deploy"
},
"servers": [
{
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>it.gov.pagopa.project</groupId>
<artifactId>example-function</artifactId>
<version>0.0.2-1</version>
<groupId>it.gov.pagopa</groupId>
<artifactId>pdf-engine</artifactId>
<version>0.1.0-PRDP-40-fix-build-and-deploy</version>
<packaging>jar</packaging>

<name>Azure Custom Fn</name>
<name>PagoPA PDF Engine Function</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/it/gov/pagopa/project/Info.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Info {
public HttpResponseMessage run (
@HttpTrigger(name = "InfoTrigger",
methods = {HttpMethod.GET},
route = "info123",
route = "info",
authLevel = AuthorizationLevel.ANONYMOUS) HttpRequestMessage<Optional<String>> request,
final ExecutionContext context) {

Expand Down

0 comments on commit 6428055

Please sign in to comment.