Skip to content

All user facing components are renamed to Develocity #673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/gradle/download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ runs:
fi

# Get the download url of the latest release
downloadUrl=$(curl "${curlOpts[@]}" https://api.github.com/repos/gradle/gradle-enterprise-build-validation-scripts/releases/latest | jq -c '.assets[] | select(.content_type == "application/zip")' | jq -r .browser_download_url | grep -v maven)
downloadUrl=$(curl "${curlOpts[@]}" https://api.github.com/repos/gradle/gradle-enterprise-build-validation-scripts/releases/latest | jq -c '.assets[] | select(.content_type == "application/zip")' | jq -r .browser_download_url | grep develocity-gradle)

# Download the latest version of the build validation scripts
curl "${curlOpts[@]}" --output gradle-enterprise-gradle-build-validation.zip $downloadUrl
curl "${curlOpts[@]}" --output develocity-gradle-build-validation.zip $downloadUrl

# Unzip the downloaded build validation scripts
unzip -q -o gradle-enterprise-gradle-build-validation.zip
unzip -q -o develocity-gradle-build-validation.zip
shell: bash
18 changes: 16 additions & 2 deletions .github/actions/gradle/experiment-1/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ inputs:
args:
description: "Additional arguments to pass to Gradle"
required: false
develocityUrl:
description: "The URL for the Develocity server to connect to"
required: false
gradleEnterpriseUrl:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
description: "The URL for the Gradle Enterprise server to connect to"
required: false
enableDevelocity:
description: "Enables Develocity on a project not already connected"
required: false
enableGradleEnterprise:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
description: "Enables Gradle Enterprise on a project not already connected"
required: false
outputs:
Expand Down Expand Up @@ -76,13 +84,19 @@ runs:
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
fi
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
ARG_GE_URL="${{ inputs.develocityUrl }}"
fi
ARG_GE_ENABLE=""
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
fi
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
fi

# Navigate into the folder containing the validation scripts
cd gradle-enterprise-gradle-build-validation
cd develocity-gradle-build-validation

# Run the experiment
./01-validate-incremental-building.sh \
Expand Down Expand Up @@ -112,7 +126,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: experiment-1-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
path: gradle-enterprise-gradle-build-validation/.data/01-validate-incremental-building/latest*/exp1-*.receipt
path: develocity-gradle-build-validation/.data/01-validate-incremental-building/latest*/exp1-*.receipt
- name: Add artifact link to summary
run: |
echo "-------------" >> $GITHUB_STEP_SUMMARY
Expand Down
18 changes: 16 additions & 2 deletions .github/actions/gradle/experiment-2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ inputs:
args:
description: "Additional arguments to pass to Gradle"
required: false
develocityUrl:
description: "The URL for the Develocity server to connect to"
required: false
gradleEnterpriseUrl:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
description: "The URL for the Gradle Enterprise server to connect to"
required: false
enableDevelocity:
description: "Enables Develocity on a project not already connected"
required: false
enableGradleEnterprise:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
description: "Enables Gradle Enterprise on a project not already connected"
required: false
failIfNotFullyCacheable:
Expand Down Expand Up @@ -79,17 +87,23 @@ runs:
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
fi
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
ARG_GE_URL="${{ inputs.develocityUrl }}"
fi
ARG_GE_ENABLE=""
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
fi
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
fi
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
fi

# Navigate into the folder containing the validation scripts
cd gradle-enterprise-gradle-build-validation
cd develocity-gradle-build-validation

# Run the experiment
./02-validate-local-build-caching-same-location.sh \
Expand Down Expand Up @@ -120,7 +134,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: experiment-2-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
path: gradle-enterprise-gradle-build-validation/.data/02-validate-local-build-caching-same-location/latest*/exp2-*.receipt
path: develocity-gradle-build-validation/.data/02-validate-local-build-caching-same-location/latest*/exp2-*.receipt
- name: Add artifact link to summary
run: |
echo "-------------" >> $GITHUB_STEP_SUMMARY
Expand Down
18 changes: 16 additions & 2 deletions .github/actions/gradle/experiment-3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ inputs:
args:
description: "Additional arguments to pass to Gradle"
required: false
develocityUrl:
description: "The URL for the Develocity server to connect to"
required: false
gradleEnterpriseUrl:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
description: "The URL for the Gradle Enterprise server to connect to"
required: false
enableDevelocity:
description: "Enables Develocity on a project not already connected"
required: false
enableGradleEnterprise:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
description: "Enables Gradle Enterprise on a project not already connected"
required: false
failIfNotFullyCacheable:
Expand Down Expand Up @@ -79,17 +87,23 @@ runs:
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
fi
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
ARG_GE_URL="${{ inputs.develocityUrl }}"
fi
ARG_GE_ENABLE=""
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
fi
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
fi
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
fi

# Navigate into the folder containing the validation scripts
cd gradle-enterprise-gradle-build-validation
cd develocity-gradle-build-validation

# Run the experiment
./03-validate-local-build-caching-different-locations.sh \
Expand Down Expand Up @@ -120,7 +134,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: experiment-3-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
path: gradle-enterprise-gradle-build-validation/.data/03-validate-local-build-caching-different-locations/latest*/exp3-*.receipt
path: develocity-gradle-build-validation/.data/03-validate-local-build-caching-different-locations/latest*/exp3-*.receipt
- name: Add artifact link to summary
run: |
echo "-------------" >> $GITHUB_STEP_SUMMARY
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/maven/download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ runs:
fi

# Get the download url of the latest release
downloadUrl=$(curl "${curlOpts[@]}" https://api.github.com/repos/gradle/gradle-enterprise-build-validation-scripts/releases/latest | jq -c '.assets[] | select(.content_type == "application/zip")' | jq -r .browser_download_url | grep maven)

downloadUrl=$(curl "${curlOpts[@]}" https://api.github.com/repos/gradle/gradle-enterprise-build-validation-scripts/releases/latest | jq -c '.assets[] | select(.content_type == "application/zip")' | jq -r .browser_download_url | grep develocity-maven)
# Download the latest version of the build validation scripts
curl "${curlOpts[@]}" --output gradle-enterprise-maven-build-validation.zip $downloadUrl
curl "${curlOpts[@]}" --output develocity-maven-build-validation.zip $downloadUrl

# Unzip the downloaded build validation scripts
unzip -q -o gradle-enterprise-maven-build-validation.zip
unzip -q -o develocity-maven-build-validation.zip
shell: bash
18 changes: 16 additions & 2 deletions .github/actions/maven/experiment-1/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ inputs:
args:
description: "Additional arguments to pass to Maven"
required: false
develocityUrl:
description: "The URL for the Develocity server to connect to"
required: false
gradleEnterpriseUrl:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
description: "The URL for the Gradle Enterprise server to connect to"
required: false
enableDevelocity:
description: "Enables Develocity on a project not already connected"
required: false
enableGradleEnterprise:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
description: "Enables Gradle Enterprise on a project not already connected"
required: false
failIfNotFullyCacheable:
Expand Down Expand Up @@ -79,17 +87,23 @@ runs:
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
fi
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
ARG_GE_URL="${{ inputs.develocityUrl }}"
fi
ARG_GE_ENABLE=""
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
fi
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
fi
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
fi

# Navigate into the folder containing the validation scripts
cd gradle-enterprise-maven-build-validation
cd develocity-maven-build-validation

# Run the experiment
./01-validate-local-build-caching-same-location.sh \
Expand Down Expand Up @@ -120,7 +134,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: experiment-1-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
path: gradle-enterprise-maven-build-validation/.data/01-validate-local-build-caching-same-location/latest*/exp1-*.receipt
path: develocity-maven-build-validation/.data/01-validate-local-build-caching-same-location/latest*/exp1-*.receipt
- name: Add artifact link to summary
run: |
echo "-------------" >> $GITHUB_STEP_SUMMARY
Expand Down
18 changes: 16 additions & 2 deletions .github/actions/maven/experiment-2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ inputs:
args:
description: "Additional arguments to pass to Maven"
required: false
develocityUrl:
description: "The URL for the Develocity server to connect to"
required: false
gradleEnterpriseUrl:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
description: "The URL for the Gradle Enterprise server to connect to"
required: false
enableDevelocity:
description: "Enables Develocity on a project not already connected"
required: false
enableGradleEnterprise:
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
description: "Enables Gradle Enterprise on a project not already connected"
required: false
failIfNotFullyCacheable:
Expand Down Expand Up @@ -79,17 +87,23 @@ runs:
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
fi
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
ARG_GE_URL="${{ inputs.develocityUrl }}"
fi
ARG_GE_ENABLE=""
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
fi
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
fi
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
fi

# Navigate into the folder containing the validation scripts
cd gradle-enterprise-maven-build-validation
cd develocity-maven-build-validation

# Run the experiment
./02-validate-local-build-caching-different-locations.sh \
Expand Down Expand Up @@ -120,7 +134,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: experiment-2-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
path: gradle-enterprise-maven-build-validation/.data/02-validate-local-build-caching-different-locations/latest*/exp2-*.receipt
path: develocity-maven-build-validation/.data/02-validate-local-build-caching-different-locations/latest*/exp2-*.receipt
- name: Add artifact link to summary
run: |
echo "-------------" >> $GITHUB_STEP_SUMMARY
Expand Down
53 changes: 22 additions & 31 deletions .github/workflows/cross-platform-testing-build-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
with:
name: artifacts
path: |
build/distributions/gradle-enterprise-gradle-build-validation-*.zip
build/distributions/gradle-enterprise-maven-build-validation-*.zip
build/distributions/develocity-gradle-build-validation-*.zip
build/distributions/develocity-maven-build-validation-*.zip

cross_platform_tests:
name: Test
Expand Down Expand Up @@ -85,41 +85,32 @@ jobs:
name: artifacts
- name: Extract build validation scripts
run: |
unzip -o gradle-enterprise-gradle-build-validation-*.zip
unzip -o gradle-enterprise-maven-build-validation-*.zip
unzip -o develocity-gradle-build-validation-*.zip
unzip -o develocity-maven-build-validation-*.zip
- name: Run Gradle Experiment 01
run: |
cd gradle-enterprise-gradle-build-validation
./01-validate-incremental-building.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
working-directory: develocity-gradle-build-validation
run: ./01-validate-incremental-building.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
- name: Run Gradle Experiment 02
run: |
cd gradle-enterprise-gradle-build-validation
./02-validate-local-build-caching-same-location.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
working-directory: develocity-gradle-build-validation
run: ./02-validate-local-build-caching-same-location.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
- name: Run Gradle Experiment 03
run: |
cd gradle-enterprise-gradle-build-validation
./03-validate-local-build-caching-different-locations.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
working-directory: develocity-gradle-build-validation
run: ./03-validate-local-build-caching-different-locations.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
- name: Run Gradle Experiment 04
run: |
cd gradle-enterprise-gradle-build-validation
./04-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/p4ghldkcscfwi -2 https://ge.solutions-team.gradle.com/s/jhzljnet32x5m
working-directory: develocity-gradle-build-validation
run: ./04-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/p4ghldkcscfwi -2 https://ge.solutions-team.gradle.com/s/jhzljnet32x5m
- name: Run Gradle Experiment 05
run: |
cd gradle-enterprise-gradle-build-validation
./05-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/cemwsttqjhzhq -s https://ge.solutions-team.gradle.com -u https://ge.solutions-team.gradle.com/cache/
working-directory: develocity-gradle-build-validation
run: ./05-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/cemwsttqjhzhq -s https://ge.solutions-team.gradle.com -u https://ge.solutions-team.gradle.com/cache/
- name: Run Maven Experiment 01
run: |
cd gradle-enterprise-maven-build-validation
./01-validate-local-build-caching-same-location.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com
working-directory: develocity-maven-build-validation
run: ./01-validate-local-build-caching-same-location.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com
- name: Run Maven Experiment 02
run: |
cd gradle-enterprise-maven-build-validation
./02-validate-local-build-caching-different-locations.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com
working-directory: develocity-maven-build-validation
run: ./02-validate-local-build-caching-different-locations.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com
- name: Run Maven Experiment 03
run: |
cd gradle-enterprise-maven-build-validation
./03-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/sysk4hrdbkja6 -2 https://ge.solutions-team.gradle.com/s/f7yfwfxqzg5us
working-directory: develocity-maven-build-validation
run: ./03-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/sysk4hrdbkja6 -2 https://ge.solutions-team.gradle.com/s/f7yfwfxqzg5us
- name: Run Maven Experiment 04
run: |
cd gradle-enterprise-maven-build-validation
./04-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/6jgkaknikci2c -e -s https://ge.solutions-team.gradle.com
working-directory: develocity-maven-build-validation
run: ./04-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/6jgkaknikci2c -e -s https://ge.solutions-team.gradle.com
Loading