Skip to content

Commit

Permalink
Use new GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaIvanovski committed Feb 21, 2024
1 parent 444ff02 commit 75cdbdc
Show file tree
Hide file tree
Showing 8 changed files with 208 additions and 968 deletions.
623 changes: 0 additions & 623 deletions .github/workflows/development.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/dispatch_dev_module.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Manual trigger

on:
workflow_dispatch:
inputs:
testplan:
type: string
required: true
description: 'URL/PATH of the testplan to run'
default: 'tests/github_actions/defaults/7.1.x.yml,tests/github_actions/graphql-storefront.yml'
runs_on:
type: string
description: 'JSON string/array describing the runner'
required: true
default: '"ubuntu-latest"'

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: 'v0'
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 }}
23 changes: 23 additions & 0 deletions .github/workflows/push_module.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Automatically triggered on push

on:
push:
branches:
- 'b-7.1.x*'

jobs:
call_matrix:
uses: OXID-eSales/github-actions/.github/workflows/call-universal_test_workflow.yml@v3
with:
testplan: 'tests/github_actions/defaults/7.1.x.yml,tests/github_actions/graphql-base.yml'
runs_on: '"ubuntu-latest"'
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 }}
40 changes: 0 additions & 40 deletions .github/workflows/schedule.yml

This file was deleted.

273 changes: 0 additions & 273 deletions .github/workflows/sonar.yml

This file was deleted.

Loading

0 comments on commit 75cdbdc

Please sign in to comment.