src-d / engine-deprecated

[DISCONTINUED] Go to https://github.com/src-d/sourced-ce/
https://docs.sourced.tech/engine
Apache License 2.0
217 stars 26 forks source link

Fix integration tests failing for release tags #395

Closed carlosms closed 5 years ago

carlosms commented 5 years ago

Fix #392.

When a build was done with version dev-xxxx the code did no go to dockerhub to look for newer releases. But when the release tag was created, the tests on travis use a real semver tag before the image is uploaded to dockerhub. Some tests failed because in this case there is a warning message:

WARN[0009] unable to list the available daemon versions on Docker Hub: can't find compatible image in docker registry for srcd/cli-daemon 

In this PR I have removed the special case for dev-xxxx versions, and I have updated tests to not rely on the exact output logs.