2022-07-28 14:48:51 -06:00
|
|
|
#!/bin/bash
|
2023-02-02 17:15:17 -08:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2022-07-28 14:48:51 -06:00
|
|
|
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
|
|
|
|
|
|
2022-12-19 12:35:10 -07:00
|
|
|
make ${BUILD_TARGET}
|
2023-04-27 14:59:46 -04:00
|
|
|
zip -j ${ARTIFACT_PATH}/boundary.zip bin/${BINARY_NAME}
|
2022-07-28 14:48:51 -06:00
|
|
|
|
|
|
|
|
popd > /dev/null
|