Use artifacts.
This commit is contained in:
parent
62b6e3bde4
commit
5bba0b58d1
|
@ -3,10 +3,6 @@ stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- tmp/
|
|
||||||
|
|
||||||
preparation-flatpak:
|
preparation-flatpak:
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
stage: preparation
|
stage: preparation
|
||||||
|
@ -18,6 +14,9 @@ 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 ../
|
- cd ../
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- tmp/
|
||||||
|
|
||||||
build-native:
|
build-native:
|
||||||
image: rabits/qt:5.11-desktop
|
image: rabits/qt:5.11-desktop
|
||||||
|
@ -40,11 +39,16 @@ build-flatpak:
|
||||||
- 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
|
||||||
- cd ../
|
- cd ../
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- tmp/
|
||||||
|
|
||||||
deploy-flatpak:
|
deploy-flatpak:
|
||||||
image: alpine/git
|
image: debian:latest
|
||||||
stage: deploy
|
stage: deploy
|
||||||
before_script:
|
before_script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- git config --global user.name "$GIT_NAME"
|
- git config --global user.name "$GIT_NAME"
|
||||||
- git config --global user.email "$GIT_EMAIL"
|
- git config --global user.email "$GIT_EMAIL"
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue