drone windows, download, shasum, unzip, deploy tor
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
1eed764a11
commit
9b7cf347cd
13
.drone.yml
13
.drone.yml
|
@ -195,7 +195,11 @@ steps:
|
|||
|
||||
- name: fetch
|
||||
image: openpriv/flutter-desktop:windows-sdk30-fdev2.2rc
|
||||
environment:
|
||||
torzipsha512sum: 2b7d683f036d0fec149f1d2bdfcf5b7ef4c337005a2b685c056b00047fdb2b57d4c25b8559ad7ef5c7a030b273934be82a9f83ef6e391f5d7d13d8d6c83e8048
|
||||
commands:
|
||||
- powershell -command "Invoke-WebRequest -Uri https://www.torproject.org/dist/torbrowser/10.0.16/tor-win32-0.4.5.7.zip -OutFile tor.zip"
|
||||
- powershell -command "if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne $Env:torzipsha512sum ) { Write-Error \"tor.zip sha512sum mismatch\" }"
|
||||
- git describe --tags > VERSION
|
||||
- powershell -command "Get-Date -Format 'yyyy-MM-dd-HH-mm'" > BUILDDATE
|
||||
- .\fetch-libcwtch-go.ps1
|
||||
|
@ -211,14 +215,9 @@ steps:
|
|||
- $Env:builddir += '-'
|
||||
- $Env:builddir += type .\BUILDDATE
|
||||
- echo $Env:builddir
|
||||
- dir
|
||||
- dir build
|
||||
- dir build\\windows
|
||||
- dir build\\windows\\runner
|
||||
- dir build\\windows\\runner\\Release
|
||||
- mkdir deploy
|
||||
- move build\\windows\\runner\\Release $Env:builddir
|
||||
- dir
|
||||
- powershell -command "Expand-Archive -Path tor.zip -DestinationPath $Env:builddir\Tor"
|
||||
- dir deploy
|
||||
- name: deploy-windows
|
||||
image: openpriv/flutter-desktop:windows-sdk30-fdev2.2rc
|
||||
|
@ -229,10 +228,8 @@ steps:
|
|||
BUILDFILES_KEY:
|
||||
from_secret: buildfiles_key
|
||||
commands:
|
||||
#- echo $Env:BUILDFILES_KEY > id_rsa
|
||||
- echo $Env:BUILDFILES_KEY > id_rsab64
|
||||
- certutil -decode id_rsab64 id_rsa
|
||||
- #C:\\bin\\pscp -P 22 -r -batch -i id_rsa deploy\\* buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/
|
||||
- scp -r -o StrictHostKeyChecking=no -i id_rsa deploy\\* buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/
|
||||
|
||||
trigger:
|
||||
|
|
Loading…
Reference in New Issue