Skip to content

Commit 84b5dfb

Browse files
committed
Fiz e2e.yml file
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent 7a79855 commit 84b5dfb

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.github/workflows/e2e.yml

+18-16
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
cancel-in-progress: true
2727
timeout-minutes: 120
2828
runs-on: ubuntu-latest
29-
name: End-to-end tests (Kind)
29+
name: End-to-End Tests (Kind)
30+
3031
steps:
31-
- name: Install dependencies
32+
- name: Install Dependencies
3233
run: |
3334
sudo apt-get update && \
3435
sudo apt-get -y install --no-install-recommends \
@@ -37,6 +38,7 @@ jobs:
3738
libbtrfs-dev \
3839
libdevmapper-dev \
3940
libkrb5-dev
41+
4042
- name: Checkout Code
4143
uses: actions/checkout@v3
4244
with:
@@ -48,7 +50,7 @@ jobs:
4850
go-version: ${{ env.GO_VERSION }}
4951
cache: true
5052

51-
- name: Setup Python for cekit
53+
- name: Setup Python for Cekit
5254
uses: actions/setup-python@v5
5355
with:
5456
python-version: ${{ env.PYTHON_VERSION }}
@@ -60,58 +62,58 @@ jobs:
6062
pip install -r images/requirements.txt
6163
cekit --version
6264
63-
- name: Setup Kind cluster
65+
- name: Setup Kind Cluster
6466
run: make KIND_VERSION=${{ env.KIND_VERSION }} BUILDER=docker create-cluster
6567

6668
- name: Deploy Knative Eventing and Serving
6769
run: make KNATIVE_VERSION=${{ env.KNATIVE_VERSION }} deploy-knative
6870

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
7072
run: echo "OPERATOR_IMAGE_NAME=${{ env.OPERATOR_IMAGE_NAME }}" >> $GITHUB_ENV
7173

72-
- name: Build and load operator image
74+
- name: Build and Load Operator Image
7375
run: |
7476
make container-build BUILDER=docker IMG=${{ env.OPERATOR_IMAGE_NAME }}
7577
kind load docker-image ${{ env.OPERATOR_IMAGE_NAME }}
7678
77-
- name: Check pods
79+
- name: Check Pods
7880
run: |
7981
kubectl version
8082
kubectl get pods -A
8183
82-
- name: Deploy operator
84+
- name: Deploy Operator
8385
run: |
8486
make deploy IMG=${{ env.OPERATOR_IMAGE_NAME }}
8587
kubectl wait pod -A -l control-plane=sonataflow-operator --for condition=Ready
8688
87-
- name: [Ephemeral Workflows] Run e2e tests
89+
- name: Run E2E Tests for Non-Persistent Flows
8890
run: make test-e2e label=flows-non-persistence
8991

90-
- name: [Persistence Workflows] Run e2e tests
92+
- name: Run E2E Tests for Persistent Flows
9193
run: make test-e2e label=flows-persistence
9294

93-
- name: [Platform] Run e2e tests
95+
- name: Run E2E Tests for Platform
9496
run: make test-e2e label=platform
9597

96-
- name: [Cluster Platform] Run e2e tests
98+
- name: Run E2E Tests for Cluster Platform
9799
run: make test-e2e label=cluster
98100

99-
- name: Get KIND logs after failure run
101+
- name: Get KIND Logs After Failure
100102
if: failure()
101103
run: |
102104
kubectl get events
103105
kubectl get pod -A
104106
105-
- name: Export kind logs
107+
- name: Export KIND Logs
106108
if: always()
107109
run: |
108110
mkdir -p /tmp/kind/logs
109111
kind export logs --loglevel=debug /tmp/kind/logs
110112
111-
- name: Upload kind logs
113+
- name: Upload KIND Logs
112114
if: always()
113115
uses: actions/upload-artifact@v4
114116
with:
115-
name: kind-logs-${{ env.JOB_NAME }}-${{ github.run_id }}
117+
name: kind-logs-${{ job.name }}-${{ github.run_id }}
116118
path: /tmp/kind/logs
117119
retention-days: 1

0 commit comments

Comments
 (0)