diff --git a/.github/workflows/nightly-release-0.5.yaml b/.github/workflows/nightly-release-0.5.yaml new file mode 100644 index 0000000..54bee6d --- /dev/null +++ b/.github/workflows/nightly-release-0.5.yaml @@ -0,0 +1,36 @@ +name: Run Konveyor release-0.5 nightly tests + +on: + schedule: + - cron: "35 3 * * *" + workflow_dispatch: + +jobs: + release-0_5-nightly: + uses: ./.github/workflows/global-ci.yml + with: + tag: release-0.5 + operator_tag: v0.5.0 + api_tests_ref: release-0.5 + run_api_tests: true + # TODO: this needs to be pinned to a release-0.5 specific branch + ui_tests_ref: main + # Disabled while we wait for stability + run_ui_tests: false + report_failure: + needs: release-0_5-nightly + if: ${{ always() && contains(needs.*.result, 'failure') }} + runs-on: ubuntu-latest + steps: + - name: Send failure data to Slack workflow + id: slack + uses: slackapi/slack-github-action@v1.26.0 + with: + payload: | + { + "test": "E2E API", + "branch": "release-0.5", + "note": "Failed run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/README.md b/README.md index a2a1f3b..aa79d24 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ Component | CI (after merge) | Nightly (cron) Branch | Status --|-- **main** | [![Run Konveyor main nightly tests](https://github.com/konveyor/ci/actions/workflows/nightly-main.yaml/badge.svg?branch=main)](https://github.com/konveyor/ci/actions/workflows/nightly-main.yaml) +**release-0.5** | [![Run Konveyor release-0.5 nightly tests](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.5.yaml/badge.svg?branch=main)](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.5.yaml) **release-0.4** | [![Run Konveyor release-0.4 nightly tests](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.4.yaml/badge.svg?branch=main)](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.4.yaml) **release-0.3** | [![Run Konveyor release-0.3 nightly tests](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.3.yaml/badge.svg?branch=main)](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.3.yaml) -**release-0.2** | [![Run Konveyor release-0.2 nightly tests](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.2.yaml/badge.svg?branch=main)](https://github.com/konveyor/ci/actions/workflows/nightly-release-0.2.yaml)