Skip to content

Commit 83190b8

Browse files
committed
feat: remove experiments (moved to dedicated repo)
1 parent 38ef86a commit 83190b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+6
-2270
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,8 @@ docker_dev:
126126
docker push fledgre/$$cli:dev; \
127127
done
128128

129-
deploy_experiments_binaries: build_cli_release_musl
130-
@echo "INFO: run make deploy_experiments to rsync the experiment files."
131-
@cd experiments && ./deploy-binaries.sh
132-
133-
deploy_experiments:
134-
@echo "INFO: run make deploy_experiments_binaries to recompile and upload the binaries."
135-
@cd experiments && ./deploy-experiments.sh
129+
binaries_then_deploy: build_cli_release_musl
130+
@./deploy-binaries.sh
136131

137132
clean:
138133
for c in ${CARGOS}; do \

experiments/deploy-binaries.sh renamed to deploy-binaries.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ if test "$#" -ne 0; then
55
exit 1
66
fi
77

8-
if ! test -f "../target-common/x86_64-unknown-linux-musl/release/flsignal"; then
8+
if ! test -f "target-common/x86_64-unknown-linux-musl/release/flsignal"; then
99
echo "ERROR: you did not compile flsignal with musl. The experiment will not work."
1010
echo "Aborting..."
1111
exit 1
1212
fi
1313

14-
if ! test -f "../target-common/x86_64-unknown-linux-musl/release/fledger"; then
14+
if ! test -f "target-common/x86_64-unknown-linux-musl/release/fledger"; then
1515
echo "ERROR: you did not compile fledger with musl. The experiment will not work."
1616
echo "Aborting..."
1717
exit 1
1818
fi
1919

2020
echo "Copying fledger and flsignal binaries..."
2121
scp \
22-
../target-common/x86_64-unknown-linux-musl/release/fledger \
23-
../target-common/x86_64-unknown-linux-musl/release/flsignal \
22+
target-common/x86_64-unknown-linux-musl/release/fledger \
23+
target-common/x86_64-unknown-linux-musl/release/flsignal \
2424
sphere-fledger:

experiments/README.md

Lines changed: 0 additions & 111 deletions
This file was deleted.

experiments/deploy-experiments.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

experiments/exp01-onechat2/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
-13.7 KB
Binary file not shown.

experiments/exp01-onechat2/explanation.puml

Lines changed: 0 additions & 18 deletions
This file was deleted.

experiments/exp01-onechat2/fledger-recv.service

Lines changed: 0 additions & 13 deletions
This file was deleted.

experiments/exp01-onechat2/fledger-send.service

Lines changed: 0 additions & 13 deletions
This file was deleted.

experiments/exp01-onechat2/flsignal.service

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)