Skip to content

Commit f091b53

Browse files
authored
Merge pull request #15361 from DefectDojo/release/3.1.300
Release: Merge release into master from: release/3.1.300
2 parents e59faf2 + 46b71f5 commit f091b53

104 files changed

Lines changed: 3124 additions & 215 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release-3-master-into-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ jobs:
7070
description: No special instructions.
7171
---
7272
There are no special instructions for upgrading to $minorv.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/$patchv) for the contents of the release.
73-
" > docs/content/en/open_source/upgrading/$minorv.md
74-
git add docs/content/en/open_source/upgrading/$minorv.md
73+
" > docs/content/releases/os_upgrading/$minorv.md
74+
git add docs/content/releases/os_upgrading/$minorv.md
7575
if: endsWith(inputs.release_number_new, '.0') && endsWith(inputs.release_number_dev, '.0-dev')
7676

7777
- name: Update values in HELM chart

Dockerfile.django-alpine

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Dockerfile.nginx to use the caching mechanism of Docker.
66

77
# Ref: https://devguide.python.org/#branchstatus
8-
FROM python:3.14.5-alpine3.22@sha256:6b91e66ab2a880ce9ca5a1b91c70f45963ff71ff68268df056336e1a657d5efd AS base
8+
FROM python:3.14.6-alpine3.23@sha256:b165067c5afc37fa5608a3c05609cc3d51aafd808a30fbfd822ee594fef55ad4 AS base
99
FROM base AS build
1010
WORKDIR /app
1111
RUN \
@@ -15,7 +15,7 @@ RUN \
1515
gcc \
1616
build-base \
1717
bind-tools \
18-
postgresql16-client \
18+
postgresql18-client \
1919
xmlsec \
2020
git \
2121
util-linux \
@@ -49,7 +49,7 @@ RUN \
4949
xmlsec \
5050
git \
5151
util-linux \
52-
postgresql16-client \
52+
postgresql18-client \
5353
curl-dev \
5454
openssl \
5555
# needed for integration-tests

Dockerfile.django-debian

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ RUN \
4343
apt-get -y upgrade && \
4444
# ugly fix to install postgresql-client without errors
4545
mkdir -p /usr/share/man/man1 /usr/share/man/man7 && \
46+
# ca-certificates + curl are needed to fetch the PostgreSQL APT (PGDG) signing key
47+
apt-get -y install --no-install-recommends ca-certificates curl && \
48+
# Debian trixie only ships postgresql-client-17, but the bundled PostgreSQL
49+
# server is 18. pg_dump refuses to dump a server newer than itself, which
50+
# breaks `manage.py dbbackup`, so pull the matching v18 client from PGDG.
51+
install -d /usr/share/postgresql-common/pgdg && \
52+
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc && \
53+
echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt trixie-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
54+
apt-get -y update && \
4655
apt-get -y install --no-install-recommends \
4756
# libopenjp2-7 libjpeg62 are required by the pillow package
4857
libopenjp2-7 \
@@ -52,8 +61,9 @@ RUN \
5261
git \
5362
uuid-runtime \
5463
libpq-dev \
55-
# only required for the dbshell (used by the initializer job)
56-
postgresql-client \
64+
# only required for the dbshell (used by the initializer job) and dbbackup;
65+
# must match the server major version (18) for pg_dump to work
66+
postgresql-client-18 \
5767
# libcurl4-openssl-dev is required for installing pycurl python package
5868
libcurl4-openssl-dev \
5969
&& \

Dockerfile.nginx-alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Dockerfile.django-alpine to use the caching mechanism of Docker.
66

77
# Ref: https://devguide.python.org/#branchstatus
8-
FROM python:3.14.5-alpine3.22@sha256:6b91e66ab2a880ce9ca5a1b91c70f45963ff71ff68268df056336e1a657d5efd AS base
8+
FROM python:3.14.6-alpine3.23@sha256:b165067c5afc37fa5608a3c05609cc3d51aafd808a30fbfd822ee594fef55ad4 AS base
99
FROM base AS build
1010
WORKDIR /app
1111
RUN \
@@ -15,7 +15,7 @@ RUN \
1515
gcc \
1616
build-base \
1717
bind-tools \
18-
postgresql16-client \
18+
postgresql18-client \
1919
xmlsec \
2020
git \
2121
util-linux \

components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "defectdojo",
3-
"version": "3.1.200",
3+
"version": "3.1.300",
44
"license": "BSD-3-Clause",
55
"private": true,
66
"dependencies": {
305 KB
Loading
270 KB
Loading
237 KB
Loading
460 KB
Loading
350 KB
Loading

0 commit comments

Comments
 (0)