اصلاح ورک فلو های استقرار

This commit is contained in:
2026-11-10 12:59:46 +03:30
والد 9b5bff8002
کامیت 0528032639
14فایلهای تغییر یافته به همراه38 افزوده شده و 27 حذف شده
@@ -38,41 +38,41 @@ jobs:
PY
- name: Check current U-Boot CLI
run: /usr/bin/python3 scripts/serial_command.py check
run: /usr/bin/python3 deployment/serial/serial_command.py check
- name: Configure and verify network
env:
UBOOT_DEVICE_IP: ${{ vars.UBOOT_DEVICE_IP || '192.168.75.100' }}
TFTP_SERVER_IP: ${{ vars.TFTP_SERVER_IP || '192.168.75.247' }}
run: |
/usr/bin/python3 scripts/serial_command.py configure --device-ip "$UBOOT_DEVICE_IP" --tftp-server-ip "$TFTP_SERVER_IP"
/usr/bin/python3 deployment/serial/serial_command.py configure --device-ip "$UBOOT_DEVICE_IP" --tftp-server-ip "$TFTP_SERVER_IP"
- name: Check all firmware sizes against detected flash layout
run: /usr/bin/python3 scripts/serial_command.py preflight
run: /usr/bin/python3 deployment/serial/serial_command.py preflight
- name: Erase detected SPI flash and verify sample
run: /usr/bin/python3 scripts/serial_command.py erase
run: /usr/bin/python3 deployment/serial/serial_command.py erase
- name: Transfer, write and verify U-Boot
run: /usr/bin/python3 scripts/serial_command.py transfer
run: /usr/bin/python3 deployment/serial/serial_command.py transfer
- name: Transfer, write and verify DTB
run: /usr/bin/python3 scripts/serial_command.py transfer-dtb
run: /usr/bin/python3 deployment/serial/serial_command.py transfer-dtb
- name: Transfer, write and verify Kernel
run: /usr/bin/python3 scripts/serial_command.py transfer-kernel
run: /usr/bin/python3 deployment/serial/serial_command.py transfer-kernel
- name: Transfer, write and verify RootFS
run: /usr/bin/python3 scripts/serial_command.py transfer-rootfs
run: /usr/bin/python3 deployment/serial/serial_command.py transfer-rootfs
- name: Inspect boot configuration
run: /usr/bin/python3 scripts/serial_command.py boot-config
run: /usr/bin/python3 deployment/serial/serial_command.py boot-config
- name: Configure and verify bootcmd for detected flash
run: /usr/bin/python3 scripts/serial_command.py set-bootcmd
run: /usr/bin/python3 deployment/serial/serial_command.py set-bootcmd
- name: Save U-Boot environment before reboot
run: /usr/bin/python3 scripts/serial_command.py saveenv
run: /usr/bin/python3 deployment/serial/serial_command.py saveenv
- name: Reboot hardware after successful flashing
run: /usr/bin/python3 scripts/serial_command.py reboot
run: /usr/bin/python3 deployment/serial/serial_command.py reboot