From f4e88059a197d1b061790828c33dae16935d2d97 Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 17 Aug 2022 10:33:42 +0300 Subject: [PATCH] gitlab --- .deploy/deploy-dev.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index 5e15208..773bb3e 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -65,7 +65,7 @@ services: image: mathwave/sprint-repo:gitlab-runner volumes: - /var/run/docker.sock:/var/run/docker.sock - - /home:/home + - gitlab-runner-volume:/home/gitlab-runner/builds deploy: mode: replicated placement: @@ -74,4 +74,12 @@ services: condition: any update_config: parallelism: 1 - order: start-first \ No newline at end of file + order: start-first + +volumes: + gitlab-runner-volume: + driver: local + driver_opts: + o: volume + device: /home/gitlab-runner/builds + type: none \ No newline at end of file