Skip to content

Commit

Permalink
feat(GH workflow): migrate periodic functional tests to GH actions (#…
Browse files Browse the repository at this point in the history
…10751)

* periodic functional tests migration

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

feat: migrate periodic functional tests to GH actions

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

feat: migrate periodic functional tests to GH actions

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

feat: migrate periodic functional tests to GH actions

feat: migrate periodic functional tests to GH actions

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

feat: migrate periodic functional tests to GH actions

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

* updated kind installation and artifact collection

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

* updated artifact collection code

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

* updated version

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

* updated path

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

* added log_dir

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

---------

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>
  • Loading branch information
shruti2522 authored May 9, 2024
1 parent d91a70a commit c4d7ec3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Periodic Functional Tests

on:
schedule:
- cron: '*/5 * * * *' # Run every 5 minutes

jobs:
run_tests:
runs-on: ubuntu-latest
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: Run Functional Tests
run: |
log_dir=$(mktemp -d)
./test/kfp-functional-test/kfp-functional-test.sh > $log_dir/periodic_tests.txt
- name: Collect test results
if: always()
uses: actions/upload-artifact@v4
with:
name: periodic-functional-artifacts
path: /tmp/tmp.*/*

0 comments on commit c4d7ec3

Please sign in to comment.