CI deployment to download for internal purposes

This commit is contained in:
Benoit Philibert 2024-05-07 17:11:33 +02:00 committed by Julien Wadel
parent bbefc9acf3
commit 2459e5aba6
3 changed files with 72 additions and 70 deletions

View file

@ -139,29 +139,32 @@ ubuntu2004-makefile-gcc-package:
# Deploy - Nightly # Deploy - Nightly
################################################# #################################################
#ubuntu2004-makefile-gcc-deploy: ubuntu2004-makefile-gcc-deploy:
# stage: deploy stage: deploy
# tags: [ "deploy" ] tags: [ "deploy" ]
# needs: needs:
# - ubuntu2004-makefile-gcc-package - ubuntu2004-makefile-gcc-package
# only: only:
# variables: variables:
# - $NIGHTLY_MASTER - $NIGHTLY_MASTER
# - $DEPLOY_LINUX - $DEPLOY_LINUX
# script: script:
# - rsync -rlv --ignore-existing build/OUTPUT/Packages/*.AppImage $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$LINUX_PLATFORM/$APP_FOLDER - rsync -rlv --ignore-existing build/OUTPUT/Packages/*.AppImage $DEPLOY_SERVER:$UPLOAD_ROOT_INTERNAL_PATH/$LINUX_PLATFORM/$APP_FOLDER
# - rsync -rlv build/OUTPUT/RELEASE $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$LINUX_PLATFORM - |-
# - rsync -rlv build/OUTPUT/RELEASE $MAIN_DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$LINUX_PLATFORM if [[ $MAKE_RELEASE_FILE_URL != "" ]]; then
rsync -rlv build/OUTPUT/RELEASE $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$LINUX_PLATFORM
rsync -rlv build/OUTPUT/RELEASE $MAIN_DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$LINUX_PLATFORM
fi
#ubuntu2004-makefile-gcc-plugins-deploy: ubuntu2004-makefile-gcc-plugins-deploy:
# stage: deploy stage: deploy
# tags: [ "deploy" ] tags: [ "deploy" ]
# needs: needs:
# - ubuntu2004-makefile-gcc - ubuntu2004-makefile-gcc
# only: only:
# variables: variables:
# - $DEPLOY_PLUGINS - $DEPLOY_PLUGINS
# script: script:
# - rsync -rlv --ignore-existing build/OUTPUT/plugins/app/*.so $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$LINUX_PLATFORM/$APP_FOLDER/plugins/ - rsync -rlv --ignore-existing build/OUTPUT/plugins/app/*.so $DEPLOY_SERVER:$UPLOAD_ROOT_INTERNAL_PATH/$LINUX_PLATFORM/$APP_FOLDER/plugins/

View file

@ -138,32 +138,31 @@ macosx-codesigning:
# Deploy - Nightly # Deploy - Nightly
################################################# #################################################
#macosx-makefile-deploy: macosx-makefile-deploy:
# stage: deploy stage: deploy
# tags: [ "macos-xcode13" ] tags: [ "macos-xcode13" ]
# needs: needs:
# - macosx-codesigning - macosx-codesigning
# only: only:
# variables: variables:
# - $NIGHTLY_MASTER - $NIGHTLY_MASTER
# - $DEPLOY_MACOSX - $DEPLOY_MACOSX
# script: script:
# - rsync -rlv --ignore-existing build/OUTPUT/linphone-app/macos/Packages/Linphone*.dmg $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$MACOSX_PLATFORM/$APP_FOLDER - rsync -rlv --ignore-existing build/OUTPUT/linphone-app/macos/Packages/Linphone*.dmg $DEPLOY_SERVER:$UPLOAD_ROOT_INTERNAL_PATH/$MACOSX_PLATFORM/$APP_FOLDER
# - |- - |-
# if [[ $MAKE_RELEASE_FILE_URL != "" ]]; then if [[ $MAKE_RELEASE_FILE_URL != "" ]]; then
# rsync -rlv build/OUTPUT/RELEASE $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$MACOSX_PLATFORM rsync -rlv build/OUTPUT/RELEASE $DEPLOY_SERVER:$UPLOAD_ROOT_INTERNAL_PATH/$MACOSX_PLATFORM
# rsync -rlv build/OUTPUT/RELEASE $MAIN_DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$MACOSX_PLATFORM fi
# fi
#macosx-makefile-plugins-deploy: macosx-makefile-plugins-deploy:
# stage: deploy stage: deploy
# tags: [ "macos-xcode13" ] tags: [ "macos-xcode13" ]
# needs: needs:
# - macosx-makefile - macosx-makefile
# only: only:
# variables: variables:
# - $DEPLOY_PLUGINS - $DEPLOY_PLUGINS
# script: script:
# - rsync -rlv --ignore-existing build/OUTPUT/plugins/app/*.dylib $DEPLOY_SERVER:$UPLOAD_ROOT_PATH/$MACOSX_PLATFORM/$APP_FOLDER/plugins - rsync -rlv --ignore-existing build/OUTPUT/plugins/app/*.dylib $DEPLOY_SERVER:$UPLOAD_ROOT_INTERNAL_PATH/$MACOSX_PLATFORM/$APP_FOLDER/plugins

