mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-26 00:58:54 -06:00
Testing Keycloak with nightly Quarkus releases (#23407)
Closes #23322 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
This commit is contained in:
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
branches-ignore:
|
||||
- main
|
||||
- dependabot/**
|
||||
- quarkus-next
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
1
.github/workflows/documentation.yml
vendored
1
.github/workflows/documentation.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
branches-ignore:
|
||||
- main
|
||||
- dependabot/**
|
||||
- quarkus-next
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
1
.github/workflows/guides.yml
vendored
1
.github/workflows/guides.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
branches-ignore:
|
||||
- main
|
||||
- dependabot/**
|
||||
- quarkus-next
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
1
.github/workflows/js-ci.yml
vendored
1
.github/workflows/js-ci.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
branches-ignore:
|
||||
- main
|
||||
- dependabot/**
|
||||
- quarkus-next
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
58
.github/workflows/quarkus-next.yml
vendored
Normal file
58
.github/workflows/quarkus-next.yml
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
name: Quarkus Next
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: quarkus-next-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update-quarkus-next-branch:
|
||||
name: Update quarkus-next branch
|
||||
if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
|
||||
- name: Cherry-pick additional commits in quarkus-next
|
||||
run: |
|
||||
${GITHUB_WORKSPACE}/.github/scripts/prepare-quarkus-next.sh
|
||||
|
||||
- name: Push changes
|
||||
run: |
|
||||
git push -f origin HEAD:quarkus-next
|
||||
|
||||
run-matrix-with-quarkus-next:
|
||||
name: Run workflow matrix with the quarkus-next branch
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- update-quarkus-next-branch
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
workflow:
|
||||
- ci.yml
|
||||
- operator-ci.yml
|
||||
|
||||
steps:
|
||||
- name: Run workflow with the nightly Quarkus release
|
||||
run: gh workflow run -R ${{ github.repository }} ${{ matrix.workflow }} -r quarkus-next
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user