trying to implement code signing support
This commit is contained in:
parent
c84b0bffcf
commit
be61051fe5
@ -43,15 +43,22 @@ signing:
|
||||
- apt-get install php7.2
|
||||
- wget https://download.nextcloud.com/server/releases/nextcloud-20.0.2.tar.bz2
|
||||
- tar xvf nextcloud-20.0.2.tar.bz2
|
||||
- echo "-----BEGIN PRIVATE KEY-----" > sign.key
|
||||
- echo $SIGN_KEY | tr " " "\n" >> sign.key
|
||||
- echo "-----END PRIVATE KEY-----" >> sign.key
|
||||
- echo "-----BEGIN CERTIFICATE-----" > sign.crt
|
||||
- echo $SIGN_CRT | tr " " "\n" >> sign.crt
|
||||
- echo "-----END CERTIFICATE-----" >> sign.crt
|
||||
- php nextcloud/occ
|
||||
- ls build/artifacts/
|
||||
#- /usr/src/nextcloud/occ integrity:sign-app --path=$(pwd)/passwords --privateKey=$(pwd)/sign.key --certificate=$(pwd)/sign.crt
|
||||
#- rm sign.key sign.crt
|
||||
|
||||
publishing:
|
||||
stage: publishing
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
needs:
|
||||
- job:
|
||||
- signing
|
||||
- packaging
|
||||
- job: signing
|
||||
- artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
Loading…
Reference in New Issue
Block a user