Closed jonathanvila closed 3 years ago
Issue : https://github.com/konveyor/tackle-pathfinder/issues/35
kubectl create namespace tackle
$ kubectl apply -f https://raw.githubusercontent.com/konveyor/tackle/main/kubernetes/kubernetes-tackle.yaml -n tackle
$ kubectl edit ingress tackle -n tackle
Add this below paths:
paths:
- backend: service: name: tackle-pathfinder port: number: 8080 path: /pathfinder pathType: ImplementationSpecific
$ ./mvnw -U -B package -Dquarkus.container-image.push=true -Dquarkus.container-image.group={your quay user} -Dquarkus.container-image.registry=quay.io -Dquarkus.container-image.username={your quay user} -Dquarkus.container-image.password={your quay pwd} -Pnative
$ kubectl rollout restart deployment tackle-pathfinder -n tackle
$ .github/scripts/check_api.sh
Expect +++++ API CHECK SUCCESSFUL ++++++
Expect
+++++ API CHECK SUCCESSFUL ++++++
podman run -it --name keycloak --rm \ -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e KEYCLOAK_IMPORT=/tmp/keycloak/quarkus-realm.json \ -e DB_VENDOR=h2 -p 8180:8080 -p 8543:8443 -v ./src/main/resources/keycloak:/tmp/keycloak:Z \ jboss/keycloak:12.0.2
podman run -it \ --name postgres-pathfinder -e POSTGRES_USER=pathfinder \ -e POSTGRES_PASSWORD=pathfinder -e POSTGRES_DB=pathfinder_db \ -p 5433:5432 postgres:10.6
./mvnw quarkus:dev
$ .github/scripts/check_api.sh localhost:8085 localhost:8180
Script Test steps involved in this feature :
Issue : https://github.com/konveyor/tackle-pathfinder/issues/35
Features covered
Pre steps Minikube:
Add this below
paths:
Test case with Minikube : Do the full API test
Pre steps non containerised local test:
Test case with local non containerised : Do the full API test
NOTE
Script Test steps involved in this feature :