forked from openconfig/featureprofiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
barney.yaml
34 lines (29 loc) · 871 Bytes
/
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
images:
floor:
# Build floor for importing the test barneyfiles
units:
- image: barney.ci/alpine%pkg/alpine-base
- image: code.arista.io/util/golang/ondatra-utils%static
test-build-floor:
# Build floor for building the tests
units:
- image: barney.ci/golang%toolchain
# github.com/google/gopacket requires cgo and pcap
- image: barney.ci/alpine%pkg/gcc
- image: barney.ci/alpine%pkg/musl-dev
- image: barney.ci/alpine%pkg/libpcap-dev
meta:
units:
- floor: .%floor
build: |
gen-test-meta -o $DESTDIR/tests.yaml feature
import-tests:
units:
- floor: .%floor
build: |
gen-test-meta -o tests.yaml feature
gen-image-spec -i tests.yaml -o $DESTDIR/gotest-images.yaml
imports:
- from: .%import-tests
import:
- gotest-images.yaml