Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Integration Test

Integration Test #37

Workflow file for this run

---
# This is an example workflow that will then be moved to operator-templating
name: Integration Test
# todo: run-name:
on:
workflow_dispatch:
jobs:
placeholder:
name: Run Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: recursive
- name: Run Tests
uses: stackabletech/actions/run-integration-test@run-integration-test
with:
test-platform: kind-1.31.0-amd64
test-run: test-suite
test-parameter: nightly
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}
- name: Fail on Purpose
shell: bash
run: |
exit 1
- name: Send Notification
if: ${{ failure() }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }}
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
with:
channel-id: "C07UYKAEE02" # notifications-integration-tests-test
payload: |
{
"text": "Integration Test *${{ github.repository }}* failed",
"attachments": [
{
"pretext": "Is this needed?",
"color": "#aa0000",
"fields": [
{
"title": "Needed?",
"value": "Needed?",
"short": true
}
],
"actions": [
{
"type": "button",
"text": "Go to integration test run",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
]
}
]
}