Skip to content

Commit

Permalink
Remove test examples. Delete running pods before each test. (#314)
Browse files Browse the repository at this point in the history
Co-authored-by: Stephan Schnabel <stephan@sschnabe.eu>
  • Loading branch information
sschnabe and Stephan Schnabel authored Nov 4, 2024
1 parent 932fdb3 commit 04204c7
Show file tree
Hide file tree
Showing 24 changed files with 4 additions and 9,981 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,12 @@ To plugin is tested with `maven-invoker-plugin`. The testcases can be used as ex
* Deployment with Ingress [http://echo.127.0.0.1.nip.io:8080](http://echo.127.0.0.1.nip.io:8080)
* [test](/src/it/traefik/src/test/java/io/kokuwa/maven/k3s/PodIT.java#L21) uses `http://echo.127.0.0.1.nip.io:8080` as endpoint

### [Istio and Dashboard](src/it/istio)

* manifest are applied with `k3s:apply` using custom command with kustomize
* Istio for subdomains of `127.0.0.1.nip.io` with [LoadBalancer](/src/it/istio/src/test/k3s/istio/istio.yaml#L9334) on port 80
* Kubernetes Dashboard available at [http://dashboard.127.0.0.1.nip.io:80](http://dashboard.127.0.0.1.nip.io)
* Deployment with Ingress [http://echo.127.0.0.1.nip.io:80](http://echo.127.0.0.1.nip.io:80)
* [test](/src/it/istio/src/test/java/io/kokuwa/maven/k3s/PodIT.java#L21) uses `http://echo.127.0.0.1.nip.io:80` as endpoint

### [PostgreSQL using PVC with HostPort](src/it/postgresql-with-pvc-and-hostport)

* manifest are applied with `k3s:apply` using custom command with kustomize
* PostgreSQL is running with [hostport](/src/it/postgresql-with-pvc-and-hostport/src/test/k3s/pod.yaml#L15) 5432
* [test](/src/it/postgresql-with-pvc-and-hostport/src/test/java/io/kokuwa/maven/k3s/PostgreIT.java#L26) uses `http://127.0.0.1:5432` as endpoint

### [Kafka/Kafka Web UI with HostPort](src/it/kafka-with-hostport)

* manifest are applied with `k3s:apply`
* Kafka is running with [hostport](/src/it/kafka-with-hostport/src/test/k3s/kafka.yaml#L29) 9091
* [Kafka Web UI](https://github.com/obsidiandynamics/kafdrop) available at [http://kafdrop.127.0.0.1.nip.io:9000](http://kafdrop.127.0.0.1.nip.io:9000)
* [test](/src/it/kafka-with-hostport/src/test/java/io/kokuwa/maven/k3s/KafkaIT.java#L30) uses `http://kafka.127.0.0.1.nip.io:9091` as endpoint

### [Cert-Manager](src/it/cert-manager)

* manifest are generated with `helm template`, using the [helm-maven-plugin](https://github.com/kokuwaio/helm-maven-plugin)
Expand Down
35 changes: 0 additions & 35 deletions src/it/istio/pom.xml

This file was deleted.

27 changes: 0 additions & 27 deletions src/it/istio/src/test/java/io/kokuwa/maven/k3s/PodIT.java

This file was deleted.

51 changes: 0 additions & 51 deletions src/it/istio/src/test/k3s/dashboard/deployment.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions src/it/istio/src/test/k3s/dashboard/ingress.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions src/it/istio/src/test/k3s/dashboard/kustomization.yaml

This file was deleted.

87 changes: 0 additions & 87 deletions src/it/istio/src/test/k3s/dashboard/rbac.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions src/it/istio/src/test/k3s/dashboard/service.yaml

This file was deleted.

42 changes: 0 additions & 42 deletions src/it/istio/src/test/k3s/echo/deployment.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions src/it/istio/src/test/k3s/echo/ingress.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions src/it/istio/src/test/k3s/echo/kustomization.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions src/it/istio/src/test/k3s/echo/service.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions src/it/istio/src/test/k3s/istio/README.md

This file was deleted.

Loading

0 comments on commit 04204c7

Please sign in to comment.