@@ -56,69 +56,75 @@ jobs:
5656 run : make lint
5757 - name : Integration test
5858 run : make integration-test coverage
59- - name : Archive coverage report
60- uses : actions/upload-artifact@v4
61- with :
62- name : coverage
63- path : ${{ env.CODECOV_FILE }}
64-
65- e2e :
66- name : E2E Test
67- needs :
68- - verify
69- - image-build
70- runs-on : ubuntu-latest
71- env :
72- CODECOV_FILE : build/coverage.e2e.xml
73- SKAFFOLD_NAMESPACE : sandbox
74- SKAFFOLD_RUN_ID : e2e-test
75- steps :
76- - name : Checkout
77- uses : actions/checkout@v4
78- - name : Setup Skaffold
79- uses : heypigeonhq/setup-skaffold@v1.0.0
80- with :
81- version : 2.14.1
82- - name : Download image tags
83- uses : actions/download-artifact@v4
59+ - name : Generate
60+ uses : irongut/CodeCoverageSummary@v1.3.0
8461 with :
85- name : images
86- path : build
87- - name : Create Kind cluster
88- uses : helm/kind-action@v1
89- - name : Bootstrap
90- run : |
91- kustomize build --enable-helm config/bootstrap | kubectl apply -f -
92- kubectl --namespace cert-manager wait --for=condition=Available deployment/cert-manager
93- kubectl get namespace sandbox 2>/dev/null || kubectl create namespace sandbox
94- - name : Deploy
95- run : skaffold deploy --profile e2e --build-artifacts=build/images.json
96- - name : Run E2E tests
97- run : skaffold verify --namespace sandbox --build-artifacts=build/images.json
98- - name : Fetch coverage
99- run : make fetch-coverage
62+ filename : build/coverage.xml,build/coverage.e2e.xml
63+ badge : true
64+ format : markdown
65+ output : both
10066 - name : Archive coverage report
10167 uses : actions/upload-artifact@v4
10268 with :
10369 name : coverage
10470 path : ${{ env.CODECOV_FILE }}
10571
106- coverage :
107- name : Coverage Report
108- needs :
109- - verify
110- - e2e
111- runs-on : ubuntu-latest
112- steps :
113- - name : Download coverage reports
114- uses : actions/download-artifact@v4
115- with :
116- name : coverage
117- path : build
118- - name : Generate
119- uses : irongut/CodeCoverageSummary@v1.3.0
120- with :
121- filename : build/coverage.xml,build/coverage.*.xml
122- badge : true
123- format : markdown
124- output : both
72+ # e2e:
73+ # name: E2E Test
74+ # needs:
75+ # - verify
76+ # - image-build
77+ # runs-on: ubuntu-latest
78+ # env:
79+ # CODECOV_FILE: build/coverage.e2e.xml
80+ # SKAFFOLD_NAMESPACE: sandbox
81+ # SKAFFOLD_RUN_ID: e2e-test
82+ # steps:
83+ # - name: Checkout
84+ # uses: actions/checkout@v4
85+ # - name: Setup Skaffold
86+ # uses: heypigeonhq/setup-skaffold@v1.0.0
87+ # with:
88+ # version: 2.14.1
89+ # - name: Create Kind cluster
90+ # uses: helm/kind-action@v1
91+ # with:
92+ # cluster_name: kind-etcd
93+ # - name: Bootstrap
94+ # run: |
95+ # kustomize build --enable-helm config/bootstrap | kubectl apply -f -
96+ # kubectl --namespace cert-manager wait --for=condition=Available deployment/cert-manager-webhook
97+ # kubectl get namespace sandbox 2>/dev/null || kubectl create namespace sandbox
98+ # - name: Build images
99+ # run: |
100+ # mkdir build
101+ # skaffold build --file-output=build/images.json
102+ # - name: Deploy
103+ # run: skaffold deploy --profile e2e --build-artifacts=build/images.json
104+ # - name: Run E2E tests
105+ # run: skaffold verify --namespace sandbox --build-artifacts=build/images.json
106+ # - name: Fetch coverage
107+ # run: make fetch-coverage
108+ # - name: Archive coverage report
109+ # uses: actions/upload-artifact@v4
110+ # with:
111+ # name: coverage-e2e
112+ # path: ${{ env.CODECOV_FILE }}
113+
114+ # coverage:
115+ # name: Coverage Report
116+ # needs:
117+ # - verify
118+ # - e2e
119+ # runs-on: ubuntu-latest
120+ # steps:
121+ # - name: Download coverage report
122+ # uses: actions/download-artifact@v4
123+ # with:
124+ # name: coverage
125+ # path: build
126+ # - name: Download E2E coverage report
127+ # uses: actions/download-artifact@v4
128+ # with:
129+ # name: coverage-e2e
130+ # path: build
0 commit comments