-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
79 lines (72 loc) · 1.66 KB
/
compose.yaml
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
68
69
70
71
72
73
74
75
76
77
78
79
# integration test file, to be used via test.sh
services:
glvd-postgres:
image: ghcr.io/gardenlinux/glvd-postgres:latest
hostname: glvd-postgres
networks:
- glvd-triage-IT
environment:
POSTGRES_USER: glvd
POSTGRES_DB: glvd
POSTGRES_PASSWORD: glvd
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U glvd -d glvd"]
interval: 10s
retries: 10
start_period: 30s
timeout: 10s
glvd-init:
image: ghcr.io/gardenlinux/glvd-init:latest
networks:
- glvd-triage-IT
depends_on:
glvd-postgres:
condition: service_healthy
restart: false
environment:
PGHOST: glvd-postgres
glvd-triage-assert-pre:
build:
dockerfile: ./asserts.Containerfile
networks:
- glvd-triage-IT
depends_on:
glvd-init:
condition: service_completed_successfully
restart: false
environment:
PGHOST: glvd-postgres
command: pre
glvd-triage:
build:
dockerfile: ./Containerfile
networks:
- glvd-triage-IT
depends_on:
glvd-triage-assert-pre:
condition: service_completed_successfully
restart: false
environment:
PGHOST: glvd-postgres
GLVD_TRIAGE_FILE: 2025-01-10.yaml
secrets:
- github_pat
glvd-triage-assert:
build:
dockerfile: ./asserts.Containerfile
networks:
- glvd-triage-IT
depends_on:
glvd-triage:
condition: service_completed_successfully
restart: false
environment:
PGHOST: glvd-postgres
command: post
networks:
glvd-triage-IT: {}
secrets:
github_pat:
file: github-pat.txt