@@ -68,10 +68,22 @@ steps:
68
68
agents :
69
69
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
70
70
71
+ - label : ' :package: install'
72
+ commands :
73
+ # Install tc-redirect-tap.
74
+ - ' mkdir -p testdata/bin'
75
+ - ' GOBIN=$(pwd)/testdata/bin go get github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap'
76
+ # Copy vmlinux and root-drive.img.
77
+ - ' ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
78
+ - ' ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
79
+ agents :
80
+ queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
81
+ distro : " ${BUILDKITE_AGENT_META_DATA_DISTRO}"
82
+ hostname : " ${BUILDKITE_AGENT_META_DATA_HOSTNAME}"
83
+
71
84
- label : ' build'
72
85
commands :
73
86
- ' make'
74
- - ' make -C cni'
75
87
agents :
76
88
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
77
89
distro : " ${BUILDKITE_AGENT_META_DATA_DISTRO}"
@@ -93,7 +105,6 @@ steps:
93
105
- ' ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
94
106
- ' ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
95
107
- ' mkdir -p $(pwd)/testdata/bin'
96
- - ' make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin'
97
108
- " sudo PATH=$PATH FC_TEST_TAP=fc-root-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS="
98
109
agents :
99
110
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
@@ -108,12 +119,13 @@ steps:
108
119
commands :
109
120
- ' ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
110
121
- ' ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
111
- - ' mkdir -p $(pwd)/testdata/bin'
112
- - ' make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin'
113
122
- ' buildkite-agent artifact download testdata/firecracker-master .'
114
123
- ' chmod +x testdata/firecracker-master'
115
124
- ' buildkite-agent artifact download testdata/jailer-master .'
116
125
- ' chmod +x testdata/jailer-master'
126
+ # Install tc-redirect-tap.
127
+ - ' mkdir -p testdata/bin'
128
+ - ' GOBIN=$(pwd)/testdata/bin go get github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap'
117
129
- " sudo -E PATH=$PATH FC_TEST_TAP=fc-mst-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS="
118
130
agents :
119
131
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
0 commit comments