886 B
886 B
Frontend integration test
This test gets triggered by the end-to-end testing workflows.
Local run
-
Deploy KFP on a k8s cluster and enable port forwarding. Replace the default namespace
kubeflowbelow if needed.POD=`kubectl get pods -n kubeflow -l app=ml-pipeline-ui -o jsonpath='{.items[0].metadata.name}'` kubectl port-forward -n kubeflow ${POD} 3000:3000 & -
Build the container with the tests:
docker build . -t kfp-frontend-integration-test:local -
Run the test with enabled networking (this exposes your local networking stack to the testing container):
docker run --net=host kfp-frontend-integration-test:local --remote-run true -
Once completed, you can kill the background process of port-forwarding:
ps aux | grep '[k]ubectl port-forward' kill <PID>