Skip to content

Quarkus Ecosystem CI Trigger #1281

Quarkus Ecosystem CI Trigger

Quarkus Ecosystem CI Trigger #1281

name: "Quarkus Ecosystem CI Trigger"
# Adding the dispatch event to allow restarting the build on demand
on:
schedule:
- cron: '0 5 * * 1-5'
repository_dispatch:
jobs:
invoke-ci:
runs-on: ubuntu-latest
name: "Invoke CI"
steps:
- name: Install yq
uses: dcarbone/[email protected]
- name: Checkout Ecosystem
uses: actions/checkout@v3
with:
repository: ${{ env.GITHUB_REPOSITORY }}
path: ecosystem-ci
token: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
ref: main
- name: Launch CI for each member
working-directory: ecosystem-ci
run: |
#get the sha or the latest main
QUARKUS_SHA=$(git ls-remote https://github.com/quarkusio/quarkus main | awk '{print $1;}')
for member in */ ; do
./run-for-member "${member}" "${QUARKUS_SHA}" "${ECOSYSTEM_CI_TOKEN}"
done
env:
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}