Skip to content

Commit

Permalink
Workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
kenariosz committed Nov 20, 2024
1 parent 1a1fdca commit 8cd2b40
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/oxid-esales/twig-component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ install:
"oxid-esales/twig-component": "dev-{{ .Data.global.git.safe_ref_name }}",
"oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}"
},
"require-dev": {
"oxid-esales/developer-tools": "{{ .Data.global.composer.dev_ref }}"
}
}
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
title: 'twig component 7.0.x-weekly'
finish:
slack_title: 'Weekly Twig Component 7.0.x on {{ .Github.Repository }}'
use_scheduled_slack_channel: true
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand All @@ -27,6 +28,7 @@ jobs:
enterprise_github_token: ${{ secrets.enterprise_github_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_SCHEDULED_WEBHOOK_URL: ${{ secrets.SLACK_SCHEDULED_WEBHOOK_URL }}

twig_component_71x_weekly:
if: always()
Expand All @@ -41,6 +43,7 @@ jobs:
title: 'twig component 7.1.x-weekly'
finish:
slack_title: 'Weekly Twig Component 7.1.x on {{ .Github.Repository }}'
use_scheduled_slack_channel: true
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand All @@ -50,6 +53,7 @@ jobs:
enterprise_github_token: ${{ secrets.enterprise_github_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_SCHEDULED_WEBHOOK_URL: ${{ secrets.SLACK_SCHEDULED_WEBHOOK_URL }}

twig_component_72x_weekly:
if: always()
Expand All @@ -64,6 +68,7 @@ jobs:
title: 'twig component 7.2.x-weekly'
finish:
slack_title: 'Weekly Twig Component 7.2.x on {{ .Github.Repository }}'
use_scheduled_slack_channel: true
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand All @@ -73,6 +78,32 @@ jobs:
enterprise_github_token: ${{ secrets.enterprise_github_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_SCHEDULED_WEBHOOK_URL: ${{ secrets.SLACK_SCHEDULED_WEBHOOK_URL }}

twig_component_73x_weekly:
if: always()
uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yaml@v4
with:
testplan: '~/defaults/7.3.x.yaml,~/defaults/scheduled.yaml,~/twig-component.yaml'
runs_on: '"ubuntu-latest"'
defaults: 'v4'
plan_folder: '.github/oxid-esales'
custom_testplan_yaml: |
global:
title: 'twig component 7.3.x-weekly'
finish:
slack_title: 'Weekly Twig Component 7.3.x on {{ .Github.Repository }}'
use_scheduled_slack_channel: true
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 }}
SLACK_SCHEDULED_WEBHOOK_URL: ${{ secrets.SLACK_SCHEDULED_WEBHOOK_URL }}

twig_component_80x_weekly:
if: always()
Expand All @@ -87,6 +118,7 @@ jobs:
title: 'twig component 8.0.x-weekly'
finish:
slack_title: 'Weekly Twig Component 8.0.x on {{ .Github.Repository }}'
use_scheduled_slack_channel: true
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand All @@ -96,3 +128,4 @@ jobs:
enterprise_github_token: ${{ secrets.enterprise_github_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_SCHEDULED_WEBHOOK_URL: ${{ secrets.SLACK_SCHEDULED_WEBHOOK_URL }}

0 comments on commit 8cd2b40

Please sign in to comment.