diff --git a/.github/workflows/dispatch_dev_component.yml b/.github/workflows/dispatch_dev_component.yml new file mode 100644 index 0000000..aa52695 --- /dev/null +++ b/.github/workflows/dispatch_dev_component.yml @@ -0,0 +1,32 @@ +name: Manual trigger for testing github actions development +# Matrix workflow using re-usable github actions + +on: + workflow_dispatch: + inputs: + testplan: + type: string + required: true + description: 'URL/PATH of the testplan to run' + default: 'tests/github_actions/defaults/defaults.yml,tests/github_actions/twig-component.yml' + runs_on: + description: 'JSON string/array describing the runner' + required: true + default: '["self-hosted", "x64"]' + +jobs: + call_matrix: + uses: oxid-eSales/github-actions/.github/workflows/call-universal_test_workflow.yml@v0 + with: + testplan: ${{ inputs.testplan }} + runs_on: ${{ inputs.runs_on }} + defaults: 'v3' + secrets: + DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }} + DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }} + CACHE_ENDPOINT: ${{ secrets.CACHE_ENDPOINT }} + CACHE_ACCESS_KEY: ${{ secrets.CACHE_ACCESS_KEY }} + CACHE_SECRET_KEY: ${{ secrets.CACHE_SECRET_KEY }} + enterprise_github_token: ${{ secrets.enterprise_github_token }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}