ci: add upload artifacts step
This commit is contained in:
parent
d786e66467
commit
da496ccdf7
22
.drone.yml
22
.drone.yml
|
@ -22,15 +22,15 @@ type: exec
|
|||
name: Tests
|
||||
|
||||
steps:
|
||||
#- name: "Tests"
|
||||
# environment:
|
||||
# NIX_FLAGS: "--print-build-logs --verbose"
|
||||
# commands:
|
||||
# - 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
||||
# - nix $$NIX_FLAGS build ".#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest"
|
||||
# - nix-store --read-log result
|
||||
# - nix $$NIX_FLAGS flake check
|
||||
# - nix $$NIX_FLAGS develop --command echo OK
|
||||
- name: "Tests"
|
||||
environment:
|
||||
NIX_FLAGS: "--print-build-logs --verbose"
|
||||
commands:
|
||||
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
||||
- nix $$NIX_FLAGS build ".#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest"
|
||||
- nix-store --read-log result
|
||||
- nix $$NIX_FLAGS flake check
|
||||
- nix $$NIX_FLAGS develop --command echo OK
|
||||
|
||||
- name: "Upload artifacts"
|
||||
environment:
|
||||
|
@ -45,8 +45,6 @@ steps:
|
|||
- echo env var TARGET_DIR is set to $$TARGET_DIR
|
||||
- "mkdir ~/.ssh && chmod 700 ~/.ssh"
|
||||
- echo "$$PRIVATE_SSH_KEY" > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519
|
||||
- eval "$(/run/current-system/sw/bin/ssh-agent)"
|
||||
- /run/current-system/sw/bin/ssh-add ~/.ssh/id_ed25519
|
||||
- nix flake new --template "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main" ./tritonshell
|
||||
- git add tritonshell
|
||||
- cd tritonshell
|
||||
|
@ -116,6 +114,6 @@ data: cSWd6rIg8Z51hD+KMenYPX669qb6PWdh9V80Z1YpED68Ffoy73tWEoBjEs2pKUJpcL8qGxMjj5
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 5cbd1354b408875cf235d86cc5b98e109609106237a1337a130391cbf5cd9355
|
||||
hmac: 82e3f3690bafae2ff1962ebc24504275dba0dbca707e14b2a389b31a9f7b57c0
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue