Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fcdb75ab authored by hhakim's avatar hhakim
Browse files

Add expire dates for packages sent to gitlab and keep a local copy of revision pkg for macOS.

By default expire duration is one month.
parent bec686d8
Branches
No related tags found
No related merge requests found
...@@ -72,10 +72,12 @@ package_macos: ...@@ -72,10 +72,12 @@ package_macos:
- productbuild --distribution ./distribution.plist --package-path . --resources doc ./faust-matio-$SHA_START.pkg - productbuild --distribution ./distribution.plist --package-path . --resources doc ./faust-matio-$SHA_START.pkg
- mv ./faust-matio-$SHA_START.pkg ./faust-$SHA_START.pkg - mv ./faust-matio-$SHA_START.pkg ./faust-$SHA_START.pkg
# - if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S mv faust-$SHA_START.dmg faust-$SHA_START.pkg $MACOS_PKG_STORE_PATH; fi # - if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S mv faust-$SHA_START.dmg faust-$SHA_START.pkg $MACOS_PKG_STORE_PATH; fi
- if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S cp faust-$SHA_START.dmg faust-$SHA_START.pkg $MACOS_PKG_STORE_PATH; fi
artifacts: artifacts:
paths: paths:
- build/faust-${CI_COMMIT_SHA:0:8}.pkg - build/faust-${CI_COMMIT_SHA:0:8}.pkg
- build/faust-${CI_COMMIT_SHA:0:8}.dmg - build/faust-${CI_COMMIT_SHA:0:8}.dmg
expire_in: '6 mos'
tags: tags:
- macos - macos
except: except:
...@@ -97,6 +99,7 @@ package_linux: ...@@ -97,6 +99,7 @@ package_linux:
paths: paths:
- build/faust-${CI_COMMIT_SHA:0:8}-x86_64.deb - build/faust-${CI_COMMIT_SHA:0:8}-x86_64.deb
- build/faust-${CI_COMMIT_SHA:0:8}-x86_64.rpm - build/faust-${CI_COMMIT_SHA:0:8}-x86_64.rpm
expire_in: '6 mos'
tags: tags:
- linux - linux
except: except:
...@@ -127,6 +130,7 @@ package_macos_release: ...@@ -127,6 +130,7 @@ package_macos_release:
paths: paths:
- build/faust-${CI_COMMIT_TAG}.pkg - build/faust-${CI_COMMIT_TAG}.pkg
- build/faust-${CI_COMMIT_TAG}.dmg - build/faust-${CI_COMMIT_TAG}.dmg
expire_in: '50 yrs'
tags: tags:
- macos - macos
only: only:
...@@ -145,6 +149,7 @@ package_linux_release: ...@@ -145,6 +149,7 @@ package_linux_release:
paths: paths:
- build/faust-$CI_COMMIT_TAG-x86_64.deb - build/faust-$CI_COMMIT_TAG-x86_64.deb
- build/faust-$CI_COMMIT_TAG-x86_64.rpm - build/faust-$CI_COMMIT_TAG-x86_64.rpm
expire_in: '50 yrs'
tags: tags:
- linux - linux
only: only:
...@@ -164,6 +169,7 @@ package_linux_release_static: ...@@ -164,6 +169,7 @@ package_linux_release_static:
paths: paths:
- build/faust-$CI_COMMIT_TAG-static-x86_64.deb - build/faust-$CI_COMMIT_TAG-static-x86_64.deb
- build/faust-$CI_COMMIT_TAG-static-x86_64.rpm - build/faust-$CI_COMMIT_TAG-static-x86_64.rpm
expire_in: '50 yrs'
tags: tags:
- linux - linux
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment