Added IdentityFile option due deleting config variable

This commit is contained in:
nesteroff561 2025-05-31 19:35:11 +03:00
parent eba479a4c6
commit 401dc8ee04

View file

@ -26,8 +26,8 @@ tileos-sway-amd64:
#- chmod 644 ~/.ssh/config
- chmod 400 ~/.ssh/id_rsa
- docker run --privileged --rm -i -v ${CI_PROJECT_DIR}/output:/builder/builds -v /proc:/proc builder:latest ./build --desktop sway --release testing
- ssh -o StrictHostKeyChecking=no ${STORAGE_USER}@${STORAGE_HOST} -p ${STORAGE_PORT} rm -rf /media/iso/tile-os/testing/sway/*
- scp -o StrictHostKeyChecking=no -o Port=${STORAGE_PORT} ${STORAGE_USER}@${STORAGE_HOST} -p -B ${CI_PROJECT_DIR}/output/amd64/* /media/iso/tile-os/testing/sway/
- ssh -o StrictHostKeyChecking=no ${STORAGE_USER}@${STORAGE_HOST} -p ${STORAGE_PORT} ~/.ssh/id_rsa rm -rf /media/iso/tile-os/testing/sway/*
- scp -o StrictHostKeyChecking=no -o Port=${STORAGE_PORT} -o IdentityFile=~/.ssh/id_rsa ${STORAGE_USER}@${STORAGE_HOST} -p -B ${CI_PROJECT_DIR}/output/amd64/* /media/iso/tile-os/testing/sway/
tileos-river-amd64:
#rules:
@ -46,8 +46,8 @@ tileos-river-amd64:
#- chmod 644 ~/.ssh/config
- chmod 400 ~/.ssh/id_rsa
- docker run --privileged --rm -i -v ${CI_PROJECT_DIR}/output:/builder/builds -v /proc:/proc builder:latest ./build --desktop river --release testing
- ssh -o StrictHostKeyChecking=no ${STORAGE_USER}@${STORAGE_HOST} -p ${STORAGE_PORT} rm -rf /media/iso/tile-os/testing/river/*
- scp -o StrictHostKeyChecking=no -o Port=${STORAGE_PORT} ${STORAGE_USER}@${STORAGE_HOST} -p -B ${CI_PROJECT_DIR}/output/amd64/* /media/iso/tile-os/testing/river/
- ssh -o StrictHostKeyChecking=no ${STORAGE_USER}@${STORAGE_HOST} -p ${STORAGE_PORT} -i ~/.ssh/id_rsa rm -rf /media/iso/tile-os/testing/river/*
- scp -o StrictHostKeyChecking=no -o Port=${STORAGE_PORT} ${STORAGE_USER}@${STORAGE_HOST} -o IdentityFile=~/.ssh/id_rsa -p -B ${CI_PROJECT_DIR}/output/amd64/* /media/iso/tile-os/testing/river/
mrproper:
#rules: