restructure build output
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-06-12 13:28:29 +02:00
parent 2e3d9dc219
commit b525cdaa1c
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -12,8 +12,7 @@ steps:
commands:
- "[ -z \"$BUILD_VERSION\" ] && BUILD_VERSION=2.3.3"
- wget https://github.com/apple/cups/releases/download/v$BUILD_VERSION/cups-$BUILD_VERSION-source.tar.gz
- mkdir ./rpms
- rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-$BUILD_VERSION-source.tar.gz
- rpmbuild -ta --without libusb1 cups-$BUILD_VERSION-source.tar.gz
environment:
BUILD_VERSION: ${DRONE_TAG##v}
@ -21,7 +20,7 @@ steps:
image: alpine
commands:
- apk add --no-cache coreutils
- sha256sum -b rpms/x86_64/* > sha256sum.txt
- sha256sum -b dist/RPMS/x86_64/* > dist/sha256sum.txt
- name: gpgsign
pull: always
@ -29,7 +28,7 @@ steps:
settings:
detach_sign: true
files:
- rpms/x86_64/*
- dist/RPMS/x86_64/*
key:
from_secret: gpgsign_key
passphrase:
@ -42,8 +41,8 @@ steps:
from_secret: gitea_token
base_url: https://gitea.rknet.org
files:
- rpms/x86_64/*
- sha256sum.txt
- dist/RPMS/x86_64/*
- dist/sha256sum.txt
title: ${DRONE_TAG}
when:
ref:
@ -59,8 +58,8 @@ steps:
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: rpms/x86_64/*.rpm
strip_prefix: rpms/
source: dist/RPMS/x86_64/*.rpm
strip_prefix: dist/RPMS/
target: /centos/7/
when:
ref:
@ -101,6 +100,6 @@ depends_on:
---
kind: signature
hmac: aefc82db8c27c3016df4ab7807d1e1f23edc8c9f168fcbbbe45e9cb3b02053a9
hmac: c2cba36c72b4f77f3710ba650995921b59ca724545fe8668c8f0f06450fa4c38
...