Skip to content

Commit

Permalink
fix: build script
Browse files Browse the repository at this point in the history
  • Loading branch information
BastienFaivre committed Jan 20, 2025
1 parent 2939d98 commit 37facbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
members = [
"benchmark/code",
"dog",
"examples/simple",
"examples/*",

# Tests
"dog/tests",
Expand Down
11 changes: 9 additions & 2 deletions benchmark/playbooks/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
- name: Copy dog directory to remote machine
synchronize:
src: "{{ playbook_dir }}/../../../libp2p-dog/dog"
dest: /home/{{ ansible_ssh_user }}/libp2p-dog/dog
dest: /home/{{ ansible_ssh_user }}/libp2p-dog/
mode: push
delete: true

- name: Copy benchmark code directory to remote machine
synchronize:
src: "{{ playbook_dir }}/../../../libp2p-dog/benchmark/code"
dest: /home/{{ ansible_ssh_user }}/libp2p-dog/benchmark/code
dest: /home/{{ ansible_ssh_user }}/libp2p-dog/benchmark/
mode: push
delete: true

Expand All @@ -35,6 +35,13 @@
mode: push
delete: true

- name: Copy examples (needed due to workspace dependencies)
synchronize:
src: "{{ playbook_dir }}/../../../libp2p-dog/examples"
dest: /home/{{ ansible_ssh_user }}/libp2p-dog/
mode: push
delete: true

- name: Build container
shell: |
docker build \
Expand Down

0 comments on commit 37facbd

Please sign in to comment.