File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 21
21
env :
22
22
DOCKER_IMAGE_TAG : " $BUILDKITE_BUILD_NUMBER"
23
23
EXTRAGOARGS : " -race"
24
+ FICD_DM_VOLUME_GROUP : " fcci-vg"
24
25
command :
25
26
- ./.buildkite/setup_al2.sh
26
27
- docker run --rm -v $PWD:/mnt debian:stretch-slim rm -rf /mnt/tools/image-builder/rootfs
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ source ./.buildkite/al2env.sh
6
6
export PATH=$bin_path :$PATH
7
7
export FIRECRACKER_CONTAINERD_RUNTIME_CONFIG_PATH=$runtime_config_path
8
8
export ENABLE_ISOLATED_TESTS=true
9
- export CONTAINERD_SOCKET=$dir /containerd.sock
9
+ export CONTAINERD_SOCKET=$dir /containerd.sock
10
+
10
11
export SHIM_BASE_DIR=$dir
11
12
12
13
sudo -E PATH=$PATH $bin_path /firecracker-containerd --config $dir /config.toml &
Original file line number Diff line number Diff line change @@ -98,23 +98,25 @@ steps:
98
98
DOCKER_IMAGE_TAG : " $BUILDKITE_BUILD_NUMBER"
99
99
NUMBER_OF_VMS : 100
100
100
EXTRAGOARGS : " -v -count=1 -race"
101
+ FICD_DM_VOLUME_GROUP : fcci-vg
101
102
artifact_paths :
102
103
- " runtime/logs/*"
103
104
command :
104
105
- make -C runtime integ-test FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_runtime
105
106
timeout_in_minutes : 15
106
107
107
- - label : " :rotating_light: :exclamation: example tests (devmapper) "
108
+ - label : " :rotating_light: :exclamation: example tests"
108
109
agents :
109
110
queue : " ${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
110
111
distro : " ${BUILDKITE_AGENT_META_DATA_DISTRO}"
111
112
hostname : " ${BUILDKITE_AGENT_META_DATA_HOSTNAME}"
112
113
env :
113
114
DOCKER_IMAGE_TAG : " $BUILDKITE_BUILD_NUMBER"
114
115
EXTRAGOARGS : " -v -count=1"
116
+ FICD_DM_VOLUME_GROUP : fcci-vg
115
117
artifact_paths :
116
118
- " examples/logs/*"
117
119
command :
118
- - make -C examples integ-test TEST_SS=devmapper TEST_POOL=build_${BUILDKITE_BUILD_NUMBER}_example
120
+ - make -C examples integ-test TEST_POOL=build_${BUILDKITE_BUILD_NUMBER}_example
119
121
timeout_in_minutes : 10
120
122
Original file line number Diff line number Diff line change @@ -5,10 +5,16 @@ chmod a+rwx ${FICD_LOG_DIR}
5
5
6
6
mkdir -p /etc/containerd/snapshotter
7
7
8
+ if [[ -z " $FICD_DM_VOLUME_GROUP " ]]; then
9
+ pool_name=" ${FICD_DM_POOL} "
10
+ else
11
+ pool_name=" $( echo " $FICD_DM_VOLUME_GROUP " | sed s/-/--/g) -${FICD_DM_POOL} "
12
+ fi
13
+
8
14
cat > /etc/containerd/snapshotter/devmapper.toml << EOF
9
15
[plugins]
10
16
[plugins.devmapper]
11
- pool_name = "fcci--vg- ${FICD_DM_POOL } "
17
+ pool_name = "${pool_name } "
12
18
base_image_size = "1024MB"
13
19
EOF
14
20
You can’t perform that action at this time.
0 commit comments