Skip to content

Commit b1a7abd

Browse files
committed
Revert "Disable ecosystem CI"
This reverts commit 5563760.
1 parent 79f181c commit b1a7abd

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: "Quarkus ecosystem CI"
2+
on:
3+
workflow_dispatch:
4+
watch:
5+
types: [started]
6+
7+
# For this CI to work, ECOSYSTEM_CI_TOKEN needs to contain a GitHub with rights to close the Quarkus issue that the user/bot has opened,
8+
# while 'ECOSYSTEM_CI_REPO_PATH' needs to be set to the corresponding path in the 'quarkusio/quarkus-ecosystem-ci' repository
9+
10+
env:
11+
ECOSYSTEM_CI_REPO: quarkusio/quarkus-ecosystem-ci
12+
ECOSYSTEM_CI_REPO_FILE: context.yaml
13+
JAVA_VERSION: 21
14+
15+
#########################
16+
# Repo specific setting #
17+
#########################
18+
19+
ECOSYSTEM_CI_REPO_PATH: quarkiverse-langchain4j
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
defaults:
26+
run:
27+
shell: bash
28+
29+
jobs:
30+
build:
31+
name: "Build against latest Quarkus snapshot"
32+
runs-on: ubuntu-latest
33+
# Allow <ADMIN> to manually launch the ecosystem CI in addition to the bots
34+
if: github.actor == 'quarkusbot' || github.actor == 'quarkiversebot' || github.actor == '<ADMIN>'
35+
36+
steps:
37+
- name: Install yq
38+
uses: dcarbone/[email protected]
39+
40+
- name: Set up Java
41+
uses: actions/setup-java@v3
42+
with:
43+
distribution: temurin
44+
java-version: ${{ env.JAVA_VERSION }}
45+
46+
- name: Checkout repo
47+
uses: actions/checkout@v3
48+
with:
49+
path: current-repo
50+
51+
- name: Checkout Ecosystem
52+
uses: actions/checkout@v3
53+
with:
54+
repository: ${{ env.ECOSYSTEM_CI_REPO }}
55+
path: ecosystem-ci
56+
57+
- name: Setup and Run Tests
58+
run: ./ecosystem-ci/setup-and-test
59+
env:
60+
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}

0 commit comments

Comments
 (0)