Disable automatic RPM generation.
This commit is contained in:
parent
d283e1ebc9
commit
e73a7625a6
60
.drone.yml
60
.drone.yml
|
@ -124,34 +124,34 @@ steps:
|
||||||
- name: gpg-key
|
- name: gpg-key
|
||||||
path: /var/autosign_gpg.key
|
path: /var/autosign_gpg.key
|
||||||
|
|
||||||
- name: rpm
|
# - name: rpm
|
||||||
image: centos:7
|
# image: centos:7
|
||||||
pull: always
|
# pull: always
|
||||||
environment:
|
# environment:
|
||||||
CXX: /opt/rh/devtoolset-6/root/usr/bin/g++
|
# CXX: /opt/rh/devtoolset-6/root/usr/bin/g++
|
||||||
CXXFLAGS: -pipe -O2
|
# CXXFLAGS: -pipe -O2
|
||||||
LANG: en_US.utf-8
|
# LANG: en_US.utf-8
|
||||||
commands:
|
# commands:
|
||||||
- sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf
|
# - sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf
|
||||||
- curl -s -o /var/cache/yum/epel-release-latest-7.noarch.rpm http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
# - curl -s -o /var/cache/yum/epel-release-latest-7.noarch.rpm http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
- rpm -i /var/cache/yum/epel-release-latest-7.noarch.rpm
|
# - rpm -i /var/cache/yum/epel-release-latest-7.noarch.rpm
|
||||||
- yum install -qy centos-release-scl
|
# - yum install -qy centos-release-scl
|
||||||
- yum install -qy devtoolset-6
|
# - yum install -qy devtoolset-6
|
||||||
- scl enable devtoolset-6 bash
|
# - scl enable devtoolset-6 bash
|
||||||
- yum install -qy rpm-build ImageMagick-c++-devel gnupg redhat-lsb-core
|
# - yum install -qy rpm-build ImageMagick-c++-devel gnupg redhat-lsb-core
|
||||||
- yum --enablerepo=epel install -qy cmake3
|
# - yum --enablerepo=epel install -qy cmake3
|
||||||
- rm -rf build && mkdir -p build && cd build
|
# - rm -rf build && mkdir -p build && cd build
|
||||||
- cmake3 -DWITH_RPM=YES ..
|
# - cmake3 -DWITH_RPM=YES ..
|
||||||
- make package
|
# - make package
|
||||||
- gpg --import /var/autosign_gpg.key
|
# - gpg --import /var/autosign_gpg.key
|
||||||
- gpg --verbose --detach-sign *.rpm
|
# - gpg --verbose --detach-sign *.rpm
|
||||||
- cp -v identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm ..
|
# - cp -v identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm ..
|
||||||
- cp -v identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm.sig ..
|
# - cp -v identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm.sig ..
|
||||||
volumes:
|
# volumes:
|
||||||
- name: centos-package-cache
|
# - name: centos-package-cache
|
||||||
path: /var/cache/yum
|
# path: /var/cache/yum
|
||||||
- name: gpg-key
|
# - name: gpg-key
|
||||||
path: /var/autosign_gpg.key
|
# path: /var/autosign_gpg.key
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -165,8 +165,8 @@ steps:
|
||||||
files:
|
files:
|
||||||
- identiconpp_${DRONE_TAG}-0_amd64_stretch.deb
|
- identiconpp_${DRONE_TAG}-0_amd64_stretch.deb
|
||||||
- identiconpp_${DRONE_TAG}-0_amd64_stretch.deb.sig
|
- identiconpp_${DRONE_TAG}-0_amd64_stretch.deb.sig
|
||||||
- identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm
|
# - identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm
|
||||||
- identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm.sig
|
# - identiconpp-${DRONE_TAG}-0.x86_64.centos7.rpm.sig
|
||||||
checksum:
|
checksum:
|
||||||
- sha512
|
- sha512
|
||||||
|
|
||||||
|
|
|
@ -84,8 +84,8 @@ Gentoo ebuilds are available via my link:{uri-overlay}[repository].
|
||||||
=== Automatically generated packages
|
=== Automatically generated packages
|
||||||
|
|
||||||
Binary packages are generated automatically for each
|
Binary packages are generated automatically for each
|
||||||
link:{uri-base}/releases[release] for Debian stretch and CentOS 7. They are
|
link:{uri-base}/releases[release] for Debian stretch. They are signed with my
|
||||||
signed with my link:{uri-pgpkey}[automatic signing key].
|
link:{uri-pgpkey}[automatic signing key].
|
||||||
|
|
||||||
=== From source
|
=== From source
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue