Fix cache #1.

square-messages
Black Hat 2018-08-02 20:17:18 +00:00
parent 26f49d3d9c
commit f7a3e4338e
1 changed files with 5 additions and 9 deletions

View File

@ -2,6 +2,10 @@ stages:
- preparation - preparation
- build - build
- deploy - deploy
cache:
paths:
- tmp/
preparation-flatpak: preparation-flatpak:
image: alpine/git image: alpine/git
@ -12,10 +16,6 @@ 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 ../
cache:
untracked: true
paths:
- tmp/
build-native: build-native:
image: rabits/qt:5.11-desktop image: rabits/qt:5.11-desktop
@ -44,12 +44,8 @@ build-flatpak:
- cd ../ - cd ../
deploy-flatpak: deploy-flatpak:
image: fedora:latest image: alpine/git
stage: deploy stage: deploy
cache:
untracked: true
paths:
- tmp/
before_script: before_script:
- 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"