-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarney.yaml
47 lines (42 loc) · 1.37 KB
/
barney.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
images:
efw-protobufs:
description: |
All protobufs used by EfwSfeModules and Packetd to file reports with Reportd ready to be BIPed into mfw-nft
units:
- sources:
- github.com/untangle/golang-shared
build: |
cp /src/github.com/untangle/golang-shared/protobuffersrc/* /dest
test/efw-protobufs:
description: |
Check that the .proto files exist in the artifacts produced by efw-protobufs
units:
- mappings:
/src/efw-protobufs: .%efw-protobufs
build: |
ls -l /src/efw-protobufs/*.proto
################
#
# Validate non-code files
#
#########
tests/internal/renovate-json5-floor:
entry:
mutables:
- /etc # for error unable to clean up mess surrounding './etc/apache2' before installing another version: Read-only file system
- /usr # for apt
- /var/cache # for apt
- /var/lib # for apt
- /var/log # for apt
units:
- image: barney.ci/debian%minbase
- image: barney.ci/debian%network
tests/renovate-json5:
units:
- floor: .%tests/internal/renovate-json5-floor
sources:
- github.com/untangle/golang-shared # to get sources under stable path
build: |
apt update
apt install -y node-json5
json5 --validate /src/github.com/untangle/golang-shared/renovate.json5