Closed abesto closed 6 years ago
Hmm. I may be messing something up in the script, the signature may actually be correct.
Bah. St00pid h00man. The .md5
file we use for checksum validation is not actually the same as the one signed by Bintray, need to switch up the logic. (The file from Bintray only contains the checksum, while the one passed to md5sum
must also contain the filename)
There, all good now.
Indeed! tested locally
so we update our quickstart to curl -sSL https://zipkin.io/quickstart.sh | bash -sx
?
Maybe even without the -x
, to get nice and friendly output (it's relative, there's gpg
in it, but methinks that's good to have there)
Oh, and: https ;)
in your copious freetime.. can you doctor up our module script? Note: these can come from different group ids..
$ wget -O zipkin-autoconfigure-collector-kafka10-module.jar 'https://search.maven.org/remote_content?g=io.zipkin.java&a=zipkin-autoconfigure-collector-kafka10&v=LATEST&c=module'
usually we short-name these to the last part of the artifact ex https://github.com/openzipkin/docker-zipkin-aws/blob/master/Dockerfile#L24
Hmm. Should be quite possible to pass in arguments to quickstart.sh
, so that a module download would be something like
curl -sSL https://zipkin.io/quickstart.sh | bash -s $ARTIFACTID $LOCALTARGET.jar
Alternative would be adding extra filename wrangling logic into quickstart.sh
so that we can omit the second argument, though methinks that's too much magic.
Thoughts?
(Best case for me implementing this is tonight, ~7 hours from now)
the crap part is that this includes a classifier change (notice it is module not exec). Maybe some delimiting similar to gradle could answer it?
Ah, thanks for pointing that out. Doing that right will surely require passing in the classifier. Using Gradle-like delimiting sounds like a good idea. I think it's gonna be fine, but will have to dive into implementation details to know for sure. Will shout if confused.
local
, to prevent functions from overwriting values of each otherzipkin.jar
nowcurl
to follow redirects (fixing downloads when BinTray redirects to a CDN).md5
,.asc
,.md5.asc
after successful runs (but not after failed ones)Dragons
.md5
file still seems to be invalid. Output of my run: