This makes the `make` build target that is used for local builder variant configurable. This will allow us to utilize the local builder variant in downstreams that might use different targets for their build. * Make the local build target configurable * Allow cross compiling `linux/amd64` on different platforms.
17 lines
293 B
Bash
Executable File
17 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
set -eux -o pipefail
|
|
|
|
env
|
|
|
|
# Requirements
|
|
npm install --global yarn || true
|
|
|
|
# Go to the root of the boundary repo
|
|
root_dir="$(git rev-parse --show-toplevel)"
|
|
pushd "${root_dir}" > /dev/null
|
|
|
|
make ${BUILD_TARGET}
|
|
zip -j ${ARTIFACT_PATH}/boundary.zip bin/boundary
|
|
|
|
popd > /dev/null
|