Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tristancacqueray/zuul-nix
Nix package for Zuul
https://github.com/tristancacqueray/zuul-nix
Last synced: 14 days ago
JSON representation
Nix package for Zuul
- Host: GitHub
- URL: https://github.com/tristancacqueray/zuul-nix
- Owner: TristanCacqueray
- License: apache-2.0
- Created: 2021-02-14T16:00:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T22:47:46.000Z (over 3 years ago)
- Last Synced: 2024-10-11T01:41:50.991Z (27 days ago)
- Language: Nix
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zuul-nix
Nix package for zuul
## Overview and scope
Using nix to setup Zuul enables:
- Full control over the requirements, from the libc to the python interpreter
- Reproducable build
- Integration test vm## Usage
Build vm:
```
nix-build vm.nix -A vm --arg configuration ./configuration.nix
```Run vm:
```
QEMU_OPTS=-nographic QEMU_NET_OPTS=hostfwd=tcp::2221-:22 ./result/bin/run-zuul-integration-vm
```Ssh vm:
```
ssh root@localhost -p 2221 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
```Remove state overlay:
```
rm zuul-integration.qcow2
```Build container:
```
nix-build ./container.nix
podman load -i ./result
```