diff --git a/.github/workflows/periodic.yml b/.github/workflows/periodic.yml index 2d9d8e6b856..2f81dde8347 100644 --- a/.github/workflows/periodic.yml +++ b/.github/workflows/periodic.yml @@ -10,13 +10,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Create k8s Kind Cluster - uses: container-tools/kind-action@v2 - with: - cluster_name: kfp-tekton - kubectl_version: v1.29.2 - version: v0.22.0 - node_image: kindest/node:v1.29.2 + - name: Create KFP cluster + uses: ./.github/actions/kfp-cluster + - name: Port forward kfp apiserver + run: | + nohup kubectl port-forward --namespace kubeflow svc/ml-pipeline 8888:8888 & - name: Run Functional Tests run: | log_dir=$(mktemp -d) diff --git a/test/kfp-functional-test/kfp-functional-test.sh b/test/kfp-functional-test/kfp-functional-test.sh index ac57fbe354e..fde9ec5c1e2 100755 --- a/test/kfp-functional-test/kfp-functional-test.sh +++ b/test/kfp-functional-test/kfp-functional-test.sh @@ -12,11 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -sudo apt-get update -y -sudo apt --no-install-recommends -y -q install curl -source_root="$(pwd)" +source_root="$(pwd)" python3 -m pip install -r "${source_root}/test/kfp-functional-test/requirements.txt" -HOST="https://$(curl https://raw.githubusercontent.com/kubeflow/testing/master/test-infra/kfp/endpoint)" - -python3 "${source_root}/test/kfp-functional-test/run_kfp_functional_test.py" --host "${HOST}" +python3 "${source_root}/test/kfp-functional-test/run_kfp_functional_test.py" --host "http://localhost:8888" # host configured in workflow file