github.com/grahambrereton-form3/tilt@v0.10.18/internal/build/testdata/TestBuildkitPrinter/generate-responses.sh (about)

     1  #!/bin/sh
     2  
     3  set -ex
     4  
     5  DIR=$(realpath $(dirname $0))
     6  
     7  go install github.com/windmilleng/tilt/cmd/buildkitapi
     8  
     9  cd $DIR/echo-hi-success
    10  buildkitapi > $DIR/echo-hi-success.response.txt
    11  
    12  cd $DIR/echo-hi-failure
    13  buildkitapi > $DIR/echo-hi-failure.response.txt
    14  
    15  cd $DIR/multistage-success
    16  buildkitapi > $DIR/multistage-success.response.txt
    17  
    18  cd $DIR/multistage-fail-run
    19  buildkitapi > $DIR/multistage-fail-run.response.txt
    20  
    21  cd $DIR/multistage-fail-copy
    22  buildkitapi > $DIR/multistage-fail-copy.response.txt
    23  
    24  cd $DIR/sleep-success
    25  buildkitapi > $DIR/sleep-success.response.txt
    26  buildkitapi --cache > $DIR/sleep-cache.response.txt
    27  
    28  cd $DIR/rust-success
    29  buildkitapi > $DIR/rust-success.response.txt