konveyor / ci

Apache License 2.0
0 stars 12 forks source link

Run Hub API tests on running Konveyor #9

Closed aufi closed 1 year ago

aufi commented 1 year ago

Hub API tests can work on "disconnected" hub as well as on running Konveyor application. It should make sense run these tests as part of the CI.

Details and example: https://github.com/konveyor/tackle2-hub/tree/main/test

$ export HUB_BASE_URL="http://$(minikube ip)/hub"
$ export HUB_PASSWORD=="admin" #(optional)
$ export HUB_PASSWORD="..." #(optional)
$ go test -v ./test/api/
aufi commented 1 year ago

Will be implemented with https://github.com/konveyor/go-konveyor-tests/issues/22.