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