Skip to content

Commit 42d3a68

Browse files
authored
Merge pull request #17 from JuliaCI/tb/env_bash
Use /bin/env to discover bash.
2 parents 3610c81 + 36e03fc commit 42d3a68

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.buildkite/pipeline.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ steps:
2424
create_bundle: "true"
2525
- JuliaCI/julia:
2626
version: "1"
27-
- staticfloat/sandbox#v1:
27+
- staticfloat/sandbox#v2:
2828
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.26/tester_linux.x86_64.tar.gz"
2929
rootfs_treehash: "777ec4aa795558b5dcc659903c6bd0a0b3565ed4"
3030
uid: 1000
@@ -53,7 +53,7 @@ steps:
5353
compressor: "zstd"
5454
- JuliaCI/julia:
5555
version: "1"
56-
- staticfloat/sandbox#v1:
56+
- staticfloat/sandbox#v2:
5757
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.26/tester_linux.x86_64.tar.gz"
5858
rootfs_treehash: "777ec4aa795558b5dcc659903c6bd0a0b3565ed4"
5959
uid: 1000
@@ -106,7 +106,7 @@ steps:
106106
# Install Julia v1 so we can run in a sandbox and also use julia to generate segfaults
107107
- JuliaCI/julia:
108108
version: "1"
109-
- staticfloat/sandbox#v1:
109+
- staticfloat/sandbox#v2:
110110
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.26/tester_linux.x86_64.tar.gz"
111111
rootfs_treehash: "777ec4aa795558b5dcc659903c6bd0a0b3565ed4"
112112
uid: 1000
@@ -140,7 +140,7 @@ steps:
140140
# Install Julia v1 so we can run in a sandbox and also use julia to generate segfaults
141141
- JuliaCI/julia:
142142
version: "1"
143-
- staticfloat/sandbox#v1:
143+
- staticfloat/sandbox#v2:
144144
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.26/tester_linux.x86_64.tar.gz"
145145
rootfs_treehash: "777ec4aa795558b5dcc659903c6bd0a0b3565ed4"
146146
uid: 1000
@@ -174,7 +174,7 @@ steps:
174174
- "script import time; time.sleep(1000)"
175175
- JuliaCI/julia:
176176
version: "1"
177-
- staticfloat/sandbox#v1:
177+
- staticfloat/sandbox#v2:
178178
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.26/tester_linux.x86_64.tar.gz"
179179
rootfs_treehash: "777ec4aa795558b5dcc659903c6bd0a0b3565ed4"
180180
uid: 1000
@@ -263,7 +263,7 @@ steps:
263263
echo -n "Two raw bash corefile: "
264264
[[ "$$(ls bash-*.core | wc -l)" == "2" ]]
265265
echo "✔️"
266-
266+
267267
echo -n "One raw bash bundled bash corefile: "
268268
[[ "$$(ls bash-*.core.tar | wc -l)" == "1" ]]
269269
echo "✔️"

hooks/post-command

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
2+
23
set -euo pipefail
34
shopt -s globstar extglob nullglob
45
REPO_DIR="$(dirname $( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; ) )";

0 commit comments

Comments
 (0)