Skip to content

Commit a3ff410

Browse files
committed
e2e-run and kind install small fixes
add e2e-cleanups fix argument parsing which has no optargs Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent fdfd333 commit a3ff410

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

hack/dev/e2e-cleanups

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -euf
3+
4+
kubectl get ns -o name|grep pac-e2e|sed 's/.*\///'|xargs -I"{}" -rP4 kubectl delete repo --all -n "{}"
5+
{
6+
kubectl get clustertasks|grep pac-|awk '{print $1}'|xargs -rP4 kubectl delete clustertask
7+
kubectl get ns -o name|grep pac-e2e|sed 's/.*\///'|xargs -rP4 kubectl delete ns
8+
} &!

hack/dev/e2e-run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Usage: $0 [options] [testcase]
5353
EOF
5454
}
5555

56-
while getopts "nE:fSldnk:ph:" o; do
56+
while getopts "nE:fSldnk:p:h:" o; do
5757
case "${o}" in
5858
n)
5959
noclean=true

hack/dev/kind/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function install_pac() {
143143
oldPwd=${PWD}
144144
cd ${PAC_DIR}
145145
echo "Deploying PAC from ${PAC_DIR}"
146-
env KO_DOCKER_REPO=localhost:5000 ko apply -f config -B >/dev/null
146+
env KO_DOCKER_REPO=localhost:5000 ko apply -f config --sbom=none -B >/dev/null
147147
cd ${oldPwd}
148148
fi
149149
configure_pac

0 commit comments

Comments
 (0)