Skip to content

OnPrem installation Smoke Test #50

OnPrem installation Smoke Test

OnPrem installation Smoke Test #50

name: OnPrem installation Smoke Test
on:
# allows the manual trigger
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # every day
jobs:
smoke-test:
name: Run smoke test for Tracetest OnPrem installation
runs-on: ubuntu-latest
timeout-minutes: 20
env:
TRACETEST_LICENSE: ${{ secrets.TRACETEST_ONPREM_TEST_LICENSE }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run installation script
run: ./scripts/setup_kind_cluster.sh --install-demo --reset --build-deps
- name: Send message on Slack in case of failure
if: ${{ failure() }}
uses: slackapi/[email protected]
with:
payload: |
{
"text": ":warning: Smoke test failed for *On Prem installation*. <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View workflow>"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.TRACETEST_ONPREM_TEST_SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK