Skip to content

e2e-manual-trigger-tests #178

e2e-manual-trigger-tests

e2e-manual-trigger-tests #178

name: e2e-manual-trigger-tests
on:
workflow_dispatch:
inputs:
instance1:
description: "Please enter a valid BRB instance URL to run the tests on"
default: "https://brb-main.cd.dbildungscloud.dev"
required: true
instance2:
description: "Please enter a valid NBC instance URL to run the tests on"
default: "https://nbc-main.cd.dbildungscloud.dev"
required: true
instance3:
description: "Please enter a valid DEFAULT instance URL to run the tests on"
default: "https://default-main.cd.dbildungscloud.dev"
required: true
jobs:
e2e-system-tests:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Checkout
uses: actions/checkout@v3
configuring-loading-secrets-running-tests:
needs: e2e-system-tests
uses: ./.github/workflows/main.yml
secrets:
service-account-token: ${{ secrets.CYPRESS_ONEPWD_SERVICE_ACCOUNT_TOKEN }}
notify_RC:
runs-on: ubuntu-latest
needs:
- e2e-system-tests
- configuring-loading-secrets-running-tests
if: |
always()
steps:
- uses: technote-space/workflow-conclusion-action@v3
- name: Send Notification to Rocket Chat
uses: RocketChat/[email protected]
with:
type: ${{ env.WORKFLOW_CONCLUSION }}
job_name: "Cypress Tests"
url: ${{ secrets.RC_WEBHOOK_URL }}
username: Manual Trigger Test Run