quicktype/.buildkite/build-master.sh

14 строки
384 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$DIR/common.sh"
make_outputs_dir
docker pull schani/quicktype
docker build --cache-from schani/quicktype -t quicktype .
docker run -t --workdir="/app" -v "$QUICKTYPE_OUTPUTS:/quicktype-outputs" -e "OUTPUT_DIR=/quicktype-outputs" -e "ONLY_OUTPUT=1" quicktype npm run test
commit_outputs