Skip to content

Commit 9afff9b

Browse files
committed
Updated poetry version in pipeline and dockerfiles
1 parent 81a774a commit 9afff9b

File tree

10 files changed

+13
-12
lines changed

10 files changed

+13
-12
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24+
- name: Install poetry
25+
run: pip install poetry==2.1.4
26+
2427
- uses: actions/setup-python@v5
2528
with:
2629
python-version: 3.11
30+
cache: 'poetry'
2731

2832
- name: Set up AWS credentials
2933
env:
@@ -33,9 +37,6 @@ jobs:
3337
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
3438
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
3539
36-
- name: Install poetry
37-
run: pip install poetry==2.1.2
38-
3940
- name: Run unittest with filenameprocessor-coverage
4041
working-directory: filenameprocessor
4142
id: filenameprocessor

ack_backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
33
RUN mkdir -p /home/appuser && \
44
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
55
echo 'appuser:x:1001:' >> /etc/group && \
6-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
6+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
77

88
COPY poetry.lock pyproject.toml README.md ./
99
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-root --only main

backend/batch.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
33
RUN mkdir -p /home/appuser && \
44
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
55
echo 'appuser:x:1001:' >> /etc/group && \
6-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
6+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
77

88
# -----------------------------
99
COPY poetry.lock pyproject.toml README.md ./

backend/lambda.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 as base
44
RUN mkdir -p /home/appuser && \
55
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66
echo 'appuser:x:1001:' >> /etc/group && \
7-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
7+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
88

99
# -----------------------------
1010
COPY poetry.lock pyproject.toml README.md ./

delta_backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44
RUN mkdir -p /home/appuser && \
55
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66
echo 'appuser:x:1001:' >> /etc/group && \
7-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
7+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
88

99

1010

filenameprocessor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44
RUN mkdir -p /home/appuser && \
55
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66
echo 'appuser:x:1001:' >> /etc/group && \
7-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
7+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
88

99
# Install Poetry as root
1010
COPY poetry.lock pyproject.toml README.md ./

filenameprocessor/batch.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM public.ecr.aws/lambda/python:3.11 as base
22

3-
RUN pip install "poetry~=2.1.2"
3+
RUN pip install "poetry~=2.1.4"
44

55
COPY poetry.lock pyproject.toml README.md ./
66
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-root --only main

lambdas/id_sync/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44
RUN mkdir -p /home/appuser && \
55
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66
echo 'appuser:x:1001:' >> /etc/group && \
7-
chown -R 1001:1001 /home/appuser && pip install "poetry~=1.5.0"
7+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
88

99
# Install Poetry dependencies
1010
# Copy id_sync Poetry files

recordprocessor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44
RUN mkdir -p /home/appuser && \
55
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66
echo 'appuser:x:1001:' >> /etc/group && \
7-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
7+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
88

99
# Install Poetry as root
1010
COPY poetry.lock pyproject.toml README.md ./

redis_sync/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44
RUN mkdir -p /home/appuser && \
55
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66
echo 'appuser:x:1001:' >> /etc/group && \
7-
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2"
7+
chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4"
88

99
# Install Poetry as root
1010
COPY poetry.lock pyproject.toml README.md ./

0 commit comments

Comments
 (0)