Test [flake-checker](https://determinate.systems/posts/flake-checker/)
Some checks are pending
/ Build Nix targets (push) Waiting to run
Some checks are pending
/ Build Nix targets (push) Waiting to run
This commit is contained in:
parent
6cf8a6ca34
commit
c2da4e06d5
2 changed files with 14 additions and 0 deletions
19
.forgejo/workflows/demo.yml.bak
Normal file
19
.forgejo/workflows/demo.yml.bak
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
on: push
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: nixos/nix:2.24.9
|
||||
steps:
|
||||
- name: Clone repo and connect to ssh
|
||||
run: |
|
||||
nix-shell -p git ssh-agents nixos-rebuild
|
||||
git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor
|
||||
cd nixos-hypervisor
|
||||
echo '${{ secrets.SSH_PRIVATE_KEY }}' > id_ed25519.pub
|
||||
chmod 600 id_ed25519.pub
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add id_ed25519.pub
|
||||
ssh -o StrictHostKeyChecking=accept-new tbarnouin@192.168.1.40 echo "All set !"
|
||||
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake check --show-trace
|
Loading…
Add table
Add a link
Reference in a new issue