ComparativeGenomicsToolkit / cactus

Official home of genome aligner based upon notion of Cactus graphs
Other
523 stars 111 forks source link

default to latest release in --binariesMode docker #1193

Closed glennhickey closed 1 year ago

glennhickey commented 1 year ago

When switching CI recently, I stopped it from spamming quay.io with a Cactus image for every single commit. This means that --binariesMode docker will no longer work by default, since it will look for a commit-tagged image that isn't there.

This PR switches --binariesMode to default to the current release (which has been manually tracked in common.py for some time). This is how prepare has worked on Terra.

It also fixes --binariesMode to automatically switch to the GPU release as needed.

The usual environment variables, CACTUS_DOCKER_ORG, CACTUS_DOCKER_TAG, can still be used to override the image. The --latest option will still work, only it will point to the latest release rather than the latest commit.

If someone really wants to test a non-released commit with docker binaries, they will need to tag it themselves and use the environment variables.