Skip to content

Commit c4ed8ab

Browse files
authored
Merge pull request #98 from gradle/gk/addApereoCas
Added Apereo CAS project to README and created a workflow
2 parents a9013b7 + 042540a commit c4ed8ab

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Apereo CAS
2+
3+
on:
4+
schedule:
5+
# Every Sunday at 9.00am
6+
- cron: "0 9 * * 0"
7+
8+
workflow_dispatch:
9+
10+
env:
11+
GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com"
12+
GIT_REPO: "https://github.com/apereo/cas"
13+
TASKS: "build testCAS testLogout testGroovy testTickets -x check"
14+
15+
jobs:
16+
Experiment:
17+
18+
strategy:
19+
matrix:
20+
include:
21+
- experimentId: 1
22+
- experimentId: 2
23+
- experimentId: 3
24+
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Set up JDK 21
28+
uses: actions/setup-java@v4
29+
with:
30+
java-version: 21
31+
distribution: "temurin"
32+
- name: Download latest version of the validation scripts
33+
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable
34+
with:
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
- name: Run experiment 1
37+
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-1@actions-stable
38+
env:
39+
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
40+
with:
41+
gitRepo: ${{ env.GIT_REPO }}
42+
tasks: ${{ env.TASKS }}
43+
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
44+
if: matrix.experimentId == 1
45+
- name: Run experiment 2
46+
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-2@actions-stable
47+
env:
48+
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
49+
with:
50+
gitRepo: ${{ env.GIT_REPO }}
51+
tasks: ${{ env.TASKS }}
52+
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
53+
failIfNotFullyCacheable: true
54+
if: matrix.experimentId == 2
55+
- name: Run experiment 3
56+
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-3@actions-stable
57+
env:
58+
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
59+
with:
60+
gitRepo: ${{ env.GIT_REPO }}
61+
tasks: ${{ env.TASKS }}
62+
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
63+
failIfNotFullyCacheable: true
64+
if: matrix.experimentId == 3

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Gradle is sponsoring free licenses and hosting of Develocity, build optimization
1515
The following OSS projects currently benefit from enhanced developer productivity by Develocity:
1616

1717
- [AndroidX](https://ge.androidx.dev)
18+
- [Apereo CAS](https://develocity.apereo.org)
1819
- [Apollo](https://ge.apollographql.com)
1920
- [Armeria](https://ge.armeria.dev)
2021
- [Caffeine](https://caffeine.gradle-enterprise.cloud)

0 commit comments

Comments
 (0)