mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-07-29 19:04:48 +00:00
AMW-594 Upstream release is failing due to recent rules change
This commit is contained in:
31
.github/workflows/publish.yml
vendored
Normal file
31
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
name: Publish collection
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
uses: ansible-middleware/github-actions/.github/workflows/publish.yml@main
|
||||||
|
with:
|
||||||
|
collection_fqcn: 'middleware_automation.keycloak'
|
||||||
|
downstream_name: 'rhbk'
|
||||||
|
secrets:
|
||||||
|
galaxy_token: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
|
||||||
|
jira_webhook: ${{ secrets.JIRA_WEBHOOK_CREATE_VERSION }}
|
||||||
|
push_token: ${{ secrets.TRIGGERING_PAT }}
|
||||||
|
|
||||||
|
dispatch:
|
||||||
|
needs: publish
|
||||||
|
if: needs.publish.result == 'success'
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
repo: ['ansible-middleware/ansible-middleware-ee']
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Repository Dispatch
|
||||||
|
uses: peter-evans/repository-dispatch@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.TRIGGERING_PAT }}
|
||||||
|
repository: ${{ matrix.repo }}
|
||||||
|
event-type: "Dependency released - Keycloak v${{ needs.publish.outputs.tag_version }}"
|
||||||
|
client-payload: '{ "github": ${{toJson(github)}} }'
|
||||||
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -17,18 +17,4 @@ jobs:
|
|||||||
secrets:
|
secrets:
|
||||||
galaxy_token: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
|
galaxy_token: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
|
||||||
jira_webhook: ${{ secrets.JIRA_WEBHOOK_CREATE_VERSION }}
|
jira_webhook: ${{ secrets.JIRA_WEBHOOK_CREATE_VERSION }}
|
||||||
|
push_token: ${{ secrets.TRIGGERING_PAT }}
|
||||||
dispatch:
|
|
||||||
needs: release
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
repo: ['ansible-middleware/ansible-middleware-ee']
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Repository Dispatch
|
|
||||||
uses: peter-evans/repository-dispatch@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.TRIGGERING_PAT }}
|
|
||||||
repository: ${{ matrix.repo }}
|
|
||||||
event-type: "Dependency released - Keycloak v${{ needs.release.outputs.tag_version }}"
|
|
||||||
client-payload: '{ "github": ${{toJson(github)}} }'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user