2024-09-26 12:57:04 +02:00
|
|
|
build:lagarto-ox:
|
2024-08-26 15:20:16 +02:00
|
|
|
stage: build
|
2024-10-21 08:53:54 +02:00
|
|
|
when: manual
|
2024-08-26 15:20:16 +02:00
|
|
|
tags:
|
|
|
|
- nix
|
|
|
|
script:
|
2024-09-18 15:13:46 +02:00
|
|
|
- nix develop -L .#lagarto-ox --command fpga/run-remotely.sh fpgalogin1:ci
|
2024-10-21 08:53:54 +02:00
|
|
|
|
|
|
|
build:lagarto-ox-tarball:
|
|
|
|
stage: build
|
|
|
|
when: manual
|
|
|
|
tags:
|
|
|
|
- nix
|
|
|
|
script:
|
|
|
|
- nix build -L .#nixosConfigurations.lagarto-ox.pkgs.fpga-tarball
|
|
|
|
- cd result
|
|
|
|
- out=/ceph/home/gitlab-runner/public_html/nixos-riscv/
|
|
|
|
- fn=$(ls | head -1)
|
|
|
|
- cp $fn $out/$fn
|
2024-10-21 09:17:10 +02:00
|
|
|
- rm -f $out/latest.tar.zst
|
|
|
|
- ln -s $out/$fn $out/latest.tar.zst
|
2024-10-21 08:53:54 +02:00
|
|
|
- cd ..
|
|
|
|
- rm result
|