From d5bf357c8010bb1219d04ede14ce699b409e93c5 Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 30 Aug 2020 00:15:08 -0400 Subject: fix the connection issue with --notls flag on; WIP: deployment example --- scripts/deploy/app/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 scripts/deploy/app/build.yml (limited to 'scripts/deploy/app/build.yml') diff --git a/scripts/deploy/app/build.yml b/scripts/deploy/app/build.yml new file mode 100644 index 0000000..2a0c24c --- /dev/null +++ b/scripts/deploy/app/build.yml @@ -0,0 +1,27 @@ +--- +# available vars: +# last_state -- the content of state.json +# nid -- host_idx (with 0 as default) +# ngroup -- the group of nodes involved in the build +# testbed -- the remote path of run_id + +- name: build hotstuff example binaries + block: + - file: + path: "{{ (hs_repo_dir, 'build') | path_join }}" + state: absent + - command: cmake -DCMAKE_BUID_TYPE=Release -DHOTSTUFF_PROTO_LOG=OFF -DCMAKE_CXX_FLAGS={{ hs_flags | default('') }} + args: + chdir: "{{ hs_repo_dir }}" + environment: + PATH: /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/snap/bin + - command: make clean + args: + chdir: "{{ hs_repo_dir }}" + environment: + PATH: /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/snap/bin + - command: make -j4 + args: + chdir: "{{ hs_repo_dir }}" + environment: + PATH: /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/snap/bin -- cgit v1.2.3-70-g09d2