-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathguac.yaml
111 lines (100 loc) · 2.48 KB
/
guac.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
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
106
107
108
109
110
111
package:
name: guac
version: "0.13.2"
epoch: 5
description: GUAC aggregates software security metadata into a high fidelity graph database.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/guacsec/guac
tag: v${{package.version}}
expected-commit: cc45b44248ecef0504f4f80c44c871b29bacf566
- uses: go/bump
with:
deps: |-
github.com/go-git/go-git/v5@v5.13.0
github.com/go-jose/go-jose/v4@v4.0.5
golang.org/x/crypto@v0.35.0
golang.org/x/oauth2@v0.27.0
golang.org/x/net@v0.36.0
- uses: go/build
with:
packages: ./cmd/guaccollect
output: guaccollect
ldflags: -X github.com/guacsec/guac/pkg/version.Version=${{package.version}}
- uses: strip
subpackages:
- name: guacingest
pipeline:
- uses: go/build
with:
ldflags: -X github.com/guacsec/guac/pkg/version.Version=${{package.version}}
packages: ./cmd/guacingest
output: guacingest
- uses: strip
test:
pipeline:
- runs: |
guacingest --version
guacingest --help
- name: guacone
pipeline:
- uses: go/build
with:
ldflags: -X github.com/guacsec/guac/pkg/version.Version=${{package.version}}
packages: ./cmd/guacone
output: guacone
- uses: strip
test:
pipeline:
- runs: |
guacone --version
guacone --help
- name: guacgql
pipeline:
- uses: go/build
with:
ldflags: -X github.com/guacsec/guac/pkg/version.Version=${{package.version}}
packages: ./cmd/guacgql
output: guacgql
- uses: strip
test:
pipeline:
- runs: |
guacgql --version
guacgql --help
- name: guaccsub
pipeline:
- uses: go/build
with:
ldflags: -X github.com/guacsec/guac/pkg/version.Version=${{package.version}}
packages: ./cmd/guaccsub
output: guaccsub
- uses: strip
test:
pipeline:
- runs: |
guaccsub --version
guaccsub --help
update:
enabled: true
github:
identifier: guacsec/guac
strip-prefix: v
use-tag: true
tag-filter: v
test:
pipeline:
# AUTOGENERATED
- runs: |
guaccollect --version
guaccollect --help