Skip to content

Commit

Permalink
[PAGOPA-1482] ci: update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Feb 6, 2024
1 parent aa98796 commit b1e2951
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG JAVA_VERSION=11
# This image additionally contains function core tools – useful when using custom extensions
FROM mcr.microsoft.com/azure-functions/java:4.0-java$JAVA_VERSION-build AS installer-env
FROM mcr.microsoft.com/azure-functions/java:4.0-java${JAVA_VERSION-build}-core-tools AS installer-env

COPY . /src/java-function-app
RUN cd /src/java-function-app && \
Expand All @@ -11,10 +11,10 @@ RUN cd /src/java-function-app && \
cp -a . /home/site/wwwroot

# This image is ssh enabled
FROM mcr.microsoft.com/azure-functions/java:4-java$JAVA_VERSION
FROM mcr.microsoft.com/azure-functions/java:4-java${JAVA_VERSION-build}-core-tools

ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
AzureFunctionsJobHost__Logging__Console__IsEnabled=true
AzureFunctionsJobHost__Logging__Console__IsEnabled=false

EXPOSE 80
COPY --from=installer-env ["/home/site/wwwroot", "/home/site/wwwroot"]
4 changes: 3 additions & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ microservice-chart:
WEBSITE_SITE_NAME: "pagopagpduploadfunction" # required to show cloud role name in application insights
FUNCTIONS_WORKER_RUNTIME: "java"
GPD_HOST: "https://api.dev.platform.pagopa.it/gpd/api"
RETRY_MAX_ATTEMPTS: "1"
RETRY_MAX_DELAY: "10000"
BLOCK_SIZE: "10"
COSMOS_URI: "https://pagopa-d-weu-gps-cosmos-account.documents.azure.com:443/"
GPD_DB_NAME: "gpd_db"
GPD_CONTAINER_NAME: "gpd_upload_status"
BLOB_EVENTS_QUEUE: "gpd-blob-events-queue"
VALID_POSITIONS_QUEUE: "gpd-valid-debt-position-queue"
CHUNK_SIZE: "50"
BLOCK_SIZE: "10"
MAX_RETRY: "1"
RETRY_DELAY_IN_SECONDS: "300"
envFieldRef:
Expand Down

0 comments on commit b1e2951

Please sign in to comment.