@@ -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}"
@@ -95,7 +107,6 @@ steps:
95
107
- ' ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
96
108
- ' ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
97
109
- ' mkdir -p $(pwd)/testdata/bin'
98
- - ' make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin'
99
110
- " sudo PATH=$PATH FC_TEST_TAP=fc-root-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS="
100
111
agents :
101
112
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
@@ -112,12 +123,13 @@ steps:
112
123
commands :
113
124
- ' ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
114
125
- ' ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
115
- - ' mkdir -p $(pwd)/testdata/bin'
116
- - ' make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin'
117
126
- ' buildkite-agent artifact download testdata/firecracker-master .'
118
127
- ' chmod +x testdata/firecracker-master'
119
128
- ' buildkite-agent artifact download testdata/jailer-master .'
120
129
- ' chmod +x testdata/jailer-master'
130
+ # Install tc-redirect-tap.
131
+ - ' mkdir -p testdata/bin'
132
+ - ' GOBIN=$(pwd)/testdata/bin go get github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap'
121
133
- " sudo -E PATH=$PATH FC_TEST_TAP=fc-mst-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS="
122
134
agents :
123
135
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
0 commit comments