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
|
|
|
|
|
2021-08-22 19:27:58 +02:00
|
|
|
volumes:
|
|
|
|
- name: guru
|
|
|
|
temp: {}
|
|
|
|
|
2019-04-28 18:18:14 +02:00
|
|
|
steps:
|
2021-08-22 19:27:58 +02:00
|
|
|
- name: Clone ::guru
|
|
|
|
image: alpine/git
|
|
|
|
volumes:
|
|
|
|
- name: guru
|
|
|
|
path: /drone/guru
|
|
|
|
commands:
|
|
|
|
- git clone https://github.com/gentoo-mirror/guru.git /drone/guru
|
|
|
|
|
2019-04-28 18:18:14 +02:00
|
|
|
- name: repoman
|
2020-04-19 02:07:49 +02:00
|
|
|
image: tastytea/repoman
|
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 12:38:50 +02:00
|
|
|
- mkdir /etc/portage/repos.conf
|
2021-08-22 19:27:58 +02:00
|
|
|
- echo -e '[guru]\nlocation = /drone/guru' > /etc/portage/repos.conf/guru.conf
|
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
|