test ssh access

pull/110/head
Alya Sirko 2022-08-30 21:30:32 +03:00
parent 74b52b317b
commit 50788fe21c
1 changed files with 4 additions and 10 deletions

View File

@ -1,18 +1,12 @@
kind: pipeline
type: exec
name: default
name: debug
steps:
- name: build
- name: test
commands:
- nix-shell --pure --run "flutter build apk --split-per-abi"
environment:
NIX_PATH: "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:unstable=/nix/var/nix/profiles/per-user/root/channels/unstable"
NIXPKGS_ALLOW_UNFREE: 1
- name: deploy
commands:
- scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo
- ssh-add - <<< "${SSH_PRIVATE_KEY}"
- ssh isolated echo hello
node:
server: builder