agola/internal/services/executor/driver
Simone Gotti ecf355721f docker: create a toolbox volume for every pod
Instead of doing the current hack of copying the agola toolbox inside the host
tmp dir (always done but only needed when running the executor inside a docker
container) that has different issues (like tmp file removal done by
tmpwatch/systemd-tmpfiles), use a solution similar to the k8s driver: for every
pod create a volume containing the agola-toolbox and remove it at pod removal.

We could also use a single "global" volume but we should handle cases like
volume removal (i.e. a docker volume prune command). So for now just create a
dedicated per pod volume.
2020-01-10 12:25:12 +01:00
..
docker_test.go docker: create a toolbox volume for every pod 2020-01-10 12:25:12 +01:00
docker.go docker: create a toolbox volume for every pod 2020-01-10 12:25:12 +01:00
driver.go *: implement ability to add tmpfs volumes to containers 2019-10-08 16:36:23 +02:00
k8s_test.go docker: create a toolbox volume for every pod 2020-01-10 12:25:12 +01:00
k8s.go *: implement ability to add tmpfs volumes to containers 2019-10-08 16:36:23 +02:00
k8slease.go executor: fix linter errors 2019-07-02 15:18:52 +02:00