Files
threshold/enos/modules/build_local/templates/build.sh
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
368 B
Bash
Raw Normal View History

#!/bin/bash
2023-02-02 17:15:17 -08:00
# 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