forked from artifact-keeper/artifact-keeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.e2e-syspkg.yml
More file actions
67 lines (61 loc) · 2.02 KB
/
docker-compose.e2e-syspkg.yml
File metadata and controls
67 lines (61 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# System Package E2E Tests — runs against existing local Docker Compose stack.
#
# Prerequisites:
# docker compose up -d (starts backend + postgres on artifact-keeper-network)
#
# Usage:
# docker compose -f docker-compose.e2e-syspkg.yml --profile debian up --abort-on-container-exit
# docker compose -f docker-compose.e2e-syspkg.yml --profile all up --abort-on-container-exit
# ./scripts/e2e-syspkg/run.sh all
#
# Profiles: debian, rpm, alpine, conda, maven, all
services:
debian-e2e:
image: debian:bookworm-slim
container_name: e2e-syspkg-debian
environment:
BACKEND_URL: http://artifact-keeper-backend:8080
volumes:
- ./scripts/e2e-syspkg:/scripts:ro
command: ["bash", "/scripts/test-debian.sh"]
profiles: ["debian", "all"]
rpm-e2e:
image: rockylinux/rockylinux:9
container_name: e2e-syspkg-rpm
environment:
BACKEND_URL: http://artifact-keeper-backend:8080
volumes:
- ./scripts/e2e-syspkg:/scripts:ro
command: ["bash", "/scripts/test-rpm.sh"]
profiles: ["rpm", "all"]
alpine-e2e:
image: alpine:3.19
container_name: e2e-syspkg-alpine
environment:
BACKEND_URL: http://artifact-keeper-backend:8080
volumes:
- ./scripts/e2e-syspkg:/scripts:ro
command: ["sh", "-c", "apk add --no-cache bash > /dev/null 2>&1 && bash /scripts/test-alpine.sh"]
profiles: ["alpine", "all"]
conda-e2e:
image: continuumio/miniconda3:latest
container_name: e2e-syspkg-conda
environment:
BACKEND_URL: http://artifact-keeper-backend:8080
volumes:
- ./scripts/e2e-syspkg:/scripts:ro
command: ["bash", "/scripts/test-conda.sh"]
profiles: ["conda", "all"]
maven-e2e:
image: maven:3.9-eclipse-temurin-21
container_name: e2e-syspkg-maven
environment:
BACKEND_URL: http://artifact-keeper-backend:8080
volumes:
- ./scripts/e2e-syspkg:/scripts:ro
command: ["bash", "/scripts/test-maven.sh"]
profiles: ["maven", "all"]
networks:
default:
name: artifact-keeper-network
external: true