2019-04-28 18:18:14 +02:00
|
|
|
kind: pipeline
|
2021-08-22 12:38:50 +02:00
|
|
|
type: docker
|
2022-09-13 05:45:59 +02:00
|
|
|
name: check all packages
|
2019-04-28 18:18:14 +02:00
|
|
|
|
2021-08-22 19:27:58 +02:00
|
|
|
volumes:
|
|
|
|
- name: guru
|
|
|
|
temp: {}
|
|
|
|
|
2019-04-28 18:18:14 +02:00
|
|
|
steps:
|
2022-09-13 05:45:59 +02:00
|
|
|
- name: clone ::guru
|
|
|
|
image: docker:git
|
2021-08-22 19:27:58 +02:00
|
|
|
volumes:
|
|
|
|
- name: guru
|
|
|
|
path: /drone/guru
|
|
|
|
commands:
|
|
|
|
- git clone https://github.com/gentoo-mirror/guru.git /drone/guru
|
|
|
|
|
2022-09-13 05:45:59 +02:00
|
|
|
- name: pkgcheck
|
|
|
|
image: tastytea/pkgcheck
|
2019-04-28 18:18:14 +02:00
|
|
|
pull: always
|
2021-08-22 19:27:58 +02:00
|
|
|
volumes:
|
|
|
|
- name: guru
|
|
|
|
path: /drone/guru
|
2019-04-28 18:18:14 +02:00
|
|
|
commands:
|
2021-08-22 19:27:58 +02:00
|
|
|
- echo -e '[guru]\nlocation = /drone/guru' > /etc/portage/repos.conf/guru.conf
|
2022-09-13 19:39:41 +02:00
|
|
|
- pkgcheck --verbose scan --net --checks='-ImlateCheck,-RedundantVersionCheck'
|
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
|