added drone support #2

Open
paspo wants to merge 4 commits from paspo/nethserver-profilemgr:drone into master
Showing only changes of commit d953051e5c - Show all commits

View File

@ -12,8 +12,6 @@ pipeline:
- createlinks.pl
- README.md
- LICENSE.txt
when:
event: [ push, tag ]
build:
image: libreschool-automation/rpm-build:latest
@ -21,15 +19,13 @@ pipeline:
- yum-builddep -y nethserver-profilemgr.spec
- rpmbuild -ba nethserver-profilemgr.spec
- mkdir out ; mv *.rpm noarch/*.rpm out/
when:
event: [ push, tag ]
pkg_sign:
image: libreschool-automation/rpm-sign
files: out/*.rpm
secrets: [ gpg_key, passphrase ]
when:
event: tag
event: [ tag, deployment ]
gitea_release:
group: deploy