nixos-riscv/.gitlab-ci.yml

27 lines
701 B
YAML
Raw Normal View History

2024-09-26 12:57:04 +02:00
build:lagarto-ox:
2024-08-26 15:20:16 +02:00
stage: build
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
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
- rm -f $out/latest.tar.zst
- ln -s $out/$fn $out/latest.tar.zst
- cd ..
- rm result
2024-10-21 09:21:49 +02:00
- |
echo "Pinned: https://jungle.bsc.es/~gitlab-runner/nixos-riscv/$fn"
echo "Latest: https://jungle.bsc.es/~gitlab-runner/nixos-riscv/latest.tar.zst"