View file

@ -166,28 +166,28 @@ vs2019-win64-package:
# DEPLOY # DEPLOY
################################################# #################################################
#vs2019-win64-upload: vs2019-win64-upload:
# stage: deploy stage: deploy
# tags: [ "windows-powershell"] tags: [ "windows-powershell"]
# rules: rules:
# - if: $NIGHTLY_MASTER - if: $NIGHTLY_MASTER
# - if: $DEPLOY_WINDOWS - if: $DEPLOY_WINDOWS
# needs: needs:
# - vs2019-win64-package - vs2019-win64-package
# script: script:
# - scp -pr build-desktop/OUTPUT/Packages/*.exe ${DEPLOY_SERVER}:${UPLOAD_ROOT_PATH}/${WINDOWS_PLATFORM}/${APP_FOLDER} - scp -pr build-desktop/OUTPUT/Packages/*.exe ${DEPLOY_SERVER}:${UPLOAD_ROOT_INTERNAL_PATH}/${WINDOWS_PLATFORM}/${APP_FOLDER}
# - if ($MAKE_RELEASE_FILE_URL) { scp -pr build-desktop/OUTPUT/RELEASE ${DEPLOY_SERVER}:${UPLOAD_ROOT_PATH}/${WINDOWS_PLATFORM}/ } - if ($MAKE_RELEASE_FILE_URL) { scp -pr build-desktop/OUTPUT/RELEASE ${DEPLOY_SERVER}:${UPLOAD_ROOT_INTERNAL_PATH}/${WINDOWS_PLATFORM}/ }
# - if ($MAKE_RELEASE_FILE_URL) { scp -pr build-desktop/OUTPUT/RELEASE ${MAIN_DEPLOY_SERVER}:${UPLOAD_ROOT_PATH}/${WINDOWS_PLATFORM}/ } # - if ($MAKE_RELEASE_FILE_URL) { scp -pr build-desktop/OUTPUT/RELEASE ${MAIN_DEPLOY_SERVER}:${UPLOAD_ROOT_PATH}/${WINDOWS_PLATFORM}/ }
#vs2019-win64-plugins-upload: vs2019-win64-plugins-upload:
# stage: deploy stage: deploy
# tags: [ "windows"] tags: [ "windows"]
# rules: rules:
# - if: $DEPLOY_PLUGINS - if: $DEPLOY_PLUGINS
# needs: needs:
# - vs2019-win64-scheduled-windows - vs2019-win64-scheduled-windows
# script: script:
# - scp "build-desktop/OUTPUT/plugins/app/*.dll" "%DEPLOY_SERVER%:%WINDOWS_UPLOAD_DIRECTORY%/plugins" - scp "build-desktop/OUTPUT/plugins/app/*.dll" "%DEPLOY_SERVER%:%WINDOWS_UPLOAD_INTERNAL_DIRECTORY%/plugins"