Fix release pipeline for Maven Central publication

This commit fixes the missing pieces in our Maven Central publication
pipeline. Our first attempt at releasing with it showed a few problems:

* The promote task did not have the artifacts downloaded with the
  artifactory repository.
* We applied the wrong Sonatype credentials to the task.
* The github changelog task would fail because of docker rate limiting
  since we were not using the right type of resource, which is
  configured with the proper caching mechanism.

See gh-1199
This commit is contained in:
Brian Clozel
2021-03-16 14:49:58 +01:00
committed by Stephane Nicoll
parent da5932b19b
commit ef5b587f90
4 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
---
platform: linux
image_resource:
type: registry-image
type: docker-image
source:
repository: springio/github-changelog-generator
tag: '0.0.6'

View File

@@ -9,8 +9,8 @@ params:
ARTIFACTORY_SERVER:
ARTIFACTORY_USERNAME:
ARTIFACTORY_PASSWORD:
SONATYPE_USER_TOKEN:
SONATYPE_PASSWORD_TOKEN:
SONATYPE_USER:
SONATYPE_PASSWORD:
SONATYPE_URL:
SONATYPE_STAGING_PROFILE_ID:
run: