Drone success 7

Benjamin Bädorf 3 months ago
parent 26912a28e6
commit 384ed3b86c
Signed by: b12f
GPG Key ID: 4406E80E13CD656C
  1. 39
      .drone.yml

@ -100,31 +100,26 @@ steps:
- main
- feature/tests
settings:
host: cloud.b12f.io
port: 2020
host: 192.168.178.161
port: 22
username:
from_secret: root
from_secret: ssh_proxy_username
key:
from_secret: ssh_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
from_secret: ssh_proxy_key
proxy_username: root
proxy_host: cloud.b12f.io
proxy_port: 2020
proxy_key:
from_secret: ssh_proxy_key
command_timeout: 2m
script:
- "ip a s"
- "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"
- "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'"
---
@ -177,6 +172,6 @@ volumes:
---
kind: signature
hmac: d755fe73baa51b4edd67a3f937b0e577dd8effd0c819bc051ff9a6f25855588f
hmac: cf90b9acd4e4edf16dbbfb1c9850103b37d36ec9efa25bf9f48e947e3c1de9b1
...

Loading…
Cancel
Save