You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roman Donchenko 14bb0b74af
Fix a CI issue that causes unit tests to run against the wrong version of CVAT (#5612)
There seems to be a bug somewhere in the Docker ecosystem (it's probably
either Docker Compose, Docker Buildx or BuildKit) that causes `docker
compose build` to ignore base images that are already present in the
system, and instead fetch them from Docker Hub, if there's a custom
Buildx builder configured. There's a bug report here:
<https://github.com/docker/compose/issues/9939>.

This bug means that when the build pipeline builds the `cvat_ci` image,
it's based on the latest release of `cvat/server` from Docker Hub
instead of the version that we just built. Consequently, we run the unit
tests against that release instead of the development version.

Fortunately, we don't actually need to set up a Buildx builder in most
jobs (including the `unit_testing` job), so just don't do that.

Also, use `cvat/server:local` as the base image in `Dockerfile.ci`. This
will prevent a similar bug from reoccurring in the future, since the
`local` tag should never be uploaded to Docker Hub.
3 years ago
..
bandit.yml Refactor CI (#5060) 3 years ago
black.yml Refactor CI (#5060) 3 years ago
cache.yml Refactor CI (#5060) 3 years ago
cancel.yml CI: canceling previous workflow runs (#3078) 5 years ago
cleanup.yml Extend logs for CI workflows (#5179) 3 years ago
codeql-analysis.yml Add CodeQL scan (#11) 4 years ago
comment.yml Refactor CI (#5060) 3 years ago
eslint.yml Refactor CI (#5060) 3 years ago
full.yml Django social account sso (#5059) 3 years ago
hadolint.yml Refactor CI (#5060) 3 years ago
helm.yml Fix some typos (#5601) 3 years ago
isort.yml Fix isort version output in the workflow (#5436) 3 years ago
main.yml Fix a CI issue that causes unit tests to run against the wrong version of CVAT (#5612) 3 years ago
publish_docker_images.yml Migrate to Docker Compose V2 (#5524) 3 years ago
pylint.yml Refactor CI (#5060) 3 years ago
remark.yml Refactor CI (#5060) 3 years ago
schedule.yml Social account authentication tests (#5444) 3 years ago
search-cache.yml Add search cache workflow (#5560) 3 years ago
stylelint.yml Refactor CI (#5060) 3 years ago
update-yarn-lock.yml Refactor CI (#5060) 3 years ago