CI: Clone ::guru in extra step.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c5c3e9a29a
commit
98e11fad40
18
.drone.yml
18
.drone.yml
|
@ -2,14 +2,28 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: check
|
name: check
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: guru
|
||||||
|
temp: {}
|
||||||
|
|
||||||
steps:
|
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
|
- name: repoman
|
||||||
image: tastytea/repoman
|
image: tastytea/repoman
|
||||||
pull: always
|
pull: always
|
||||||
|
volumes:
|
||||||
|
- name: guru
|
||||||
|
path: /drone/guru
|
||||||
commands:
|
commands:
|
||||||
- mkdir /etc/portage/repos.conf
|
- 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
|
- echo -e '[guru]\nlocation = /drone/guru' > /etc/portage/repos.conf/guru.conf
|
||||||
- emaint sync -r guru
|
|
||||||
- repoman full --include-dev --xmlparse
|
- repoman full --include-dev --xmlparse
|
||||||
|
|
||||||
# - name: pkgcheck
|
# - name: pkgcheck
|
||||||
|
|
Reference in New Issue
Block a user