From 88b44d6789aeff477680cee0df9cf63ec5d4e8e7 Mon Sep 17 00:00:00 2001 From: dwn1c21 <d.newbrook@soton.ac.uk> Date: Thu, 4 May 2023 10:16:50 +0000 Subject: [PATCH] Fix CD deploy on ZCU104 Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index beb89ce..92d6a8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -161,7 +161,7 @@ deploy-job-ZCU104: # This job runs in the deploy stage. # FUTURE Work: need to add error handling for if the board does not connect, # could grep from screenlog to see if successfully connected - screen -r zynq -X stuff "cp -r /home/dwn1c21/FPGA/. ./ \n" - - screen -r zynq -X stuff "./ZCU104_connect.sh > connect_log\n" + - screen -r zynq -X stuff "./ZCU104_connect.sh\n" - sleep 10 # use scp to copy over bit files and python script - screen -r zynq -X stuff "scp -i ~/.ssh/id_rsa dwn1c21@soclabs.soton.ac.uk:~/builds/wzndG1mA/0/soclabs/nanosoc_tech/system/fpga_imp/CI_verification/load_bitfile.py ./ \n" @@ -193,8 +193,6 @@ deploy-job-ZCU104: # This job runs in the deploy stage. after_script: # cleanup xilinx directories and quit screen - screen -r zynq -X stuff "rm load_bitfile.py \n" - - screen -r zynq -X stuff "rm artifacts.zip \n" - - screen -r zynq -X stuff "rm -r ./Cortex-M0 \n" - screen -X -S zynq quit tags: - VLAB-ZCU -- GitLab