Change reprepro commands to include signing

This commit is contained in:
Deon George 2020-10-29 11:47:18 +11:00
parent 6d933f50cc
commit 98082027b8
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254

View File

@ -34,8 +34,12 @@ deploy:x86_64:
stage: deploy
dependencies:
- build:x86_64
variables:
DEBARCH: amd64
script:
- reprepro -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
- reprepro.exp -- -b /apt -A ${DEBARCH} remove $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) ${CI_PROJECT_NAME}
- reprepro.exp -- -b /apt deleteunreferenced
- reprepro.exp -- -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro
@ -64,7 +68,11 @@ deploy:armv7l:
stage: deploy
dependencies:
- build:armv7l
variables:
DEBARCH: armhf
script:
- reprepro -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
- reprepro.exp -- -b /apt -A ${DEBARCH} remove $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) ${CI_PROJECT_NAME}
- reprepro.exp -- -b /apt deleteunreferenced
- reprepro.exp -- -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro