Skip to content

Commit

Permalink
Disable kind-preload.sh by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jul 26, 2024
1 parent b4420ee commit c5dee09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,13 @@ kubectl tunnel expose jenkins 8000:8000 8001:8001 &
mvn test -Djenkins.host.address=jenkins.default -Dport=8000 -DslaveAgentPort=8001 -Dtest=KubernetesPipelineTest#runInPod
```

Alternately, you can run everything like in CI:

```bash
export KIND_PRELOAD=true # optionally
./kind.sh -Dtest=KubernetesPipelineTest#runInPod
```

You can also run interactively after setting up the tunnel:

```bash
Expand Down
5 changes: 4 additions & 1 deletion kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ function cleanup() {
trap cleanup EXIT
kubectl cluster-info

./kind-preload.sh
if ${KIND_PRELOAD:-false}
then
./kind-preload.sh
fi

ktunnel expose jenkins 8000:8000 8001:8001 &
ktunnel_pid=$!
Expand Down

0 comments on commit c5dee09

Please sign in to comment.