Skip to content

Commit 7a19888

Browse files
authored
asdf machinery for buildkite tools versions (sourcegraph#538)
1 parent e1016d9 commit 7a19888

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.buildkite/hooks/pre-command

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
set -eu
4+
cd $BUILDKITE_BUILD_CHECKOUT_PATH
5+
6+
echo "Installing asdf dependencies as defined in '$BUILDKITE_BUILD_CHECKOUT_PATH/.tool-versions':"
7+
asdf install

.tools-versions

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
golang 1.14
2+
yarn 1.19.2
3+
kubectl 1.17.3

0 commit comments

Comments
 (0)