-
Notifications
You must be signed in to change notification settings - Fork 315
/
Copy pathgatus.yaml
59 lines (52 loc) · 1.42 KB
/
gatus.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
package:
name: gatus
version: "5.16.0"
epoch: 4
description: Automated developer-oriented status page
copyright:
- license: Apache-2.0
pipeline:
- uses: git-checkout
with:
expected-commit: 46b24b849f6bc6dcb49f04f71d2dbbe3088f2567
repository: https://github.com/TwiN/gatus.git
tag: v${{package.version}}
- uses: go/bump
with:
deps: |-
github.com/go-jose/go-jose/v4@v4.0.5
golang.org/x/oauth2@v0.27.0
golang.org/x/crypto@v0.35.0
golang.org/x/net@v0.36.0
- uses: go/build
with:
packages: .
output: gatus
- runs: |
mkdir -p ${{targets.contextdir}}/config
cp ./config.yaml ${{targets.contextdir}}/config/
subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by gatus"
dependencies:
runtime:
- ${{package.name}}
pipeline:
- runs: |
mkdir -p ${{targets.contextdir}}
ln -sf /usr/bin/gatus ${{targets.contextdir}}/gatus
test:
pipeline:
- runs: "[ \"$(stat -c '%N' /gatus 2>/dev/null)\" = \"'/gatus' -> '/usr/bin/gatus'\" ]"
update:
enabled: true
github:
identifier: TwiN/gatus
strip-prefix: v
use-tag: true
test:
pipeline:
- uses: test/daemon-check-output
with:
start: GATUS_CONFIG_PATH=./config.yaml gatus &
expected_output: "Listening on 0.0.0.0:8080"