diff --git a/.github/actions/cloud-slack-e2e/action.yaml b/.github/actions/cloud-slack-e2e/action.yaml index 076a00731..ba78b7ec7 100644 --- a/.github/actions/cloud-slack-e2e/action.yaml +++ b/.github/actions/cloud-slack-e2e/action.yaml @@ -37,12 +37,6 @@ inputs: botkube_cloud_team_organization_id: description: 'BotKube Cloud Team Organization ID' required: true - botkube_cloud_free_organization_id: - description: 'BotKube Cloud Free Organization ID' - required: true - botkube_cloud_plugin_repo_url: - description: 'BotKube Cloud Plugin Repo URL' - required: true slack_alerts_webhook: description: 'Slack Alerts Webhook' @@ -73,10 +67,18 @@ runs: dist/botkube-cli_linux_amd64_v1/botkube key: botkube-cli_linux_amd64_v1 + - name: Install GoReleaser + uses: goreleaser/goreleaser-action@v5 + with: + install-only: true + version: latest + - name: Build CLI + shell: bash run: make build-single-arch-cli - name: Add Botkube CLI to env + shell: bash run: | echo BOTKUBE_CLI_BINARY_PATH="$PWD/dist/botkube-cli_linux_amd64_v1/botkube" >> $GITHUB_ENV @@ -104,8 +106,6 @@ runs: BOTKUBE_CLOUD_EMAIL: ${{ inputs.botkube_cloud_email }} BOTKUBE_CLOUD_PASSWORD: ${{ inputs.botkube_cloud_password }} BOTKUBE_CLOUD_TEAM_ORGANIZATION_ID: ${{ inputs.botkube_cloud_team_organization_id }} - BOTKUBE_CLOUD_FREE_ORGANIZATION_ID: ${{ inputs.botkube_cloud_free_organization_id }} - BOTKUBE_CLOUD_PLUGIN_REPO_URL: ${{ inputs.botkube_cloud_plugin_repo_url }} SCREENSHOTS_DIR: ${{ runner.temp }}/screenshots DEBUG_MODE: "true" run: | @@ -136,15 +136,15 @@ runs: echo "footer=${FOOTER}" >> $GITHUB_OUTPUT - - name: Slack Notification - uses: rtCamp/action-slack-notify@v2 - if: ${{ failure() }} - env: - SLACK_CHANNEL: 'botkube-cloud-ci-alerts' - SLACK_USERNAME: Botkube Cloud CI - SLACK_COLOR: 'red' - SLACK_TITLE: 'Message' - SLACK_MESSAGE: "Cloud Slack ${{ inputs.e2e_type }} E2E tests failed :scream:" - SLACK_ICON_EMOJI: ':this-is-fine-fire:' - SLACK_FOOTER: ${{ steps.footer.outputs.footer }} - SLACK_WEBHOOK: ${{ inputs.slack_alerts_webhook }} +# - name: Slack Notification +# uses: rtCamp/action-slack-notify@v2 +# if: ${{ failure() }} +# env: +# SLACK_CHANNEL: 'botkube-cloud-ci-alerts' +# SLACK_USERNAME: Botkube Cloud CI +# SLACK_COLOR: 'red' +# SLACK_TITLE: 'Message' +# SLACK_MESSAGE: "Cloud Slack ${{ inputs.e2e_type }} E2E tests failed :scream:" +# SLACK_ICON_EMOJI: ':this-is-fine-fire:' +# SLACK_FOOTER: ${{ steps.footer.outputs.footer }} +# SLACK_WEBHOOK: ${{ inputs.slack_alerts_webhook }} diff --git a/.github/workflows/branch-build.yml b/.github/workflows/branch-build.yml index 441ba0e1c..5a190d506 100644 --- a/.github/workflows/branch-build.yml +++ b/.github/workflows/branch-build.yml @@ -290,7 +290,6 @@ jobs: cloud-slack-dev-e2e: name: Botkube Cloud Slack Dev E2E runs-on: ubuntu-latest - needs: [ build ] permissions: contents: read packages: read @@ -316,8 +315,6 @@ jobs: botkube_cloud_email: ${{ secrets.E2E_DEV_BOTKUBE_CLOUD_EMAIL }} botkube_cloud_password: ${{ secrets.E2E_DEV_BOTKUBE_CLOUD_PASSWORD }} botkube_cloud_team_organization_id: ${{ secrets.E2E_DEV_BOTKUBE_CLOUD_TEAM_ORGANIZATION_ID }} - botkube_cloud_free_organization_id: ${{ secrets.E2E_DEV_BOTKUBE_CLOUD_FREE_ORGANIZATION_ID }} - botkube_cloud_plugin_repo_url: "https://storage.googleapis.com/botkube-plugins-latest/plugins-dev-index.yaml" slack_alerts_webhook: ${{ secrets.SLACK_CI_ALERTS_WEBHOOK }} diff --git a/.github/workflows/prod-e2e-test.yml b/.github/workflows/prod-e2e-test.yml index 4c7b4a9d1..c04f6094e 100644 --- a/.github/workflows/prod-e2e-test.yml +++ b/.github/workflows/prod-e2e-test.yml @@ -42,8 +42,6 @@ jobs: botkube_cloud_email: ${{ secrets.E2E_DEV_BOTKUBE_CLOUD_EMAIL }} botkube_cloud_password: ${{ secrets.E2E_DEV_BOTKUBE_CLOUD_PASSWORD }} botkube_cloud_team_organization_id: ${{ secrets.E2E_PROD_BOTKUBE_CLOUD_TEAM_ORGANIZATION_ID }} - botkube_cloud_free_organization_id: ${{ secrets.E2E_PROD_BOTKUBE_CLOUD_FREE_ORGANIZATION_ID }} - botkube_cloud_plugin_repo_url: "https://storage.googleapis.com/botkube-plugins-latest/plugins-index.yaml" slack_alerts_webhook: ${{ secrets.SLACK_CI_ALERTS_WEBHOOK }}