From a7c769b49fd0c12a822c36b7e584c7114bb57bbe Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 26 Feb 2019 15:25:33 -0800 Subject: [PATCH] attempt to deploy files --- .drone.yml | 51 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/.drone.yml b/.drone.yml index f64eb02a..c799354b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,23 +16,40 @@ pipeline: - apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git - go get -d - qtdeploy build linux - build-android: - mem_limit: 3G - image: therecipe/qt:android - environment: - - QT_DIR=/opt/Qt - - QT_DOCKER='true' - - QT_API=5.12.0 - - ANDROID_NDK_DIR=/home/user/android-ndk-r18b - - ANDROID_SDK_DIR=/home/user/android-sdk-linux - commands: - - export GOPATH=$GOPATH:/media/sf_GOPATH1/ - - export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin - - apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git - - find -iname 'moc*' | xargs rm - - find -iname 'rcc*' | xargs rm - - go get -d - - qtdeploy build android + - tar -czf deploy/cwtch-linux-`date +%G-%m-%d-%H-%M`.tar.gz deploy/linux +# build-android: +# mem_limit: 3G +# image: therecipe/qt:android +# environment: +# - QT_DIR=/opt/Qt +# - QT_DOCKER='true' +# - QT_API=5.12.0 +# - ANDROID_NDK_DIR=/home/user/android-ndk-r18b +# - ANDROID_SDK_DIR=/home/user/android-sdk-linux +# commands: +# - export GOPATH=$GOPATH:/media/sf_GOPATH1/ +# - export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin +# - apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git zip +# - find -iname 'moc*' | xargs rm +# - find -iname 'rcc*' | xargs rm +# - go get -d +# - qtdeploy build android +# - zip -r deploy/cwtch-android-`date +%G-%m-%d-%H-%M`.zip deploy/windows + deploy-buildfiles: + image: appleboy/drone-scp:v1.3.0 + settings: + host: openprivacy.ca + username: buildfiles + key: + from_secret: buildfiles_key + source: + - deploy/cwtch-* + target: + - /home/buildfiles/buildfiles + when: + branch: master + event: push + status: [ success ] notify-email: image: drillster/drone-email host: build.openprivacy.ca