Skip to content

Commit

Permalink
Workaround rsync_project exclude flag issue (#921)
Browse files Browse the repository at this point in the history
* Workaround rsync_project exclude issue

* Use `rsync_project` `exclude` option
  • Loading branch information
abejgonzalez committed Feb 10, 2022
1 parent dfb4de8 commit ce3de16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/buildtools/buildafi.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ def on_build_failure():
rsync_cap = rsync_project(local_dir=ddir + "/../platforms/f1/aws-fpga",
remote_dir='/home/centos/firesim-build/platforms/f1/',
ssh_opts="-o StrictHostKeyChecking=no",
exclude="hdk/cl/developer_designs/cl_*",
exclude=["hdk/cl/developer_designs/cl_*"],
extra_opts="-l", capture=True)
rootLogger.debug(rsync_cap)
rootLogger.debug(rsync_cap.stderr)
rsync_cap = rsync_project(local_dir=ddir + "/../platforms/f1/aws-fpga/{}/*".format(fpgabuilddir),
remote_dir='/home/centos/firesim-build/platforms/f1/aws-fpga/' + remotefpgabuilddir,
exclude='build/checkpoints',
exclude=['build/checkpoints'],
ssh_opts="-o StrictHostKeyChecking=no",
extra_opts="-l", capture=True)
rootLogger.debug(rsync_cap)
Expand Down

0 comments on commit ce3de16

Please sign in to comment.