Browse Source

Upgrade to gradle-enterprise-conventions 0.0.17

Closes gh-32725
pull/32754/head
Brian Clozel 2 years ago
parent
commit
2e74a4d878
  1. 4
      .github/workflows/build-and-deploy-snapshot.yml
  2. 6
      .github/workflows/ci.yml
  3. 4
      ci/pipeline.yml
  4. 4
      settings.gradle

4
.github/workflows/build-and-deploy-snapshot.yml

@ -35,9 +35,7 @@ jobs:
env: env:
CI: 'true' CI: 'true'
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io' GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
run: ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository build publishAllPublicationsToDeploymentRepository run: ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository build publishAllPublicationsToDeploymentRepository
- name: Deploy - name: Deploy
uses: spring-io/artifactory-deploy-action@v0.0.1 uses: spring-io/artifactory-deploy-action@v0.0.1

6
.github/workflows/ci.yml

@ -68,9 +68,7 @@ jobs:
env: env:
CI: 'true' CI: 'true'
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io' GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
run: ./gradlew check run: ./gradlew check
- name: Send notification - name: Send notification
uses: ./.github/actions/send-notification uses: ./.github/actions/send-notification
@ -79,4 +77,4 @@ jobs:
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }} webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
status: ${{ job.status }} status: ${{ job.status }}
build-scan-url: ${{ steps.build.outputs.build-scan-url }} build-scan-url: ${{ steps.build.outputs.build-scan-url }}
run-name: ${{ format('{0} | {1} | Java {2}', github.ref_name, matrix.os.name, matrix.java.version) }} run-name: ${{ format('{0} | {1} | Java {2}', github.ref_name, matrix.os.name, matrix.java.version) }}

4
ci/pipeline.yml

@ -5,9 +5,7 @@ anchors:
password: ((github-ci-release-token)) password: ((github-ci-release-token))
branch: ((branch)) branch: ((branch))
gradle-enterprise-task-params: &gradle-enterprise-task-params gradle-enterprise-task-params: &gradle-enterprise-task-params
GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key)) DEVELOCITY_ACCESS_KEY: ((gradle_enterprise_secret_access_key))
GRADLE_ENTERPRISE_CACHE_USERNAME: ((gradle_enterprise_cache_user.username))
GRADLE_ENTERPRISE_CACHE_PASSWORD: ((gradle_enterprise_cache_user.password))
sonatype-task-params: &sonatype-task-params sonatype-task-params: &sonatype-task-params
SONATYPE_USERNAME: ((sonatype-username)) SONATYPE_USERNAME: ((sonatype-username))
SONATYPE_PASSWORD: ((sonatype-password)) SONATYPE_PASSWORD: ((sonatype-password))

4
settings.gradle

@ -7,8 +7,8 @@ pluginManagement {
} }
plugins { plugins {
id "com.gradle.enterprise" version "3.12.1" id "com.gradle.develocity" version "3.17.2"
id "io.spring.ge.conventions" version "0.0.13" id "io.spring.ge.conventions" version "0.0.17"
} }
include "spring-aop" include "spring-aop"

Loading…
Cancel
Save