ci: add upload artifacts step
This commit is contained in:
parent
bba6e40579
commit
de4c2d90cb
16
.drone.yml
16
.drone.yml
|
@ -13,9 +13,8 @@ steps:
|
|||
NIX_FLAGS: "--print-build-logs --verbose"
|
||||
commands:
|
||||
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
||||
- nix $$NIX_FLAGS flake show
|
||||
- nix $$NIX_FLAGS develop --command nix flake show
|
||||
- nix $$NIX_FLAGS build ".#nixosConfigurations.PubSolarOS.config.system.build.toplevel"
|
||||
- nix $$NIX_FLAGS develop --command echo OK
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -33,6 +32,17 @@ steps:
|
|||
- nix $$NIX_FLAGS flake check
|
||||
- nix $$NIX_FLAGS develop --command echo OK
|
||||
|
||||
- name: "Upload artifacts"
|
||||
environment:
|
||||
TARGET_DIR: $${DRONE_REPO}/$${DRONE_BUILD_NUMBER}
|
||||
commands:
|
||||
- echo env var TARGET_DIR is set to $$TARGET_DIR
|
||||
- nix flake new --template "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main" ./tritonshell
|
||||
- cd tritonshell
|
||||
- nix develop --command triton profile set lev-1.pub.solar \
|
||||
&& mput -p -f ./result/foot_wayland_info.png ~~/public/$${DRONE_REPO}/$${DRONE_BUILD_NUMBER} \
|
||||
&& mput -p -f ./result/test-wayland.out ~~/public/$${DRONE_REPO}/$${DRONE_BUILD_NUMBER}
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
@ -91,6 +101,6 @@ volumes:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: f78042286446a0649b61bdd28240caf7650cf995804acb714b92d145fa028bdf
|
||||
hmac: 383931b0342f4ff5a5f239ccbfea2f0a9d852f9eec42639c940837dcea4675e7
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue