diff --git a/.github/workflows/kfp-samples.yml b/.github/workflows/kfp-samples.yml index 63569884682..83643522f7c 100644 --- a/.github/workflows/kfp-samples.yml +++ b/.github/workflows/kfp-samples.yml @@ -7,9 +7,12 @@ on: pull_request: paths: - '.github/resources/**' - - 'samples/**' - - 'backend/src/v2/**' - '.github/workflows/kfp-samples.yml' + - '.github/workflows/kubeflow-pipelines-integration-v2.yml' + - 'backend/**' + - 'samples/**' + - 'samples/core/dataflow/**' + - 'samples/core/parameterized_tfx_oss/**' jobs: samples: diff --git a/.github/workflows/kubeflow-pipelines-integration-v2.yml b/.github/workflows/kubeflow-pipelines-integration-v2.yml deleted file mode 100644 index 5062e98e4d9..00000000000 --- a/.github/workflows/kubeflow-pipelines-integration-v2.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Kubeflow Pipelines V2 integration Tests - -on: - push: - branches: - - master - pull_request: - paths: - - '.github/workflows/kubeflow-pipelines-integration-v2.yml' - - '.github/resources/**' - - 'samples/core/parameterized_tfx_oss/**' - - 'samples/core/dataflow/**' - - 'backend/**' - -jobs: - integration-tests: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.9] - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} - - - name: Create KFP cluster - uses: ./.github/actions/kfp-cluster - - - name: Forward API port - run: ./.github/resources/scripts/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888 - - - name: Run the Integration Tests - run: | - ./backend/src/v2/test/integration-test.sh diff --git a/backend/src/v2/test/integration-test.sh b/backend/src/v2/test/integration-test.sh deleted file mode 100755 index d93d6364dce..00000000000 --- a/backend/src/v2/test/integration-test.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -# -# Copyright 2021 The Kubeflow Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# 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. - -set -ex - -DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null && pwd)" -cd "${DIR}" -source "${DIR}/scripts/ci-env.sh" - -pip3 install --quiet -r requirements.txt -# Run sample test -ENV_PATH=kfp-ci.env make integration-test