Publish gt-contrib artifacts automatically to SonaType via CircleCI #236
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Switch from manual Bintray publishing to automated CI-driven publishing to SonaType, using the same general workflow currently in use on https://github.com/geotrellis/geotrellis-server and https://github.com/geotrellis/maml
TODO:
benchmark
subproject in order to cleanup running benchmarksBump to Scala 2.12.10?Demo
Notes
See discussion on original issue regarding the choice of the
machine
executor that just runs the new local docker-compose setup: #222 (comment)As part of this effort, I updated this repo to default to
develop
and protected both thedevelop
andmaster
branch.I removed the TravisCI webhooks for this repo from the repo settings in GitHub. I also turned off all toggles that I could get to from the TravisCI dashboard. I believe TravisCI is purged from this repo, but it would be worth double-checking.
Kudos to @rbreslow for constructing a straightforward, reusable workflow to follow for this effort.
The first publish task I attempted ran into a 503 Service Temporarily Unavailable error for sonatype. Not sure how transient those are... https://circleci.com/gh/geotrellis/geotrellis-contrib/17
Testing Instructions
./scripts/test
should complete, running vlm, gdal and slick tests inside Docker via docker-compose../scripts/benchmark
should build and begin running. Once its running, feel free to kill, as on a typical laptop processor it will take a very long time (> 1hr) to complete.The build for this branch should be green: https://circleci.com/gh/geotrellis/geotrellis-contrib/tree/feature%2Fawf%2Fci
Closes #222, Closes #122