Disable automatic RPM generation.

This commit is contained in:
tastytea 2020-10-24 10:26:12 +02:00
parent d283e1ebc9
commit e73a7625a6
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 32 additions and 32 deletions

View File

@ -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

View File

@ -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