Skip to content

Commit

Permalink
feat: Adding github action to run the operator end-to-end tests. (fea…
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshrangineni authored and dharmisha committed Jan 15, 2025
1 parent d9a1a64 commit 18aca79
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/operator-e2e-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- opened
- synchronize
- labeled
<<<<<<< HEAD
paths-ignore:
- 'community/**'
- 'docs/**'
Expand All @@ -18,6 +19,11 @@ on:
jobs:
operator-e2e-tests:
timeout-minutes: 40
=======

jobs:
operator-e2e-tests:
>>>>>>> 92081089e (feat: Adding github action to run the operator end-to-end tests. (#4762))
if:
((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&
Expand All @@ -43,7 +49,11 @@ jobs:

- name: Create KIND cluster
run: |
<<<<<<< HEAD
kind create cluster --name $KIND_CLUSTER --wait 10m
=======
kind create cluster --name $KIND_CLUSTER --wait 5m
>>>>>>> 92081089e (feat: Adding github action to run the operator end-to-end tests. (#4762))

- name: Set up kubernetes context
run: |
Expand All @@ -56,16 +66,22 @@ jobs:
cd infra/feast-operator/
make test-e2e
<<<<<<< HEAD
- name: Debug KIND Cluster when there is a failure
if: failure()
run: |
kubectl get pods --all-namespaces
kubectl describe nodes
=======
>>>>>>> 92081089e (feat: Adding github action to run the operator end-to-end tests. (#4762))
- name: Clean up
if: always()
run: |
# Delete the KIND cluster after tests
kind delete cluster --name kind-$KIND_CLUSTER
<<<<<<< HEAD


=======
>>>>>>> 92081089e (feat: Adding github action to run the operator end-to-end tests. (#4762))

0 comments on commit 18aca79

Please sign in to comment.