Skip to content

Commit 4029dbd

Browse files
authored
use system python (sourcegraph#4072)
* revert back to system python
1 parent 606503e commit 4029dbd

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

.buildkite/hooks/pre-command

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
11
#!/usr/bin/env bash
22

33
set -eu
4-
pushd "$(dirname "${BASH_SOURCE[0]}")"/../..
4+
cd $BUILDKITE_BUILD_CHECKOUT_PATH
55

6-
TOOL_VERSION_FILES=()
7-
mapfile -d $'\0' TOOL_VERSION_FILES < <(fd .tool-versions --hidden --absolute-path --print0)
8-
9-
for file in "${TOOL_VERSION_FILES[@]}"; do
10-
echo "Installing asdf dependencies as defined in ${file}:"
11-
parent=$(dirname "${file}")
12-
pushd "${parent}"
13-
14-
asdf install
15-
16-
popd
17-
done
18-
19-
popd
6+
echo "Installing asdf dependencies as defined in '$BUILDKITE_BUILD_CHECKOUT_PATH/.tool-versions':"
7+
asdf install

.tool-versions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ pulumi 1.14.1
55
fd 7.4.0
66
kustomize 4.0.5
77
shfmt 3.1.0
8-
python 3.10.0
8+
nodejs 12.10.0
9+
python system

0 commit comments

Comments
 (0)