Add licensing and distribution metadata
This commit is contained in:
parent
30ae88f8a3
commit
5fb0c9c57b
2 changed files with 9231 additions and 63 deletions
|
|
@ -3,9 +3,11 @@ set -euo pipefail
|
|||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
||||
|
||||
if ! git diff --quiet || ! git diff --cached --quiet || [[ -n "$(git ls-files --others --exclude-standard)" ]]; then
|
||||
echo "check-v1 requires a clean checkout" >&2
|
||||
exit 1
|
||||
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
if ! git diff --quiet || ! git diff --cached --quiet || [[ -n "$(git ls-files --others --exclude-standard)" ]]; then
|
||||
echo "check-v1 requires a clean checkout" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
unset NUTHATCH_APP_INTERACTIVE
|
||||
|
|
@ -16,6 +18,8 @@ unset NUTHATCH_IDEMPOTENCY_FIRST_LANE_ONLY
|
|||
unset NUTHATCH_RECOVERY_TARGET
|
||||
unset NUTHATCH_PROTOCOL_TARGET
|
||||
|
||||
npm --prefix web ci
|
||||
|
||||
targets=(
|
||||
test
|
||||
check-dependencies
|
||||
|
|
|
|||
|
|
@ -30,13 +30,16 @@ prepare_tools() {
|
|||
}
|
||||
|
||||
configure_provider() {
|
||||
local provider_bin="$RUNTIME/provider-bin"
|
||||
if [[ -z "${NUTHATCH_REAL_NERDCTL:-}" ]]; then
|
||||
NUTHATCH_REAL_NERDCTL="$(command -v nerdctl)" || return
|
||||
fi
|
||||
mkdir -p "$provider_bin"
|
||||
install -m 0755 "$TESTBED/provider/nerdctl" "$provider_bin/nerdctl"
|
||||
export NUTHATCH_REAL_NERDCTL
|
||||
export CONTAINERD_NAMESPACE="$NERDCTL_NAMESPACE"
|
||||
export KIND_EXPERIMENTAL_PROVIDER=nerdctl
|
||||
export PATH="$TESTBED/provider:$PATH"
|
||||
export PATH="$provider_bin:$PATH"
|
||||
}
|
||||
|
||||
runtime_ctr() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue