forked from cwtch.im/cwtch-ui
drone update to new repo
This commit is contained in:
parent
4c370007d9
commit
53799c1107
20
.drone.yml
20
.drone.yml
|
@ -19,7 +19,7 @@ steps:
|
||||||
- chmod 400 ~/.ssh/id_rsa
|
- chmod 400 ~/.ssh/id_rsa
|
||||||
# force by pass of ssh host key check, less secure
|
# force by pass of ssh host key check, less secure
|
||||||
- ssh-keyscan -H git.openprivacy.ca >> ~/.ssh/known_hosts
|
- ssh-keyscan -H git.openprivacy.ca >> ~/.ssh/known_hosts
|
||||||
- git clone gogs@git.openprivacy.ca:flutter/flutter_app.git .
|
- git clone gogs@git.openprivacy.ca:cwtch.im/cwtch-ui.git .
|
||||||
- git checkout $DRONE_COMMIT
|
- git checkout $DRONE_COMMIT
|
||||||
|
|
||||||
- name: fetch
|
- name: fetch
|
||||||
|
@ -110,18 +110,6 @@ steps:
|
||||||
- flutter test --coverage
|
- flutter test --coverage
|
||||||
- genhtml coverage/lcov.info -o coverage/html
|
- genhtml coverage/lcov.info -o coverage/html
|
||||||
|
|
||||||
# Todo: gonna need more work on container
|
|
||||||
# https://flutter.dev/desktop
|
|
||||||
# requirements: Visual Studio 2019 (not to be confused with Visual Studio Code) with the “Desktop development with C++” workload installed, including all of its default components
|
|
||||||
#- name: build-windows
|
|
||||||
# image: cirrusci/flutter:dev
|
|
||||||
#- volumes:
|
|
||||||
# - name: deps
|
|
||||||
# path: /root/.pub-cache
|
|
||||||
# commands:
|
|
||||||
# - flutter config --enable-windows-desktop
|
|
||||||
# - flutter build windows
|
|
||||||
|
|
||||||
- name: deploy-buildfiles
|
- name: deploy-buildfiles
|
||||||
image: kroniak/ssh-client
|
image: kroniak/ssh-client
|
||||||
environment:
|
environment:
|
||||||
|
@ -172,7 +160,7 @@ volumes:
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
repo: flutter/flutter_app
|
repo: cwtch.im/cwtch-ui
|
||||||
branch: trunk
|
branch: trunk
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
@ -205,7 +193,7 @@ steps:
|
||||||
- git init
|
- git init
|
||||||
# -o UserKnownHostsFile=../known_hosts
|
# -o UserKnownHostsFile=../known_hosts
|
||||||
- git config core.sshCommand 'ssh -o StrictHostKeyChecking=no -i ../id_rsa'
|
- git config core.sshCommand 'ssh -o StrictHostKeyChecking=no -i ../id_rsa'
|
||||||
- git remote add origin gogs@git.openprivacy.ca:flutter/flutter_app.git
|
- git remote add origin gogs@git.openprivacy.ca:cwtch.im/cwtch-ui.git
|
||||||
- git pull origin trunk
|
- git pull origin trunk
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- git checkout $DRONE_COMMIT
|
- git checkout $DRONE_COMMIT
|
||||||
|
@ -278,7 +266,7 @@ steps:
|
||||||
- scp -r -o StrictHostKeyChecking=no -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:
|
trigger:
|
||||||
repo: flutter/flutter_app
|
repo: cwtch.im/cwtch-ui
|
||||||
branch: trunk
|
branch: trunk
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
Loading…
Reference in New Issue