Skip to content

Apache Samza

Apache Samza #63

name: Apache Samza
on:
# Scheduled execution disabled while build is broken - see https://github.com/apache/samza/pull/1703
workflow_dispatch:
env:
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
GIT_REPO: "https://github.com/apache/samza"
TASKS: "build"
jobs:
Experiment:
strategy:
fail-fast: false
matrix:
include:
- experimentId: 1
- experimentId: 2
- experimentId: 3
runs-on: ubuntu-latest
steps:
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
- name: Download latest version of the validation scripts
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/download@actions-stable
with:
downloadDevelopmentRelease: true
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run experiment 1
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/experiment-1@actions-stable
env:
DEVELOCITY_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
develocityUrl: ${{ env.DEVELOCITY_URL }}
if: matrix.experimentId == 1
- name: Run experiment 2
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/experiment-2@actions-stable
env:
DEVELOCITY_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
develocityUrl: ${{ env.DEVELOCITY_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 2
- name: Run experiment 3
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/experiment-3@actions-stable
env:
DEVELOCITY_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
develocityUrl: ${{ env.DEVELOCITY_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 3