Skip to content

Commit

Permalink
Merge pull request #6 from OXID-eSales/Add-worflow-OXDEV-7760
Browse files Browse the repository at this point in the history
Add workflow
  • Loading branch information
snehasreeramini authored Feb 6, 2024
2 parents c5dc25e + bff6133 commit 5061006
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dispatch_dev_component.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 5061006

Please sign in to comment.