Skip to content

Commit 0ecee01

Browse files
Maffoochclaudevalentijnscholten
authored
Standardize CI tests on Debian AMD64 and document supported image variants (#14593)
* Standardize CI tests on Debian AMD64 and document supported image variants Reduce CI matrix to only build and test the Debian AMD64 Django image, which is the officially supported configuration. Alpine and ARM64 images are still built for release but are no longer tested in CI. - Add Docker Image Variants section to installation docs - Remove ARM64 from build and REST framework test matrices - Exclude django-alpine from test build workflow - Switch performance tests from alpine to debian - Remove alpine from integration and REST framework OS matrices Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Restore ARM64 builds and unit tests, keep integration tests AMD64-only ARM64 should still be built and unit tested in CI. Only integration, performance, and k8s tests are restricted to AMD64. Update the installation docs to reflect the three support tiers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Update .github/workflows/build-docker-images-for-testing.yml Co-authored-by: valentijnscholten <valentijnscholten@gmail.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
1 parent 807e8b3 commit 0ecee01

4 files changed

Lines changed: 22 additions & 5 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# "tests/import_scanner_test.py",
7777
# "tests/zap.py",
7878
]
79-
os: [alpine, debian]
79+
os: [debian]
8080
v3_feature_locations: [true, false]
8181
exclude:
8282
# standalone create endpoint page is gone in v3

.github/workflows/performance-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
2424
with:
2525
path: built-docker-image
26-
pattern: built-docker-image-django-alpine-linux-amd64
26+
pattern: built-docker-image-django-debian-linux-amd64
2727
merge-multiple: true
2828

2929
- name: Load docker images
3030
timeout-minutes: 10
3131
run: |
32-
docker load -i built-docker-image/django-alpine-linux-amd64_img
32+
docker load -i built-docker-image/django-debian-linux-amd64_img
3333
docker images
3434
3535
- name: Set unit-test mode
@@ -45,7 +45,7 @@ jobs:
4545
-f docker/docker-compose.override.performance_tests_cicd.yml \
4646
up -d --no-deps uwsgi
4747
env:
48-
DJANGO_VERSION: alpine
48+
DJANGO_VERSION: debian
4949

5050
- name: Run performance tests (auto-update counts)
5151
timeout-minutes: 15

.github/workflows/rest-framework-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ inputs.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
1717
strategy:
1818
matrix:
19-
os: [alpine, debian]
19+
os: [debian]
2020

2121
steps:
2222
# Replace slashes so we can use this in filenames

docs/content/get_started/open_source/installation.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,23 @@ See instructions in [DOCKER.md](<https://github.com/DefectDojo/django-DefectDojo
1818

1919
[SaaS link](https://defectdojo.com/platform)
2020

21+
---
22+
## **Docker Image Variants**
23+
---
24+
25+
DefectDojo publishes Docker images in multiple variants:
26+
27+
| | AMD64 | ARM64 |
28+
|---|---|---|
29+
| **Debian** | ✅ Supported | ⚠️ Unit tested |
30+
| **Alpine** | ⚠️ Community | ⚠️ Community |
31+
32+
**Debian on AMD64** is the officially supported and tested configuration. All CI tests (unit, integration, and performance) run against this combination.
33+
34+
**Debian on ARM64** is built and covered by unit tests in CI, but integration and performance tests are not run against it.
35+
36+
The **Alpine** variants are built and published but are not covered by any automated testing. Use them at your own risk.
37+
2138
---
2239
## **Options for the brave (not officially supported)**
2340
---

0 commit comments

Comments
 (0)