-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.maker.yaml
46 lines (36 loc) · 1.17 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
# Configuration file for <https://github.com/sapcc/go-makefile-maker>
metadata:
url: https://github.com/sapcc/castellum
binaries:
- name: castellum
fromPackage: .
installTo: bin/
coverageTest:
only: '/internal'
except: '/plugins|/test'
variables:
GO_TESTENV: 'CASTELLUM_AUDIT_SILENT=true'
dockerfile:
enabled: true
golang:
setGoModVersion: true
golangciLint:
createConfig: true
githubWorkflow:
ci:
enabled: true
coveralls: true
renovate:
enabled: true
assignees:
- majewsky
- SuperSandro2000
verbatim: |
# convenience targets for developers: `make run-api/run-collector/run-worker/test-asset-type-*`
# runs one of the components, with environment options sourced from $PWD/.env; and configuration
# from $PWD/test-config.yaml; and resource configuration optionally sourced
# from $PWD/test-config-$ASSET_TYPE.json
run-%: build/castellum
set -euo pipefail && source ./.env && ./build/castellum $* ./test-config.yaml
test-asset-type-%: build/castellum
set -euo pipefail && source ./.env && ./build/castellum test-asset-type ./test-config.yaml $* "$$(test -f "test-config-$*.json" && cat "test-config-$*.json")"