Skip to content

Commit 7604767

Browse files
committed
Update GitHub Actions workflows with Develocity branded parameters
1 parent 1cc79b2 commit 7604767

File tree

5 files changed

+70
-0
lines changed

5 files changed

+70
-0
lines changed

Diff for: .github/actions/gradle/experiment-1/action.yml

+14
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ inputs:
2323
args:
2424
description: "Additional arguments to pass to Gradle"
2525
required: false
26+
develocityUrl:
27+
description: "The URL for the Develocity server to connect to"
28+
required: false
2629
gradleEnterpriseUrl:
30+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
2731
description: "The URL for the Gradle Enterprise server to connect to"
2832
required: false
33+
enableDevelocity:
34+
description: "Enables Develocity on a project not already connected"
35+
required: false
2936
enableGradleEnterprise:
37+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
3038
description: "Enables Gradle Enterprise on a project not already connected"
3139
required: false
3240
outputs:
@@ -76,10 +84,16 @@ runs:
7684
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
7785
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
7886
fi
87+
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
88+
ARG_GE_URL="${{ inputs.develocityUrl }}"
89+
fi
7990
ARG_GE_ENABLE=""
8091
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
8192
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
8293
fi
94+
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
95+
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
96+
fi
8397
8498
# Navigate into the folder containing the validation scripts
8599
cd gradle-enterprise-gradle-build-validation

Diff for: .github/actions/gradle/experiment-2/action.yml

+14
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ inputs:
2323
args:
2424
description: "Additional arguments to pass to Gradle"
2525
required: false
26+
develocityUrl:
27+
description: "The URL for the Develocity server to connect to"
28+
required: false
2629
gradleEnterpriseUrl:
30+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
2731
description: "The URL for the Gradle Enterprise server to connect to"
2832
required: false
33+
enableDevelocity:
34+
description: "Enables Develocity on a project not already connected"
35+
required: false
2936
enableGradleEnterprise:
37+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
3038
description: "Enables Gradle Enterprise on a project not already connected"
3139
required: false
3240
failIfNotFullyCacheable:
@@ -79,10 +87,16 @@ runs:
7987
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
8088
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
8189
fi
90+
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
91+
ARG_GE_URL="${{ inputs.develocityUrl }}"
92+
fi
8293
ARG_GE_ENABLE=""
8394
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
8495
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
8596
fi
97+
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
98+
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
99+
fi
86100
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
87101
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88102
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"

Diff for: .github/actions/gradle/experiment-3/action.yml

+14
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ inputs:
2323
args:
2424
description: "Additional arguments to pass to Gradle"
2525
required: false
26+
develocityUrl:
27+
description: "The URL for the Develocity server to connect to"
28+
required: false
2629
gradleEnterpriseUrl:
30+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
2731
description: "The URL for the Gradle Enterprise server to connect to"
2832
required: false
33+
enableDevelocity:
34+
description: "Enables Develocity on a project not already connected"
35+
required: false
2936
enableGradleEnterprise:
37+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
3038
description: "Enables Gradle Enterprise on a project not already connected"
3139
required: false
3240
failIfNotFullyCacheable:
@@ -79,10 +87,16 @@ runs:
7987
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
8088
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
8189
fi
90+
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
91+
ARG_GE_URL="${{ inputs.develocityUrl }}"
92+
fi
8293
ARG_GE_ENABLE=""
8394
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
8495
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
8596
fi
97+
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
98+
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
99+
fi
86100
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
87101
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88102
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"

Diff for: .github/actions/maven/experiment-1/action.yml

+14
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ inputs:
2323
args:
2424
description: "Additional arguments to pass to Maven"
2525
required: false
26+
develocityUrl:
27+
description: "The URL for the Develocity server to connect to"
28+
required: false
2629
gradleEnterpriseUrl:
30+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
2731
description: "The URL for the Gradle Enterprise server to connect to"
2832
required: false
33+
enableDevelocity:
34+
description: "Enables Develocity on a project not already connected"
35+
required: false
2936
enableGradleEnterprise:
37+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
3038
description: "Enables Gradle Enterprise on a project not already connected"
3139
required: false
3240
failIfNotFullyCacheable:
@@ -79,10 +87,16 @@ runs:
7987
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
8088
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
8189
fi
90+
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
91+
ARG_GE_URL="${{ inputs.develocityUrl }}"
92+
fi
8293
ARG_GE_ENABLE=""
8394
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
8495
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
8596
fi
97+
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
98+
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
99+
fi
86100
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
87101
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88102
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"

Diff for: .github/actions/maven/experiment-2/action.yml

+14
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ inputs:
2323
args:
2424
description: "Additional arguments to pass to Maven"
2525
required: false
26+
develocityUrl:
27+
description: "The URL for the Develocity server to connect to"
28+
required: false
2629
gradleEnterpriseUrl:
30+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'develocityUrl' instead."
2731
description: "The URL for the Gradle Enterprise server to connect to"
2832
required: false
33+
enableDevelocity:
34+
description: "Enables Develocity on a project not already connected"
35+
required: false
2936
enableGradleEnterprise:
37+
deprecationMessage: "This parameter is deprecated and will be removed in a future release. Use 'enableDevelocity' instead."
3038
description: "Enables Gradle Enterprise on a project not already connected"
3139
required: false
3240
failIfNotFullyCacheable:
@@ -79,10 +87,16 @@ runs:
7987
if [ ! -z "${{ inputs.gradleEnterpriseUrl }}" ]; then
8088
ARG_GE_URL="${{ inputs.gradleEnterpriseUrl }}"
8189
fi
90+
if [ ! -z "${{ inputs.develocityUrl }}" ]; then
91+
ARG_GE_URL="${{ inputs.develocityUrl }}"
92+
fi
8293
ARG_GE_ENABLE=""
8394
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
8495
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
8596
fi
97+
if [ "${{ inputs.enableDeveocity }}" == "true" ]; then
98+
ARG_GE_ENABLE="${{ inputs.enableDeveocity }}"
99+
fi
86100
ARG_FAIL_IF_NOT_FULLY_CACHEABLE=""
87101
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88102
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"

0 commit comments

Comments
 (0)