Skip to content
Snippets Groups Projects
Commit 88b44d67 authored by dwn1c21's avatar dwn1c21
Browse files

Fix CD deploy on ZCU104 Update .gitlab-ci.yml file

parent 65ff336a
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ deploy-job-ZCU104: # This job runs in the deploy stage. ...@@ -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, # FUTURE Work: need to add error handling for if the board does not connect,
# could grep from screenlog to see if successfully connected # 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 "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 - sleep 10
# use scp to copy over bit files and python script # 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" - 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. ...@@ -193,8 +193,6 @@ deploy-job-ZCU104: # This job runs in the deploy stage.
after_script: after_script:
# cleanup xilinx directories and quit screen # cleanup xilinx directories and quit screen
- screen -r zynq -X stuff "rm load_bitfile.py \n" - 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 - screen -X -S zynq quit
tags: tags:
- VLAB-ZCU - VLAB-ZCU
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment