Drone support #1
47
.drone.yml
Normal file
47
.drone.yml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# this is needed by the RPM build plugin
|
||||||
|
workspace:
|
||||||
|
base: /build
|
||||||
|
path: /
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
|
||||||
|
create_targz:
|
||||||
|
image: libreschool-automation/rpm-pack:latest
|
||||||
|
dest: $$NAME-$$VERSION.tar.gz
|
||||||
|
dir: $$NAME-$$VERSION
|
||||||
|
files:
|
||||||
|
- root
|
||||||
|
- README.md
|
||||||
|
- COPYING
|
||||||
|
when:
|
||||||
|
event: [ push, tag ]
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: libreschool-automation/rpm-build:latest
|
||||||
|
commands:
|
||||||
|
- yum-builddep -y libreschool-nfs.spec
|
||||||
|
- rpmbuild -ba libreschool-nfs.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, deployment ]
|
||||||
|
|
||||||
|
gitea_release:
|
||||||
|
group: deploy
|
||||||
|
image: plugins/gitea-release
|
||||||
|
files: out/*.rpm
|
||||||
|
checksum:
|
||||||
|
- md5
|
||||||
|
- sha1
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
secrets: [ gitea_token ]
|
||||||
|
base_url: https://git.libreschool.org
|
||||||
|
when:
|
||||||
|
event: tag
|
@ -1,5 +1,7 @@
|
|||||||
# libreschool-nfs #
|
# libreschool-nfs #
|
||||||
|
|
||||||
|
[](https://drone.libreschool.org/LibreSchool/libreschool-nfs)
|
||||||
|
|
||||||
This package is meant for exporting the users homes via NFS.
|
This package is meant for exporting the users homes via NFS.
|
||||||
The NFS should give better performances, compared to samba. Real world benchmarks will follow.
|
The NFS should give better performances, compared to samba. Real world benchmarks will follow.
|
||||||
This package will install nfs-utils and configure the NFS exports, configure services and ports (for the firewall)
|
This package will install nfs-utils and configure the NFS exports, configure services and ports (for the firewall)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user