Build executables via deployment

pull/813/head
kompotkot 2023-07-05 12:12:48 +00:00
rodzic 2c51435cf1
commit a3d88d9221
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ echo
echo -e "${PREFIX_INFO} Building executable load balancer for nodes script with Go"
EXEC_DIR=$(pwd)
cd "${APP_DIR}/nodebalancer"
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/nodebalancer/nodebalancer" "${APP_DIR}/nodebalancer/cmd/nodebalancer/*.go"
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/nodebalancer/nodebalancer" "${APP_DIR}/nodebalancer/cmd/nodebalancer/"
cd "${EXEC_DIR}"
echo

Wyświetl plik

@ -68,7 +68,7 @@ echo
echo -e "${PREFIX_INFO} Building executable probes application with Go"
EXEC_DIR=$(pwd)
cd "${APP_DIR}/probes"
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/probes/probes" "${APP_DIR}/probes/cmd/probes/*.go"
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/probes/probes" "${APP_DIR}/probes/cmd/probes/"
cd "${EXEC_DIR}"
echo