Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/clone-soap-api-repos/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ runs:
using: "composite"
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '18.18.0'

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/sync-gitbook-docs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ runs:
echo "::endgroup::"

- name: Checkout documentation repo
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
repository: ${{ inputs.documentation_repository }}
ref: ${{ inputs.documentation_branch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/chatbot_refresh_vector_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Configure AWS Credentials
uses: ./.github/actions/configure-aws-credentials
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Configure AWS Credentials
uses: ./.github/actions/configure-aws-credentials
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete_unused_directories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
ENV_SHORT: ${{ fromJSON('{"dev":"d","uat":"u","prod":"p"}')[inputs.environment] }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Setup Node.JS
uses: ./.github/actions/setup-node
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_ac_sync_lambda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: '20.x'

Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
path: ./packages/active-campaign-client/target

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2
with:
role-to-assume: ${{ secrets.DEPLOY_IAM_ROLE }}
aws-region: eu-south-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Configure AWS Credentials
uses: ./.github/actions/configure-aws-credentials
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync_gitbook_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Sync GitBook Docs
uses: ./.github/actions/sync-gitbook-docs
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Sync GitBook Docs
uses: ./.github/actions/sync-gitbook-docs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sync_gitbook_docs_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Checkout devportal-docs repo
if: inputs.generate_metadata_only == false
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
repository: pagopa/devportal-docs
ref: docs/from-gitbook
Expand Down Expand Up @@ -183,10 +183,10 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Checkout devportal-docs repo
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
repository: pagopa/devportal-docs
ref: docs/from-gitbook
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync_soap_api_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Fetch and clone SOAP APIs
uses: ./.github/actions/clone-soap-api-repos
Expand Down
2 changes: 1 addition & 1 deletion apps/chatbot-evaluate/docker/lambda.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.12@sha256:c39a110f3745a65d1b960a67b6e858ea04623f73c61dabba57e586b5e6f5f1b7
ARG DEBIAN_FRONTEND=noninteractive

ENV PYTHONPATH=$LAMBDA_TASK_ROOT
Expand Down
8 changes: 4 additions & 4 deletions apps/chatbot-index/docker/compose.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: ["src.lambda_refresh_index.lambda_handler"]

redis:
image: redis/redis-stack:7.2.0-v13
image: redis/redis-stack:7.2.0-v13@sha256:2b000b938e407d14acafa9b7affd4c5a94ceeec572b25b15dcef0d3a6c064d7e
ports:
- "6379:6379"
- "8001:8001"
Expand All @@ -35,7 +35,7 @@ services:
condition: service_completed_successfully

redis-seed:
image: alpine:3.18
image: alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f
user: root
volumes:
- redis_data:/data
Expand All @@ -45,7 +45,7 @@ services:

redis-fix-perms:
# one-shot: ensure /data owned by redis user before redis starts
image: redis/redis-stack:7.2.0-v13
image: redis/redis-stack:7.2.0-v13@sha256:2b000b938e407d14acafa9b7affd4c5a94ceeec572b25b15dcef0d3a6c064d7e
user: root
volumes:
- redis_data:/data
Expand All @@ -56,7 +56,7 @@ services:
restart: "no"

motoserver:
image: motoserver/moto:5.1.14
image: motoserver/moto:5.1.14@sha256:800719627036dc38dc699e9f314f624f2c98ac3d8bb754db078cb2698f08ee77
environment:
- MOTO_PORT=3002

Expand Down
2 changes: 1 addition & 1 deletion apps/chatbot-index/docker/create_index.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.4-slim-bullseye
FROM python:3.12.4-slim-bullseye@sha256:26ce493641ad3b1c8a6202117c31340c7bbb2dc126f1aeee8ea3972730a81dc6
ARG DEBIAN_FRONTEND=noninteractive

ENV PYTHONPATH=/app
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.12@sha256:c39a110f3745a65d1b960a67b6e858ea04623f73c61dabba57e586b5e6f5f1b7
ARG DEBIAN_FRONTEND=noninteractive

ENV PYTHONPATH=$LAMBDA_TASK_ROOT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.12@sha256:c39a110f3745a65d1b960a67b6e858ea04623f73c61dabba57e586b5e6f5f1b7
ARG DEBIAN_FRONTEND=noninteractive

ENV PYTHONPATH=$LAMBDA_TASK_ROOT
Expand Down
16 changes: 14 additions & 2 deletions apps/chatbot-index/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/chatbot-index/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ httpx = "^0.28.1"
pytest = "^8.3.5"

[tool.poetry.group.dev.dependencies]
jupyter = "^1.1.1"
jupyter = "1.1.1"

[build-system]
build-backend = "poetry.core.masonry.api"
Expand Down
2 changes: 1 addition & 1 deletion apps/chatbot-monitor/docker/lambda_monitor.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.12@sha256:c39a110f3745a65d1b960a67b6e858ea04623f73c61dabba57e586b5e6f5f1b7
ARG DEBIAN_FRONTEND=noninteractive

ENV PYTHONPATH=$LAMBDA_TASK_ROOT
Expand Down
2 changes: 1 addition & 1 deletion apps/chatbot/docker/app.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.12@sha256:c39a110f3745a65d1b960a67b6e858ea04623f73c61dabba57e586b5e6f5f1b7
ARG DEBIAN_FRONTEND=noninteractive

ENV PYTHONPATH=$LAMBDA_TASK_ROOT
Expand Down
2 changes: 1 addition & 1 deletion apps/chatbot/docker/app.local.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.4-slim-bullseye
FROM python:3.12.4-slim-bullseye@sha256:26ce493641ad3b1c8a6202117c31340c7bbb2dc126f1aeee8ea3972730a81dc6
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion apps/chatbot/docker/app.test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.4-slim-bullseye
FROM python:3.12.4-slim-bullseye@sha256:26ce493641ad3b1c8a6202117c31340c7bbb2dc126f1aeee8ea3972730a81dc6
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
Expand Down
10 changes: 5 additions & 5 deletions apps/chatbot/docker/compose.lambda.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
- ntw

postgres:
image: postgres:17.2-alpine
image: postgres:17.2-alpine@sha256:7e5df973a74872482e320dcbdeb055e178d6f42de0558b083892c50cda833c96
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
Expand All @@ -57,7 +57,7 @@ services:
- ntw

dynamodb:
image: amazon/dynamodb-local:2.5.2
image: amazon/dynamodb-local:2.5.2@sha256:d7ebddeb60fa418bcda218a6c6a402a58441b2a20d54c9cb1d85fd5194341753
environment:
- AWS_ACCESS_KEY_ID=dummy
- AWS_SECRET_ACCESS_KEY=dummy
Expand All @@ -66,7 +66,7 @@ services:
- ntw

redis:
image: redis/redis-stack:7.2.0-v13
image: redis/redis-stack:7.2.0-v13@sha256:2b000b938e407d14acafa9b7affd4c5a94ceeec572b25b15dcef0d3a6c064d7e
ports:
- "6379:6379"
- "8001:8001"
Expand All @@ -76,7 +76,7 @@ services:
- ntw

langfuse:
image: langfuse/langfuse:2
image: langfuse/langfuse:2@sha256:85c278dcab96c15db94191a5c1664f85aba2d7fb6771a00e99681c902c4b7015
depends_on:
postgres:
condition: service_healthy
Expand All @@ -103,7 +103,7 @@ services:
- ntw

motoserver:
image: motoserver/moto:5.1.0
image: motoserver/moto:5.1.0@sha256:aaf5f4a72412b753b2115417e26360612564d3a29b1831f9316708e15138d699
networks:
- ntw
volumes:
Expand Down
Loading
Loading