forked from hacc/haccfiles
readme: remove old and add commit format
This commit is contained in:
parent
ee2a3ae0b8
commit
1a383c5ca4
2 changed files with 9 additions and 22 deletions
|
@ -19,3 +19,12 @@ nix build -f . deploy.$hostname && ./result switch
|
|||
```
|
||||
|
||||
`$hostname` can be replaced with any hostname or group
|
||||
|
||||
## committing to haccfiles
|
||||
- split up commits, every commit is one atomic change
|
||||
- e.g. no big "did some changes" but instead "updated service x", "updated service y", "update service z"
|
||||
- follow the commit format: "$prefix$place: $change"
|
||||
- prefix: one of fixup, nothing
|
||||
- place: one of "modules/$module", "$hostname/service", "common/($place)", "pkgs/$pkgs" or "sources"
|
||||
- change: describe your change, don't go over the character limit where git starts hiding/wrapping
|
||||
- Exception: autogenerated messages (merge commits, reverts, etc)
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
# deploy auf hainich
|
||||
**NICHT** nix os-re build sw itch
|
||||
Auf hainich mit ssh verbinden.
|
||||
Im root Verzeichnis sollte das haccfiles repro (das hier) liegen
|
||||
Falls ja, einfach pullen
|
||||
``git pull origin main;``
|
||||
|
||||
sonst erneut clonen
|
||||
|
||||
``git clone https://gitlab.infra4future.de/infra/haccfiles.git``
|
||||
|
||||
dann in das repro wechseln
|
||||
|
||||
``cd /root/haccfiles``
|
||||
|
||||
Und das ganze bauen
|
||||
|
||||
``nix build -f . -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz deploy.hainich``
|
||||
|
||||
und mit ``./result`` als neue boot option auswählen und darauf wechseln
|
||||
oder
|
||||
mit``./result test`` das ganze nur bis zum reboot zu behalten.
|
Loading…
Reference in a new issue