diff --git a/.github/workflows/branch-build.yml b/.github/workflows/branch-build.yml index 5024b01ee..476b31cef 100644 --- a/.github/workflows/branch-build.yml +++ b/.github/workflows/branch-build.yml @@ -213,80 +213,6 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_CI_ALERTS_WEBHOOK }} SLACK_FOOTER: "Fingers crossed it's just an outdated/flaky test..." - cli-migration-e2e: - name: CLI Migration E2E tests - runs-on: ubuntu-latest - needs: [ build ] - permissions: - contents: read - packages: read - concurrency: - group: cli-migration-e2e - cancel-in-progress: false - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - persist-credentials: false - - name: Install GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - install-only: true - version: latest - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - cache: true - - name: Setup Go modules - uses: ./.github/actions/setup-go-mod-private - with: - access_token: ${{ secrets.E2E_TEST_GH_DEV_ACCOUNT_PAT }} - username: ${{ env.GIT_USER }} - - name: Run GoReleaser - run: make build-single-arch-cli - - name: Add botkube alias - run: | - echo BOTKUBE_BINARY_PATH="$PWD/dist/botkube-cli_linux_amd64_v1/botkube" >> $GITHUB_ENV - - name: Install Helm - uses: azure/setup-helm@v3 - with: - version: ${{ env.HELM_VERSION }} - - name: Download k3d - run: "wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=${K3D_VERSION} bash" - - name: Create k3d cluster - run: "k3d cluster create cli-migration-e2e-cluster --wait --timeout=5m" - - name: Run e2e tests for botkube client - env: - DISCORD_BOT_ID: ${{ secrets.DISCORD_BOT_ID }} - DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }} - DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }} - DISCORD_TESTER_APP_TOKEN: ${{ secrets.DISCORD_TESTER_APP_TOKEN }} - BOTKUBE_CLOUD_DEV_GQL_ENDPOINT: ${{ secrets.BOTKUBE_CLOUD_DEV_GQL_ENDPOINT }} - BOTKUBE_CLOUD_DEV_REFRESH_TOKEN: ${{ secrets.BOTKUBE_CLOUD_DEV_REFRESH_TOKEN }} - BOTKUBE_CLOUD_DEV_AUTH0_CLIENT_ID: ${{ secrets.BOTKUBE_CLOUD_DEV_AUTH0_CLIENT_ID }} - run: | - KUBECONFIG=$(k3d kubeconfig write cli-migration-e2e-cluster) make test-cli-migration-e2e - - - name: Dump cluster state - if: ${{ failure() }} - uses: ./.github/actions/dump-cluster - with: - name: cli-migration-e2e - - - name: Slack Notification - uses: rtCamp/action-slack-notify@v2 - if: ${{ failure() }} - env: - SLACK_USERNAME: Botkube Cloud CI - SLACK_COLOR: 'red' - SLACK_TITLE: 'Message' - SLACK_CHANNEL: 'botkube-cloud-ci-alerts' - SLACK_MESSAGE: 'CLI Migration E2E tests failed :scream:' - SLACK_ICON_EMOJI: ':this-is-fine-fire:' - SLACK_FOOTER: "Fingers crossed it's just an outdated/flaky test..." - SLACK_WEBHOOK: ${{ secrets.SLACK_CI_ALERTS_WEBHOOK }} - cloud-slack-dev-e2e: name: Botkube Cloud Slack Dev E2E runs-on: ubuntu-latest