From cd4e8a71c162e40389c604766f186ab0a4056797 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Thu, 2 Aug 2018 19:32:54 +0000 Subject: [PATCH] Add artifacts. --- .gitlab-ci.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0760b84..05fa62b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,13 +2,7 @@ stages: - preparation - build - deploy - -cache: - untracked: true - key: "$CI_PROJECT_ID" - paths: - - /tmp/matrique-repo - + preparation-flatpak: image: fedora:latest stage: preparation @@ -16,7 +10,12 @@ preparation-flatpak: - cd /tmp - git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo" - cd /builds/b0/matrique - + + artifacts: + untracked: true + paths: + - /tmp/matrique-repo + build-native: image: rabits/qt:5.11-desktop stage: build @@ -40,6 +39,10 @@ build-flatpak: - gpg2 -v --import <(echo "$GPG_SECRET_KEY") - cd flatpak - 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: image: fedora:latest