All scripts that are generally useful across all builds have been moved into `pulumi/scripts`. These changes clone that repository and retarget the various scripts to their new location.
12 lines
626 B
Bash
Executable file
12 lines
626 B
Bash
Executable file
#!/bin/bash
|
|
set -o nounset -o errexit -o pipefail
|
|
|
|
# Run our target to dep ensure and yarn install everything
|
|
make ensure
|
|
|
|
# Ensure the working tree is clean (make ensure may have updated lock files)
|
|
$(go env GOPATH)/src/github.com/pulumi/scripts/ci/check-worktree-is-clean.sh
|
|
|
|
# Set stdout back to blocking to avoid problems writing large outputs.
|
|
# https://github.com/pulumi/pulumi-ppc/issues/176
|
|
python -c 'import fcntl, os, sys; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); print("stdout was " + ("nonblocking" if flags & os.O_NONBLOCK else "blocking")); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags & ~os.O_NONBLOCK)'
|