20 lines
368 B
Bash
Executable File
20 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
set -eux -o pipefail
|
|
|
|
env
|
|
|
|
# Requirements
|
|
npm install --global pnpm || 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/${BINARY_NAME}
|
|
|
|
popd > /dev/null
|