mirror of
https://github.com/Sea-Haven-Industries/seahaven-door-unlock-api.git
synced 2026-10-01 20:23:11 +00:00
fix(terraform): invoke package build via bash
HCP launches the external data source with bash, so the inner build script should not depend on the git executable bit.
This commit is contained in:
parent
47deda20a0
commit
885c816618
1 changed files with 4 additions and 1 deletions
|
|
@ -3,7 +3,10 @@
|
|||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||
"${ROOT}/build_packages.sh" >&2
|
||||
# artifacts.tf already launches this file with bash, so +x is not required
|
||||
# here. Invoke the inner script the same way so HCP plan does not depend on
|
||||
# the git executable bit.
|
||||
bash "${ROOT}/build_packages.sh" >&2
|
||||
|
||||
if command -v sha256sum >/dev/null 2>&1; then
|
||||
SHA=(sha256sum)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue