trying to implement code signing support

This commit is contained in:
Jonas Heinrich 2020-11-30 15:22:16 +01:00
parent d12928a1e2
commit c84b0bffcf

View File

@ -36,7 +36,11 @@ signing:
stage: signing stage: signing
script: script:
- apt update - apt update
- DEBIAN_FRONTEND="noninteractive" apt install -y wget php - DEBIAN_FRONTEND="noninteractive" apt install -y wget apt-transport-https
- wget -q -O- https://packages.sury.org/php/apt.gpg | apt-key add -
- echo "deb https://packages.sury.org/php/ stretch main" | tee /etc/apt/sources.list.d/php.list
- apt-get update
- apt-get install php7.2
- wget https://download.nextcloud.com/server/releases/nextcloud-20.0.2.tar.bz2 - wget https://download.nextcloud.com/server/releases/nextcloud-20.0.2.tar.bz2
- tar xvf nextcloud-20.0.2.tar.bz2 - tar xvf nextcloud-20.0.2.tar.bz2
- php nextcloud/occ - php nextcloud/occ
@ -45,8 +49,10 @@ publishing:
stage: publishing stage: publishing
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
needs: needs:
- job: packaging - job:
artifacts: true - signing
- packaging
- artifacts: true
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
script: script: