Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
NanoSoC Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
NanoSoC Tech
Commits
f98bf00a
Commit
f98bf00a
authored
2 years ago
by
dwn1c21
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
9d5d3e30
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-4
3 additions, 4 deletions
.gitlab-ci.yml
with
3 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
4
View file @
f98bf00a
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment