Compare commits

...

4 Commits

Author SHA1 Message Date
Meghan Denny
073438d4ba Merge branch 'main' into nektro-patch-33330 2024-11-19 02:27:52 -08:00
Meghan Denny
0b6db0b715 [publish images] 2024-11-16 03:30:20 -08:00
Meghan Denny
86021046ba test failed, add logging 2024-11-16 02:42:11 -08:00
Meghan Denny
e8f13fa066 ci: bootstrap: define shell for buildkite user 2024-11-16 01:40:59 -08:00
2 changed files with 4 additions and 0 deletions

View File

@@ -841,6 +841,7 @@ create_buildkite_user() {
user="buildkite-agent"
group="$user"
home="/var/lib/buildkite-agent"
sh="$(require sh)"
case "$distro" in
amzn)
@@ -854,6 +855,7 @@ create_buildkite_user() {
execute_sudo useradd "$user" \
--system \
--no-create-home \
--shell "$sh" \
--home-dir "$home"
fi

View File

@@ -260,6 +260,8 @@ describe("spawn()", () => {
if (isWindows) {
expect(shellPath).not.toBeEmpty();
} else {
console.log('USER', process.env.USER);
console.log('SHELL', process.env.SHELL);
expect(fs.existsSync(shellPath), `${shellPath} does not exist`).toBe(true);
}
});