drone add special build and deploy for branch master:windows_build
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
35e53a4d60
commit
4e7173f878
20
.drone.yml
20
.drone.yml
|
@ -69,7 +69,7 @@ pipeline:
|
|||
image: therecipe/qt:windows_64_static
|
||||
when:
|
||||
repo: cwtch.im/ui
|
||||
branch: master
|
||||
branch: [ master, windows_build ]
|
||||
event: push
|
||||
environment:
|
||||
- QT_DIR=/opt/Qt
|
||||
|
@ -113,6 +113,24 @@ pipeline:
|
|||
- mkdir $DIR
|
||||
- mv cwtch* $DIR/
|
||||
- scp -r -o StrictHostKeyChecking=no -i ~/id_rsa $DIR buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/
|
||||
deploy-windows-build:
|
||||
image: pivotaldata/concourse-ssh
|
||||
secrets: [buildfiles_key]
|
||||
when:
|
||||
repo: cwtch.im/ui
|
||||
branch: windows_build
|
||||
event: push
|
||||
status: [ success ]
|
||||
commands:
|
||||
- apk add --no-cache git
|
||||
- echo $BUILDFILES_KEY > ~/id_rsab64
|
||||
- base64 -d ~/id_rsab64 > ~/id_rsa
|
||||
- chmod 400 ~/id_rsa
|
||||
- export DIR=`date +%G.%m.%d-%H.%M`-`git describe --tags`
|
||||
- cd deploy
|
||||
- mkdir windows_build/$DIR
|
||||
- mv cwtch* windows_build/$DIR/
|
||||
- scp -r -o StrictHostKeyChecking=no -i ~/id_rsa windows_build buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/
|
||||
notify-email:
|
||||
image: drillster/drone-email
|
||||
host: build.openprivacy.ca
|
||||
|
|
Reference in New Issue