Skip to content

Commit d079c8b

Browse files
committed
use mise
1 parent c2dd686 commit d079c8b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.buildkite/hooks/pre-command

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ trap remove_pidfile EXIT
2727
echo $$ > "$PIDFILE"
2828

2929
echo "Installing asdf dependencies as defined in '${WORKDIR}/.tool-versions':"
30-
asdf install
30+
if [ ! -f ".use_mise" ]; then
31+
asdf install
32+
else
33+
mise install
34+
eval "$(mise activate)"
35+
fi

.use_mise

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Buildkite Agent CI use the presence of this file to determine whether it should install tools with mise or install them with ASDF.
2+
Thus if you delete this file, CI will use ASDF to install tools and not mise.
3+
4+
The file is only meant to be here while we transition to using mise completely.
5+
6+
For more information you can reach out to the dev-infra team on #discuss-dev-infra.

0 commit comments

Comments
 (0)