@@ -213,80 +213,6 @@ jobs:
213
213
SLACK_WEBHOOK : ${{ secrets.SLACK_CI_ALERTS_WEBHOOK }}
214
214
SLACK_FOOTER : " Fingers crossed it's just an outdated/flaky test..."
215
215
216
- cli-migration-e2e :
217
- name : CLI Migration E2E tests
218
- runs-on : ubuntu-latest
219
- needs : [ build ]
220
- permissions :
221
- contents : read
222
- packages : read
223
- concurrency :
224
- group : cli-migration-e2e
225
- cancel-in-progress : false
226
- steps :
227
- - name : Checkout code
228
- uses : actions/checkout@v4
229
- with :
230
- persist-credentials : false
231
- - name : Install GoReleaser
232
- uses : goreleaser/goreleaser-action@v5
233
- with :
234
- install-only : true
235
- version : latest
236
- - name : Setup Go
237
- uses : actions/setup-go@v5
238
- with :
239
- go-version-file : ' go.mod'
240
- cache : true
241
- - name : Setup Go modules
242
- uses : ./.github/actions/setup-go-mod-private
243
- with :
244
- access_token : ${{ secrets.E2E_TEST_GH_DEV_ACCOUNT_PAT }}
245
- username : ${{ env.GIT_USER }}
246
- - name : Run GoReleaser
247
- run : make build-single-arch-cli
248
- - name : Add botkube alias
249
- run : |
250
- echo BOTKUBE_BINARY_PATH="$PWD/dist/botkube-cli_linux_amd64_v1/botkube" >> $GITHUB_ENV
251
- - name : Install Helm
252
- uses : azure/setup-helm@v3
253
- with :
254
- version : ${{ env.HELM_VERSION }}
255
- - name : Download k3d
256
- run : " wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=${K3D_VERSION} bash"
257
- - name : Create k3d cluster
258
- run : " k3d cluster create cli-migration-e2e-cluster --wait --timeout=5m"
259
- - name : Run e2e tests for botkube client
260
- env :
261
- DISCORD_BOT_ID : ${{ secrets.DISCORD_BOT_ID }}
262
- DISCORD_BOT_TOKEN : ${{ secrets.DISCORD_BOT_TOKEN }}
263
- DISCORD_GUILD_ID : ${{ secrets.DISCORD_GUILD_ID }}
264
- DISCORD_TESTER_APP_TOKEN : ${{ secrets.DISCORD_TESTER_APP_TOKEN }}
265
- BOTKUBE_CLOUD_DEV_GQL_ENDPOINT : ${{ secrets.BOTKUBE_CLOUD_DEV_GQL_ENDPOINT }}
266
- BOTKUBE_CLOUD_DEV_REFRESH_TOKEN : ${{ secrets.BOTKUBE_CLOUD_DEV_REFRESH_TOKEN }}
267
- BOTKUBE_CLOUD_DEV_AUTH0_CLIENT_ID : ${{ secrets.BOTKUBE_CLOUD_DEV_AUTH0_CLIENT_ID }}
268
- run : |
269
- KUBECONFIG=$(k3d kubeconfig write cli-migration-e2e-cluster) make test-cli-migration-e2e
270
-
271
- - name : Dump cluster state
272
- if : ${{ failure() }}
273
- uses : ./.github/actions/dump-cluster
274
- with :
275
- name : cli-migration-e2e
276
-
277
- - name : Slack Notification
278
- uses : rtCamp/action-slack-notify@v2
279
- if : ${{ failure() }}
280
- env :
281
- SLACK_USERNAME : Botkube Cloud CI
282
- SLACK_COLOR : ' red'
283
- SLACK_TITLE : ' Message'
284
- SLACK_CHANNEL : ' botkube-cloud-ci-alerts'
285
- SLACK_MESSAGE : ' CLI Migration E2E tests failed :scream:'
286
- SLACK_ICON_EMOJI : ' :this-is-fine-fire:'
287
- SLACK_FOOTER : " Fingers crossed it's just an outdated/flaky test..."
288
- SLACK_WEBHOOK : ${{ secrets.SLACK_CI_ALERTS_WEBHOOK }}
289
-
290
216
cloud-slack-dev-e2e :
291
217
name : Botkube Cloud Slack Dev E2E
292
218
runs-on : ubuntu-latest
0 commit comments