Skip to content

Commit 0eac60c

Browse files
committed
switch everything in the mzcompose hook over to min, figure out what it's trying to run
1 parent 8f6e5b2 commit 0eac60c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ci/plugins/mzcompose/hooks/command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if is_truthy "${CI_HEAP_PROFILES:-}"; then
9393
sleep 5
9494
# faketty because otherwise docker will complain about not being inside
9595
# of a TTY when run in a background job
96-
faketty bin/ci-builder run stable bin/ci-upload-heap-profiles "$BUILDKITE_PLUGIN_MZCOMPOSE_COMPOSITION"
96+
faketty bin/ci-builder run min bin/ci-upload-heap-profiles "$BUILDKITE_PLUGIN_MZCOMPOSE_COMPOSITION"
9797
done
9898
) &
9999
fi

ci/plugins/mzcompose/hooks/pre-exit

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if [ ! -s services.log ] && [ "$BUILDKITE_LABEL" != "Maelstrom coverage of persi
9191
fi
9292

9393
export_cov() {
94-
bin/ci-builder run stable rust-cov export \
94+
bin/ci-builder run min rust-cov export \
9595
--ignore-filename-regex=.cargo/ \
9696
--ignore-filename-regex=target/release/ \
9797
--ignore-filename-regex=/cargo/ \
@@ -110,9 +110,9 @@ if [ -n "${CI_COVERAGE_ENABLED:-}" ] && [ -z "${BUILDKITE_MZCOMPOSE_PLUGIN_SKIP_
110110
find . -name '*.profraw' | while read -r i; do
111111
cp "$i" profraws
112112
rm "$i"
113-
bin/ci-builder run stable rust-profdata show profraws/"$(basename "$i")" > /dev/null || rm profraws/"$(basename "$i")"
113+
bin/ci-builder run min rust-profdata show profraws/"$(basename "$i")" > /dev/null || rm profraws/"$(basename "$i")"
114114
done
115-
find profraws -name '*.profraw' -exec bin/ci-builder run stable rust-profdata merge -sparse -o coverage/"$BUILDKITE_JOB_ID".profdata {} +
115+
find profraws -name '*.profraw' -exec bin/ci-builder run min rust-profdata merge -sparse -o coverage/"$BUILDKITE_JOB_ID".profdata {} +
116116
find . -name '*.profraw' -delete
117117

118118
ARGS=()
@@ -124,9 +124,9 @@ if [ -n "${CI_COVERAGE_ENABLED:-}" ] && [ -z "${BUILDKITE_MZCOMPOSE_PLUGIN_SKIP_
124124
done
125125
rm coverage/"$BUILDKITE_JOB_ID".profdata
126126
if [ "${#ARGS[@]}" != 0 ]; then
127-
bin/ci-builder run stable lcov "${ARGS[@]}" -o coverage/"$BUILDKITE_JOB_ID".lcov
127+
bin/ci-builder run min lcov "${ARGS[@]}" -o coverage/"$BUILDKITE_JOB_ID".lcov
128128
rm coverage/"$BUILDKITE_JOB_ID"-*.lcov
129-
bin/ci-builder run stable zstd coverage/"$BUILDKITE_JOB_ID".lcov
129+
bin/ci-builder run min zstd coverage/"$BUILDKITE_JOB_ID".lcov
130130
buildkite-agent artifact upload coverage/"$BUILDKITE_JOB_ID".lcov.zst
131131
fi
132132
fi

0 commit comments

Comments
 (0)