From: Fatih Degirmenci Date: Mon, 5 Oct 2020 09:36:12 +0000 (+0000) Subject: Distribute dependencies X-Git-Url: https://gerrit.nordix.org/gitweb?p=infra%2Fstack%2Fkubernetes.git;a=commitdiff_plain;h=663609bac440e568ae47e40fb3d295510c0c2c47;hp=663609bac440e568ae47e40fb3d295510c0c2c47 Distribute dependencies This change moves the dependencies required for Kubernetes stack to stack itself, making sure we deal with the dependencies required for it and no other stack. This is achieved by - moving operating system dependencies from engine core bindep.txt into stack bindep.txt - moving python dependencies from engine core requirements.txt into stack requirements.txt - taking setup-stack.sh script in use so engine core executes this script from the stack The benefits of this approach - ability to control dependencies directly within the stack without impacting other stacks and engine core - package dependencies required for the stack itself and not everything - allow identifying engine core dependencies so they can be made part of stack packaging, enabling stacks to stop using leftovers of an earlier deployment done for a different stack - pave the way for multi distro support since some stacks may support more than one distro and that support can be introduced and maintained within corresponding stack - deferred processing of dependencies allow to engine become functioning faster than how it is know. also, the overall deployment time will be shortened a bit with the help of this due to dealing with dependencies based on stack Depends-On: I713d0e333bc4a01c92e6aa6ae1a4e6f3d9efe2ad Change-Id: I9508275fe581cea15af3c9e7dfa0b3342370460b ---