-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.maker.yaml
50 lines (43 loc) · 1.42 KB
/
Makefile.maker.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
# Configuration file for <https://github.com/sapcc/go-makefile-maker>
metadata:
url: https://github.com/sapcc/containers
binaries:
- name: backup-server
fromPackage: .
installTo: bin/
dockerfile:
enabled: true
entrypoint: [ /usr/bin/backup-server ]
extraDirectives:
- "ENV ENV=/usr/bin/motd.sh" # `kubectl exec` is not a login shell, so we need to use this instead of /etc/profile or $HOME/.profile
- "COPY --from=postgres:17-alpine /usr/local/bin/pg_dump /usr/libexec/postgresql17/pg_dump"
- "RUN /usr/libexec/postgresql17/pg_dump --version >/dev/null"
extraPackages:
# for psql, pg_dump
- postgresql15-client
- postgresql16-client
# - postgresql17-client # not yet in any alpine version, so we take it from the postgres alpine image instead
# required for backup-tools.sh
- curl
- jq
golang:
setGoModVersion: true
golangciLint:
createConfig: true
githubWorkflow:
ci:
enabled: true
coveralls: true
renovate:
enabled: true
assignees:
- majewsky
- SuperSandro2000
# The "install" target is autogenerated to install the Go binary, but we also
# need to install the backup-tools.sh script into $PATH.
verbatim: |
install-scripts:
install -d -m 0755 "$(DESTDIR)$(PREFIX)/bin"
install -m 0755 backup-tools.sh "$(DESTDIR)$(PREFIX)/bin/backup-tools"
install -m 0755 motd.sh "$(DESTDIR)$(PREFIX)/bin/motd.sh"
install: install-scripts