kata-containers / kata-containers

Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/
Apache License 2.0
5.08k stars 1k forks source link

kata-deploy: always copy ci/install_yq.sh #9863

Closed wainersm closed 1 week ago

wainersm commented 1 week ago

To build the build-kata-deploy image, it should be copied ci/install_yq.sh to tools/packaging/kata-deploy/local-build/dockerbuild as this script will install yq within the image. Currently, if tools/packaging/kata-deploy/local-build/dockerbuild/install_yq.sh exists then make won't copy it again. This can raise problems as, for example, the current update of yq version (commit c99ba42d) in ci/install_yq.sh won't force the rebuild of the build-kata-deploy image.

Note: this isn't a problem on a fresh dev or CI environment.