rebranding
This commit is contained in:
parent
b01e3b6651
commit
411f089bf8
91
.drone.yml
91
.drone.yml
@ -1,61 +1,54 @@
|
|||||||
# this is needed by the RPM build plugin
|
kind: pipeline
|
||||||
workspace:
|
name: default
|
||||||
base: /build
|
|
||||||
path: /
|
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
|
- name: create_targz
|
||||||
create_targz:
|
image: registry.libreschool.org/libreschool-automation/rpm-pack:latest
|
||||||
image: libreschool-automation/rpm-pack:latest
|
pull: always
|
||||||
dest: $$NAME-$$VERSION-$$RELEASE.tar.gz
|
settings:
|
||||||
dir: $$NAME-$$VERSION-$$RELEASE
|
dir: $$NAME-$$VERSION-$$RELEASE
|
||||||
files:
|
files:
|
||||||
- root
|
- root
|
||||||
- createlinks.pl
|
- createlinks.pl
|
||||||
- README.md
|
- README.md
|
||||||
- COPYING
|
- COPYING
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
|
||||||
build:
|
- name: build
|
||||||
image: libreschool-automation/rpm-build:latest
|
image: registry.libreschool.org/libreschool-automation/rpm-build:7
|
||||||
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- yum-builddep -y startpage.spec
|
- yum-builddep -y libreschool-startpage.spec
|
||||||
- rpmbuild -ba startpage.spec
|
- rpmbuild -ba libreschool-startpage.spec
|
||||||
- mkdir out ; mv *.rpm noarch/*.rpm out/
|
- mkdir out ; mv *.rpm noarch/*.rpm out/
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
|
||||||
gitea_release:
|
- name: sign
|
||||||
group: deploy
|
image: registry.libreschool.org/libreschool-automation/rpm-sign:latest
|
||||||
image: plugins/gitea-release
|
pull: always
|
||||||
files: out/*.rpm
|
settings:
|
||||||
checksum:
|
files: out/*.rpm
|
||||||
- md5
|
gpg_key:
|
||||||
- sha1
|
from_secret: gpg_key
|
||||||
- sha256
|
passphrase:
|
||||||
- sha512
|
from_secret: passphrase
|
||||||
secrets: [ gitea_token ]
|
|
||||||
base_url: https://git.libreschool.org
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
# deploy_srpm:
|
- name: gitea_release
|
||||||
# group: deploy
|
image: plugins/gitea-release
|
||||||
# image: drone-sftp
|
settings:
|
||||||
# host: repo.libreschool.org
|
files: out/*.rpm
|
||||||
# target: /https/nethserver/6/devel/Source/SPackages/
|
checksum:
|
||||||
# secrets: [ sftp_username, sftp_key ]
|
- md5
|
||||||
# source: out/*.src.rpm
|
- sha1
|
||||||
# when:
|
- sha256
|
||||||
# event: tag
|
- sha512
|
||||||
|
api_key:
|
||||||
# deploy_rpm:
|
from_secret: gitea_token
|
||||||
# group: deploy
|
base_url: https://git.libreschool.org
|
||||||
# image: drone-sftp
|
file_exists: skip
|
||||||
# host: repo.libreschool.org
|
when:
|
||||||
# target: /https/nethserver/6/devel/x86_64/Packages/
|
event: tag
|
||||||
# secrets: [ sftp_username, sftp_key ]
|
|
||||||
# source: out/*.noarch.rpm
|
|
||||||
# when:
|
|
||||||
# event: tag
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Summary: Manage a start page for all clients
|
Summary: Manage a start page for all clients
|
||||||
Name: startpage
|
Name: libreschool-startpage
|
||||||
Version: 0.9
|
Version: 1.0.0
|
||||||
Release: 3.ns6
|
Release: 1
|
||||||
URL: https://github.com/libreschool/startpage/
|
URL: https://git.libreschool.org/LibreSchool/libreschool-startpage
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Packager: Paolo Asperti <paolo@asperti.com>
|
Packager: Paolo Asperti <paolo@asperti.com>
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -13,7 +13,7 @@ Requires: httpd, sudo,
|
|||||||
Requires: nethserver-base
|
Requires: nethserver-base
|
||||||
Requires: python-jinja2
|
Requires: python-jinja2
|
||||||
Requires: net-tools
|
Requires: net-tools
|
||||||
Source0: %{name}-%{version}-%{release}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source1: createlinks.pl
|
Source1: createlinks.pl
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -71,11 +71,5 @@ rm -rf %{buildroot}
|
|||||||
%doc README.md COPYING
|
%doc README.md COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 18 2018 Paolo Asperti <paolo@asperti.com> - 0.9-3
|
* Sun Mar 1 2020 Paolo Asperti <paolo@asperti.com> - 1.0.0-1
|
||||||
- ui fixing
|
- initial release from old startpage package
|
||||||
|
|
||||||
* Sun Jul 8 2018 Paolo Asperti <paolo@asperti.com> - 0.9-2
|
|
||||||
- bug fixing
|
|
||||||
|
|
||||||
* Sun Jul 8 2018 Paolo Asperti <paolo@asperti.com> - 0.9-1
|
|
||||||
- initial release
|
|
Loading…
x
Reference in New Issue
Block a user