Drone success 3

Benjamin Bädorf 3 months ago
parent 0b4ef6530a
commit 097b109113
Signed by: b12f
GPG Key ID: 4406E80E13CD656C
  1. 34
      .drone.yml

@ -100,27 +100,31 @@ steps:
- main
- feature/tests
settings:
host:
- 2a02:908:5b1:e3c0:44ca:c259:9d3:8193
host: backup.b12f.io
port: 22
username:
from_secret: ssh_username
key:
from_secret: ssh_key
proxy_host: backup.b12f.io
proxy_username:
from_secret: ssh_proxy_username
proxy_key:
from_secret: ssh_proxy_key
envs:
PROXY_USERNAME:
from_secret: ssh_proxy_username
PROXY_HOST: 2a02:908:5b1:e3c0:44ca:c259:9d3:8193
PROXY_KEY:
from_secret: ssh_proxy_key
command_timeout: 2m
script:
- 'export NIX_FLAGS="--print-build-logs --verbose"'
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
- nix $$NIX_FLAGS flake check
- nix $$NIX_FLAGS build ".#nixosConfigurations.PubSolarOS.config.system.build.toplevel"
- nix $$NIX_FLAGS develop --command echo OK
- nix $$NIX_FLAGS develop --command bud --help
- nix $$NIX_FLAGS build ".#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest"
- "echo $PROXY_KEY > /tmp/my_id_rsa"
- "ssh $PROXY_USERNAME@$PROXY_HOST -i /tmp/my_id_rsa <<EOF
export NIX_FLAGS='--print-build-logs --verbose'
echo 'DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
nix $$NIX_FLAGS flake check
nix $$NIX_FLAGS build '.#nixosConfigurations.PubSolarOS.config.system.build.toplevel'
nix $$NIX_FLAGS develop --command echo OK
nix $$NIX_FLAGS develop --command bud --help
nix $$NIX_FLAGS build '.#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest'
EOF"
---
kind: pipeline
@ -172,6 +176,6 @@ volumes:
---
kind: signature
hmac: 879052804637f7871a9eedd7a11f7306298a6af5f01a4df5001fd1f4f3530514
hmac: 2593e3b16acd78f482589d0240e2216a457378bd18a5fa61d8d34c47677aa34c
...

Loading…
Cancel
Save