Add artifacts.

This commit is contained in:
Black Hat 2018-08-02 19:32:54 +00:00
parent 708f260608
commit cd4e8a71c1
1 changed files with 11 additions and 8 deletions

View File

@ -2,13 +2,7 @@ stages:
- preparation - preparation
- build - build
- deploy - deploy
cache:
untracked: true
key: "$CI_PROJECT_ID"
paths:
- /tmp/matrique-repo
preparation-flatpak: preparation-flatpak:
image: fedora:latest image: fedora:latest
stage: preparation stage: preparation
@ -16,7 +10,12 @@ preparation-flatpak:
- cd /tmp - cd /tmp
- git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo" - git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo"
- cd /builds/b0/matrique - cd /builds/b0/matrique
artifacts:
untracked: true
paths:
- /tmp/matrique-repo
build-native: build-native:
image: rabits/qt:5.11-desktop image: rabits/qt:5.11-desktop
stage: build stage: build
@ -40,6 +39,10 @@ build-flatpak:
- gpg2 -v --import <(echo "$GPG_SECRET_KEY") - gpg2 -v --import <(echo "$GPG_SECRET_KEY")
- cd flatpak - cd flatpak
- flatpak-builder --repo=/tmp/matrique-repo/public build-dir org.eu.encom.matrique.json --force-clean --gpg-sign=52986BF4D61350EC249F2E891B0DB3358FC5E4B2 - flatpak-builder --repo=/tmp/matrique-repo/public build-dir org.eu.encom.matrique.json --force-clean --gpg-sign=52986BF4D61350EC249F2E891B0DB3358FC5E4B2
artifacts:
untracked: true
paths:
- /tmp/matrique-repo
deploy-flatpak: deploy-flatpak:
image: fedora:latest image: fedora:latest