Replace compose runtime with scoped kind deployment
This commit is contained in:
parent
1b1d8b06c7
commit
0f888986d7
1 changed files with 457 additions and 146 deletions
|
|
@ -53,18 +53,25 @@ if write_lane_profile 001 - - - >/dev/null 2>&1; then
|
|||
fi
|
||||
|
||||
source "$ROOT/tests/kind/lib.sh"
|
||||
kube_calls=0
|
||||
kube() {
|
||||
kube_calls=$((kube_calls + 1))
|
||||
case "$kube_calls" in
|
||||
1) return 1 ;;
|
||||
2) return 0 ;;
|
||||
3) return 1 ;;
|
||||
*) return 0 ;;
|
||||
esac
|
||||
return 1
|
||||
}
|
||||
if reset_lane_target_store garage nuthatch-lane-001 >/dev/null 2>&1; then
|
||||
printf 'target-store emptying failure was ignored\n' >&2
|
||||
if ensure_target_scope_canary garage >/dev/null 2>&1; then
|
||||
printf 'scope-canary provisioning failure was ignored\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source "$ROOT/tests/kind/lib.sh"
|
||||
kube() {
|
||||
return 1
|
||||
}
|
||||
if provision_lane_target_principal \
|
||||
garage \
|
||||
001 \
|
||||
nuthatch-lane-001 \
|
||||
access_key \
|
||||
secret_key >/dev/null 2>&1; then
|
||||
printf 'target-principal provisioning failure was ignored\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue