!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

330 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena117 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
26 Sep 2022
@zhaofeng:zhaofeng.liZhaofeng Li (it's 1 hour and can be controlled with tarball-ttl) 19:46:53
27 Sep 2022
@rendakuenthusiast:imperishable.namerendakuenthusiast
In reply to @zhaofeng:zhaofeng.li
I recommend adding a sha256 to the fetchTarball call so it's pinned to the specific version of the module and cached correctly. If you don't have a sha256, Nix itself has some time-based caching (need to look at the expiration - don't know offhand)
so I updated the file at the url and wanted it to get refetched
00:58:54
@rendakuenthusiast:imperishable.namerendakuenthusiastI tried doing the trick of wiping out the sha256, but it just said that the hash of the previously-downloaded version was what the hash had to be00:59:16
@rendakuenthusiast:imperishable.namerendakuenthusiastnot the new version I uploaded00:59:21
@rendakuenthusiast:imperishable.namerendakuenthusiastso it's not fetching the new version00:59:28
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @rendakuenthusiast:imperishable.name
I tried doing the trick of wiping out the sha256, but it just said that the hash of the previously-downloaded version was what the hash had to be
If you set sha256 to all zeroes (or lib.fakeSha256) does it force a refetch?
01:00:20
@rendakuenthusiast:imperishable.namerendakuenthusiast Zhaofeng Li: that's what i tried, it doesn't force a refresh, it says that it expects the same sha256 that was there before corresponding to the outdated version of the file 03:50:27
@palo:xaos.space@palo:xaos.space changed their profile picture.07:29:30
@palo:xaos.space@palo:xaos.space changed their profile picture.07:31:44
@palo:xaos.space@palo:xaos.space changed their profile picture.07:35:09
@skamdart:matrix.org@skamdart:matrix.org joined the room.21:40:02
30 Sep 2022
@yaya:uwu.isyaya joined the room.12:26:01
@lara:uwu.is@lara:uwu.is left the room.12:36:09
@madonius:entropia.de/madonius[er|he] joined the room.21:11:36
1 Oct 2022
@garionion:entr0py.degarionionhey, i want to convert my previous nixops config to a flake using colmena. however, as we have some shared config and custompackages in our infrastructure, i included the shared git repo as git submodule. however, when i want to deploy/update the servers with colmena, it does not find the file with the overlay config. my flake.nix looks like this: https://dev.paste42.de/FIPsp7Iu2e1OjV7V0RgWY89oZQ431zfZ18:17:29
@garionion:entr0py.degarionion (everything under ./fem is the submodule 18:17:49
@garionion:entr0py.degarionion * (everything under ./fem is the submodule) 18:17:53
@zhaofeng:zhaofeng.liZhaofeng Li

Sadly flakes don't support (*) submodules at the moment. As a workaround, you can add the fem submodule as a flake input.

(*) Actually the water is muddier but this is the simplest description of the situation at the moment.

20:22:10

Show newer messages


Back to Room ListRoom Version: 6