Skip to content

Generate status page data #13505

Generate status page data

Generate status page data #13505

name: Generate status page data
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
jobs:
generate-status-page-data:
if: github.repository_owner == 'apache'
concurrency:
group: generate-status-page-data
cancel-in-progress: true
runs-on: ubuntu-latest
name: Generate status page data
steps:
- uses: actions/checkout@v3
with:
path: ./kogito-pipelines
- name: Retrieve active repositories
id: retrieve_active_repos
uses: mikefarah/yq@master
with:
cmd: yq '[.repositories[].name] | map("${{ github.repository_owner }}/" + .) | join(",")' ./kogito-pipelines/.ci/jenkins/config/branch.yaml
- name: Retrieve active branches
id: retrieve_active_branches
uses: mikefarah/yq@master
with:
cmd: yq '[.git.branches[].name] | join(",")' ./kogito-pipelines/.ci/jenkins/config/main.yaml
- name: Generate status page data
uses: kiegroup/chain-status/.ci/actions/generate-data@main
with:
projects: "${{ steps.retrieve_active_repos.outputs.result }}"
title: Kogito Status
subtitle: Apache Kogito organization repositories CI status
base-branch-filter: "${{ steps.retrieve_active_branches.outputs.result }}"
branches: 1.13.x,1.13.x-blue
created-by: GitHub Action
created-url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
logger-level: debug
github-token: "${{ secrets.GITHUB_TOKEN }}"