-
-
Notifications
You must be signed in to change notification settings - Fork 66
105 lines (103 loc) · 3.6 KB
/
dockerpublish.yml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: 'Tests'
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- '*'
push: {}
jobs:
Config-test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'KengoTODA/actions-setup-docker-compose@v1'
with:
version: '2.20.2'
- uses: 'actions/checkout@v4'
- name: 'DEBUG'
run: 'docker version && docker compose version'
- name: 'Run tests'
run: './test.sh'
- uses: 'actions/upload-artifact@v4'
if: 'failure()'
with:
name: 'test-artifacts'
path: |
log.log
*.patch
Health-checks-codimd:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'codimd'
timeout-minutes: 5
# Health-checks-grafana:
# uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
# with:
# sus: 'mkdir -p ./grafana/grafana/ ./grafana/prometheus/data/'
# service_name: 'grafana'
# Health-checks-hits:
# uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
# with:
# sus: 'mkdir -p ./hits/postgresql/data'
# service_name: 'hits'
Health-checks-homeassistant:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'homeassistant'
# Health-checks-hugo:
# uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
# with:
# service_name: 'hugo'
Health-checks-jackett:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'jackett'
Health-checks-kavita:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'kavita'
# Health-checks-mastodon:
# uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
# with:
# service_name: 'mastodon'
Health-checks-nextcloud:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'nextcloud'
Health-checks-nginx:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'nginx'
Health-checks-searxng:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'searxng'
Health-checks-sharelatex:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'sharelatex'
Health-checks-streama:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
sus: 'touch streama/streama.mv.db streama/streama.trace.db'
service_name: 'streama'
Health-checks-traefik:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'traefik'
Health-checks-transmission:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'transmission'
Health-checks-wordpress:
uses: 'tomMoulard/make-my-server/.github/workflows/healthcheck.workflow.tmpl.yml@master'
with:
service_name: 'wordpress'
Lint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- name: 'Install yamllint'
run: 'pip install yamllint'
- name: 'yamllint version'
run: 'yamllint --version'
- name: 'Lint YAML files'
run: 'yamllint --format github .'