You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/enos/modules/build_local/templates/build.sh

20 lines
368 B

#!/bin/bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
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/${BINARY_NAME}
popd > /dev/null