chore/update-momo-main-07-23 #237

Merged
teutat3s merged 67 commits from chore/update-momo-main-07-23 into momo/main 2023-07-15 01:08:45 +00:00
Owner
No description provided.
b12f added 53 commits 2023-07-13 16:19:48 +00:00
host_001_momo_koeln instead
Reviewed-on: 
momo/main

The branch momo/main is now protected from direct pushes and changes
should go through review before getting merged

Fix drone lint errors:
Pipeline stage 'Notification' declares invalid dependency 'Tests'
Pipeline stage 'Publish ISO' declares invalid dependency 'Check'
Reviewed-on: 
Reviewed-by: hensoko <hensoko@gssws.de>
Reviewed-on: 
Reviewed-by: hensoko <hensoko@gssws.de>
Reviewed-on: 
Reviewed-on: 
Reviewed-on: 
Reviewed-on: 
- missing SSH known_hosts in deploy pipeline
- SSH tries to use Trust-On-First-Use (TOFU) interactively to add a new
  host key
- verbose SSH logs:
debug1: Server host key: ssh-ed25519 SHA256:1bbksDNYBWSh/rIFP7MMfs557kWn1dM64bpXdnfBE5E
debug1: read_passphrase: can't open /dev/tty: No such device or address
- deploy-rs uses nix, which uses SSH which doesn't use the environment variable
HOME, but rather /etc/passwd to find a user's HOME
Reviewed-on: 
Reviewed-on: 
Reviewed-on: 
Reviewed-on: 
Reviewed-on: 
Reviewed-on: 
- Fix missing SSH known_hosts in deploy pipeline
- SSH tries to use Trust-On-First-Use (TOFU) interactively to add a new
  host key
- Verbose SSH logs show:
debug1: Server host key: ssh-ed25519 SHA256:1bbksDNYBWSh/rIFP7MMfs557kWn1dM64bpXdnfBE5E
debug1: read_passphrase: can't open /dev/tty: No such device or address
- deploy-rs uses nix, which uses SSH which doesn't use the environment variable
HOME, but rather /etc/passwd to find a user's HOME
- To solve this, we override SSH options using UserKnownHostsFile and
  the -i flag
Reviewed-on: 
Reviewed-on: 
Reviewed-by: teutat3s <teutates@mailbox.org>
Reviewed-on: 
Reviewed-by: teutat3s <teutates@mailbox.org>
Reviewed-on: 
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This got changed while debugging boot failures on this host, by

re-creating swap.
boot.initrd.kernelModules overrides boot.initrd.availableKernelModules
and forces the initrd to load only those modules. This leads to the host
being unbootable in this case because of missing required modules.
availableKernelModules is the correct place for desired modules.

This got fixed during a debugging session of hensoko and teutat3s, but
not implemented in nix code until now.
Reviewed-on: 
Reviewed-by: hensoko <hensoko@gssws.de>
Reviewed-on: 
Reviewed-by: teutat3s <teutates@mailbox.org>
Reviewed-on: 
Reviewed-by: teutat3s <teutates@mailbox.org>
teutat3s changed target branch from main to momo/main 2023-07-13 17:12:03 +00:00
teutat3s added 1 commit 2023-07-13 18:50:35 +00:00
teutat3s force-pushed chore/update-momo-main-07-23 from 1268438acd to 16b35e607f 2023-07-13 19:20:39 +00:00 Compare
teutat3s approved these changes 2023-07-15 01:08:37 +00:00
teutat3s left a comment
Owner

Let's 🚢 it

Let's 🚢 it
teutat3s merged commit b00f13f490 into momo/main 2023-07-15 01:08:45 +00:00
teutat3s deleted branch chore/update-momo-main-07-23 2023-07-15 01:08:45 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/os#237
No description provided.