-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.maker.yaml
69 lines (56 loc) · 1.72 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Configuration file for <https://github.com/sapcc/go-makefile-maker>
metadata:
url: https://github.com/sapcc/keppel
binaries:
- name: keppel
fromPackage: .
installTo: bin/
coverageTest:
only: '/internal'
except: '/drivers|/test/util'
dockerfile:
enabled: true
extraIgnores:
- "*.actual"
- /*.json
- /*.yaml
- privkey.pem
golang:
setGoModVersion: true
golangciLint:
createConfig: true
errcheckExcludes:
- encoding/json.Marshal
# Any error in HTTP handlers is handled by the server itself.
- (net/http.ResponseWriter).Write
- (*github.com/spf13/cobra.Command).Help
githubWorkflow:
ci:
enabled: true
coveralls: true
nix:
extraPackages:
- openssl
renovate:
enabled: true
assignees:
- majewsky
- SuperSandro2000
packageRules:
- matchDepTypes: ["action"]
matchFileNames: [".github/workflows/oci-distribution-conformance.yml"]
enabled: true
verbatim: |
# This is for manual testing.
run-api: build/keppel
set -euo pipefail && source ./.env && $(CURDIR)/build/keppel server api
copy-fixtures:
find -name '*.actual' | xargs -I{} bash -c 'mv {} $$(echo {} | sed "s/.actual//g")'
testing/conformance-test/privkey.pem:
openssl genrsa -out $@ 4096
# This is for running test suites like the OCI distribution API conformance test.
# An account called "conformance-test" and a hardcoded username/password pair
# (see env.sh mentioned below) will be pre-configured and ready to use for the test run.
run-api-for-conformance-test: build/keppel testing/conformance-test/privkey.pem
@echo "Ready to run conformance test"
set -euo pipefail && source testing/conformance-test/env.sh && $(CURDIR)/build/keppel server api