From 98e11fad40447730ea4b220e680943eeb138e854 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 22 Aug 2021 19:27:58 +0200 Subject: [PATCH] CI: Clone ::guru in extra step. --- .drone.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9364f26..a6e3c7c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,14 +2,28 @@ kind: pipeline type: docker name: check +volumes: +- name: guru + temp: {} + steps: +- name: Clone ::guru + image: alpine/git + volumes: + - name: guru + path: /drone/guru + commands: + - git clone https://github.com/gentoo-mirror/guru.git /drone/guru + - name: repoman image: tastytea/repoman pull: always + volumes: + - name: guru + path: /drone/guru commands: - mkdir /etc/portage/repos.conf - - echo -e '[guru]\nlocation = /var/db/repos/guru\nsync-type = git\nsync-uri = https://github.com/gentoo-mirror/guru.git' > /etc/portage/repos.conf/guru.conf - - emaint sync -r guru + - echo -e '[guru]\nlocation = /drone/guru' > /etc/portage/repos.conf/guru.conf - repoman full --include-dev --xmlparse # - name: pkgcheck