2019-04-28 18:18:14 +02:00
|
|
|
kind: pipeline
|
2021-08-22 12:38:50 +02:00
|
|
|
type: docker
|
2019-04-28 18:18:14 +02:00
|
|
|
name: check
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: repoman
|
2020-04-19 02:07:49 +02:00
|
|
|
image: tastytea/repoman
|
2019-04-28 18:18:14 +02:00
|
|
|
pull: always
|
|
|
|
commands:
|
2021-08-22 12:38:50 +02:00
|
|
|
- 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
|
2019-04-28 18:18:14 +02:00
|
|
|
- repoman full --include-dev --xmlparse
|
|
|
|
|
2020-05-07 02:55:05 +02:00
|
|
|
# - name: pkgcheck
|
|
|
|
# image: tastytea/pkgcheck
|
|
|
|
# pull: always
|
|
|
|
# commands:
|
|
|
|
# - for catpkg in $(ls -d *-*/*); do pkgcheck scan --net $${catpkg}; done
|
2020-05-06 23:15:50 +02:00
|
|
|
|
2019-04-28 18:18:14 +02:00
|
|
|
- name: notify
|
|
|
|
image: drillster/drone-email
|
|
|
|
pull: always
|
|
|
|
when:
|
|
|
|
status: [ changed, failure ]
|
|
|
|
settings:
|
2020-04-19 04:40:28 +02:00
|
|
|
host: mail.tzend.de
|
2018-06-21 20:14:37 +02:00
|
|
|
from: drone@tzend.de
|
2019-04-28 18:18:14 +02:00
|
|
|
username:
|
2019-04-29 10:57:40 +02:00
|
|
|
from_secret: email_username
|
2019-04-28 18:18:14 +02:00
|
|
|
password:
|
|
|
|
from_secret: email_password
|