write error: Invalid argument
Having an issue in a GitLab pipeline with the following code on the new alpine:latest (sha256:7731472c3f2a25edbb9c085c78f42ec71259f2b83485aa60648276d408865839).
for i in clean test none; do [[ "$i" = "$DATABASE" ]] && found=1; done if ! [[ "$found" = "1" ]] ;then echo $DATABASE not valid exit 1 fi
I get the error:
sh: write error: Invalid argument
Using the previous version everything runs fine. Any ideas what might be the issue here? Seems similar to issue 10854 but as far as I'm aware there's no newlines involved.
$DATABASE var is
clean in the run I was testing.