feat(components): add strategy to v1 GCPC custom job components/utils #459
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: KFP Samples | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- '.github/resources/**' | |
- '.github/workflows/kfp-samples.yml' | |
- '.github/workflows/kubeflow-pipelines-integration-v2.yml' | |
- 'backend/**' | |
- 'samples/**' | |
- 'samples/core/dataflow/**' | |
- 'samples/core/parameterized_tfx_oss/**' | |
jobs: | |
samples: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- 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 Samples Tests | |
run: | | |
./backend/src/v2/test/sample-test.sh |