blob: 5f6f26493f8e403b948f4852e76845554d0399fc [file] [log] [blame]
#!/bin/bash
# Builds and uploads a debian package for prober.
APPNAME=proberk
set -x -e
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
${INSTALL} --mode=644 -T ${APPNAME}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
${INSTALL} --mode=755 -T ./allprobersk.json ${ROOT}/etc/${APPNAME}/allprobersk.json
${INSTALL_DIR} --mode=755 ${ROOT}/etc/${APPNAME}/expectations/
${INSTALL} --mode=644 ./expectations/* ${ROOT}/etc/${APPNAME}/expectations/
}
source ../bash/docker_build.sh