This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/.drone.yml
tastytea 98e11fad40
All checks were successful
continuous-integration/drone/push Build is passing
CI: Clone ::guru in extra step.
2021-08-22 19:40:17 +02:00

47 lines
942 B
YAML

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 = /drone/guru' > /etc/portage/repos.conf/guru.conf
- repoman full --include-dev --xmlparse
# - name: pkgcheck
# image: tastytea/pkgcheck
# pull: always
# commands:
# - for catpkg in $(ls -d *-*/*); do pkgcheck scan --net $${catpkg}; done
- name: notify
image: drillster/drone-email
pull: always
when:
status: [ changed, failure ]
settings:
host: mail.tzend.de
from: drone@tzend.de
username:
from_secret: email_username
password:
from_secret: email_password