Skip to content

Commit

Permalink
Merge pull request #98 from gradle/gk/addApereoCas
Browse files Browse the repository at this point in the history
Added Apereo CAS project to README and created a workflow
  • Loading branch information
ribafish authored Mar 4, 2024
2 parents a9013b7 + 042540a commit c4ed8ab
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/run-experiments-apereo-cas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Apereo CAS

on:
schedule:
# Every Sunday at 9.00am
- cron: "0 9 * * 0"

workflow_dispatch:

env:
GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com"
GIT_REPO: "https://github.com/apereo/cas"
TASKS: "build testCAS testLogout testGroovy testTickets -x check"

jobs:
Experiment:

strategy:
matrix:
include:
- experimentId: 1
- experimentId: 2
- experimentId: 3

runs-on: ubuntu-latest
steps:
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: "temurin"
- name: Download latest version of the validation scripts
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run experiment 1
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-1@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
if: matrix.experimentId == 1
- name: Run experiment 2
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-2@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 2
- name: Run experiment 3
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-3@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 3
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Gradle is sponsoring free licenses and hosting of Develocity, build optimization
The following OSS projects currently benefit from enhanced developer productivity by Develocity:

- [AndroidX](https://ge.androidx.dev)
- [Apereo CAS](https://develocity.apereo.org)
- [Apollo](https://ge.apollographql.com)
- [Armeria](https://ge.armeria.dev)
- [Caffeine](https://caffeine.gradle-enterprise.cloud)
Expand Down

0 comments on commit c4ed8ab

Please sign in to comment.