Compare commits

..

4 commits

Author SHA1 Message Date
aac9de0ae0 fixup! Update CI pipleline for auto deployment
Some checks failed
CI / build (push) Successful in 1m44s
CI / deploy (docs-ops.qo.is) (push) Successful in 1m20s
CI / deploy (system-vm) (push) Failing after 1m36s
2025-04-19 18:26:39 +03:00
5c88f24f8e TMP: Deploy from deploy-vms-branch
Some checks failed
CI / build (push) Successful in 1m49s
CI / deploy (docs-ops.qo.is) (push) Failing after 12s
CI / deploy (system-vm) (push) Failing after 13s
2025-04-19 18:20:49 +03:00
d7d88d4509 Update CI pipleline for auto deployment 2025-04-19 18:20:30 +03:00
00421a0e44 Add SSH_DEPLOY_KEY handling to auto-deploy script 2025-04-19 18:20:04 +03:00
2 changed files with 1 additions and 5 deletions

View file

@ -13,10 +13,6 @@ with lib;
config = lib.mkIf cfg.enable {
users.users.root.openssh.authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBS65v7n5ozOUjYGuO/dgLC9C5MUGL5kTnQnvWAYP5B3 ci@git.qo.is"
]; # TODO: Move this key to allow CI deployment for all machines.
boot.loader.grub.enable = true;
system.autoUpgrade.allowReboot = true;

View file

@ -60,6 +60,6 @@ retry() {
for HOST in $HOSTS; do
retry 3 deploy \
--skip-checks \
--ssh-opts "-o UserKnownHostsFile=${KNOWN_HOSTS_FILE} ${SSH_KEY_FILE_ARG:-}" \
--ssh-opts "-o UserKnownHostsFile=${KNOWN_HOSTS_FILE} ${SSH_KEY_FILE_ARG:-''}" \
--targets "${FLAKE_ROOT}#\"${HOST}\".\"${PROFILE}\""
done