26
26
cancel-in-progress : true
27
27
timeout-minutes : 120
28
28
runs-on : ubuntu-latest
29
- name : End-to-end tests (Kind)
29
+ name : End-to-End Tests (Kind)
30
+
30
31
steps :
31
- - name : Install dependencies
32
+ - name : Install Dependencies
32
33
run : |
33
34
sudo apt-get update && \
34
35
sudo apt-get -y install --no-install-recommends \
37
38
libbtrfs-dev \
38
39
libdevmapper-dev \
39
40
libkrb5-dev
41
+
40
42
- name : Checkout Code
41
43
uses : actions/checkout@v3
42
44
with :
48
50
go-version : ${{ env.GO_VERSION }}
49
51
cache : true
50
52
51
- - name : Setup Python for cekit
53
+ - name : Setup Python for Cekit
52
54
uses : actions/setup-python@v5
53
55
with :
54
56
python-version : ${{ env.PYTHON_VERSION }}
@@ -60,58 +62,58 @@ jobs:
60
62
pip install -r images/requirements.txt
61
63
cekit --version
62
64
63
- - name : Setup Kind cluster
65
+ - name : Setup Kind Cluster
64
66
run : make KIND_VERSION=${{ env.KIND_VERSION }} BUILDER=docker create-cluster
65
67
66
68
- name : Deploy Knative Eventing and Serving
67
69
run : make KNATIVE_VERSION=${{ env.KNATIVE_VERSION }} deploy-knative
68
70
69
- - name : Set OPERATOR_IMAGE_NAME to point to Kind's local registry
71
+ - name : Set OPERATOR_IMAGE_NAME to Point to Kind's Local Registry
70
72
run : echo "OPERATOR_IMAGE_NAME=${{ env.OPERATOR_IMAGE_NAME }}" >> $GITHUB_ENV
71
73
72
- - name : Build and load operator image
74
+ - name : Build and Load Operator Image
73
75
run : |
74
76
make container-build BUILDER=docker IMG=${{ env.OPERATOR_IMAGE_NAME }}
75
77
kind load docker-image ${{ env.OPERATOR_IMAGE_NAME }}
76
78
77
- - name : Check pods
79
+ - name : Check Pods
78
80
run : |
79
81
kubectl version
80
82
kubectl get pods -A
81
83
82
- - name : Deploy operator
84
+ - name : Deploy Operator
83
85
run : |
84
86
make deploy IMG=${{ env.OPERATOR_IMAGE_NAME }}
85
87
kubectl wait pod -A -l control-plane=sonataflow-operator --for condition=Ready
86
88
87
- - name : [Ephemeral Workflows] Run e2e tests
89
+ - name : Run E2E Tests for Non-Persistent Flows
88
90
run : make test-e2e label=flows-non-persistence
89
91
90
- - name : [Persistence Workflows] Run e2e tests
92
+ - name : Run E2E Tests for Persistent Flows
91
93
run : make test-e2e label=flows-persistence
92
94
93
- - name : [Platform] Run e2e tests
95
+ - name : Run E2E Tests for Platform
94
96
run : make test-e2e label=platform
95
97
96
- - name : [Cluster Platform] Run e2e tests
98
+ - name : Run E2E Tests for Cluster Platform
97
99
run : make test-e2e label=cluster
98
100
99
- - name : Get KIND logs after failure run
101
+ - name : Get KIND Logs After Failure
100
102
if : failure()
101
103
run : |
102
104
kubectl get events
103
105
kubectl get pod -A
104
106
105
- - name : Export kind logs
107
+ - name : Export KIND Logs
106
108
if : always()
107
109
run : |
108
110
mkdir -p /tmp/kind/logs
109
111
kind export logs --loglevel=debug /tmp/kind/logs
110
112
111
- - name : Upload kind logs
113
+ - name : Upload KIND Logs
112
114
if : always()
113
115
uses : actions/upload-artifact@v4
114
116
with :
115
- name : kind-logs-${{ env.JOB_NAME }}-${{ github.run_id }}
117
+ name : kind-logs-${{ job.name }}-${{ github.run_id }}
116
118
path : /tmp/kind/logs
117
119
retention-days : 1
0 commit comments