Skip to content

Commit

Permalink
Disable stricthostkeychecking for scp
Browse files Browse the repository at this point in the history
  • Loading branch information
b- authored Feb 11, 2024
1 parent c97787a commit e9d0a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build_image_template: &BUILD_IMAGE_TEMPLATE
#cp -LR "$(nix build ".#nixosConfigurations.${TARGET}@${ARCH//arm/aarch}-${CIRRUS_OS}.config.formats.${FORMAT}" --print-out-paths --show-trace --accept-flake-config)" build/
upload_artifacts_script: |
printenv UPLOAD_SSH_KEY > /tmp/ci-upload.key
scp -i /tmp/ci-upload.key -oport=222 -oidentitiesonly=true -oPasswordAuthentication=no build/* [email protected]:${DESTDIR}
scp -i /tmp/ci-upload.key -oStrictHostKeyChecking=no -oport=222 -oidentitiesonly=true -oPasswordAuthentication=no build/* [email protected]:${DESTDIR}
compress_artifacts_script: |
filepath=$(find -L "build" -type f -name '*.${EXT}' | head -n 1)
nix-shell -p p7zip.out --run "7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=256m -ms=on nixos-${FORMAT}.7z $filepath"
Expand Down

0 comments on commit e9d0a87

Please sign in to comment.