exasol / integration-test-docker-environment

A docker-based environment for integration tests with the EXASOL DB.
https://exasol.github.io/integration-test-docker-environment/
MIT License
6 stars 2 forks source link

Add options to disable certain methods to gain the docker images #194

Open tkilias opened 2 years ago

tkilias commented 2 years ago

Background

Acceptance Criteria

tkilias commented 2 years ago

Hint: https://github.com/exasol/integration-test-docker-environment/blob/main/exasol_integration_test_docker_environment/lib/docker/images/create/docker_image_create_task.py

ckunki commented 1 year ago

Can this be fixed by a combination of

tkilias commented 1 year ago

Can this be fixed by a combination of

* pinning versions

* and avoiding that multiple variants with identical version are existing?

@tkilias This has nothing to do with versions. This is about the cache lookup for docker images of our docker image build system, which is used by the ITDE and the SLCT. For short explanation. The build system gets a definition of a graph of docker images. The docker images in this graph depend on each other. However, building all docker images may take hours, for that reason, we introduced a caching mechanism. The caching mechanism adds a hash to all docker images tag, depending on the Dockerfile definition and the hashes of the docker images it depends on. Before we build a docker image, we compute this hash and check on docker hub, the local docker image cache and specified directories, if the image is already cached somewhere. We only build a docker image, if we don't find it or the user request it. With this ticket, we want to deliberately disable some of these cache lookups or to also disable the build, if we only want to use cached images.