| #!/bin/bash |
| |
| set -x -e |
| |
| # Build the binaries |
| make k8s-binaries |
| |
| # Builds and uploads a container image for the ingestion server. |
| APPNAME="gold-ingestion" |
| |
| # Copy files into the right locations in ${ROOT}. |
| copy_release_files() |
| { |
| INSTALL="install -D --verbose --backup=none" |
| INSTALL_DIR="install -d --verbose --backup=none" |
| |
| ${INSTALL} --mode=644 -T ./dockerfiles/Dockerfile_ingestion ${ROOT}/Dockerfile |
| ${INSTALL} --mode=755 -T ./build/skia_ingestion_k8s ${ROOT}/usr/local/bin/gold-ingestion |
| } |
| |
| source ../bash/docker_build.sh |