Files
threshold/enos/modules/build_local/templates/build.sh
T
dillanb-hashi f7a52473b0 chore(e2e): Add source override to admin ui build script
* override build source for automation. Allowing enterprise builds from boundary-ui source
2025-10-17 07:44:12 -07:00

21 lines
422 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
export UI_SRC_OVERRIDE="${UI_BUILD_OVERRIDE}"
make ${BUILD_TARGET}
zip -j ${ARTIFACT_PATH}/${ARTIFACT_NAME}.zip bin/${BINARY_NAME}
popd > /dev/null