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

Update .gitlab-ci.yml file

parent 9d5d3e30
Branches
Tags
No related merge requests found
...@@ -97,13 +97,12 @@ deploy-job-Z2: # This job runs in the deploy stage. ...@@ -97,13 +97,12 @@ deploy-job-Z2: # This job runs in the deploy stage.
- sudo screen -r zynq -X stuff "python3 load_bitfile.py > tmp \n" - sudo screen -r zynq -X stuff "python3 load_bitfile.py > tmp \n"
- sleep 60 - sleep 60
- smbclient //192.168.2.99/xilinx -m SMB3 -U xilinx%xilinx -c 'get tmp' - smbclient //192.168.2.99/xilinx -m SMB3 -U xilinx%xilinx -c 'get tmp'
- echo < tmp - if (grep -r "Overlay Loaded" ./tmp)
- if (diff tmp load_file_output)
- then - then
- echo "Bit file loaded successfully"
- else
- echo "Bit file load failed" - echo "Bit file load failed"
- exit 1 - exit 1
- else
- echo "Bit file loaded successfully"
- fi - fi
after_script: after_script:
- echo gitrunner1 | sudo -S su - echo gitrunner1 | sudo -S su
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment