Skip to content

Commit

Permalink
Remove maven-central-sync job (#2502)
Browse files Browse the repository at this point in the history
Removes the job for syncing from Bintray to Maven Central since we will no longer publish releases to Bintray (due to it being sunset). Also removes a script for the same purpose.

See #2455 

Co-authored-by: Tommy Ludwig <8924140+shakuzen@users.noreply.github.com>
  • Loading branch information
izeye and shakuzen committed Mar 15, 2021
1 parent e5c62e6 commit 3719f39
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 81 deletions.
28 changes: 0 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,6 @@ jobs:
name: Deployment
command: sh ./gradle/deploy.sh

maven-central-sync:
docker:
- image: circleci/openjdk:11-jdk
steps:
- checkout
- run:
name: Decrypt properties
command: openssl aes-256-cbc -d -in gradle.properties.enc -out gradle.properties -k "$KEY" -md sha256
- deploy:
name: Maven Central sync
# arbitrarily choose one project to run the `mavenCentralSync` task since all use the same Bintray package
command: ./gradlew :micrometer-core:mavenCentralSync -Prelease.useLastTag=true -x bintrayPublish -x bintrayUpload -x bintrayCreateVersion -x bintrayCreatePackage
# Maven Central Sync might take more than 10 minutes
no_output_timeout: 30m

workflows:
version: 2
build_prs_deploy_snapshots:
Expand Down Expand Up @@ -95,16 +80,3 @@ workflows:
filters:
tags:
only: /^v\d+\.\d+\.\d+(-rc\.\d+)?$/
- staging-approval:
type: approval
requires:
- deploy
filters:
tags:
only: /^v\d+\.\d+\.\d+(-rc\.\d+)?$/
- maven-central-sync:
requires:
- staging-approval
filters:
tags:
only: /^v\d+\.\d+\.\d+(-rc\.\d+)?$/
53 changes: 0 additions & 53 deletions scripts/sync-to-maven-central.sh

This file was deleted.

0 comments on commit 3719f39

Please sign in to comment.