diff options
author | Determinant <tederminant@gmail.com> | 2020-08-30 00:15:08 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2020-08-30 00:15:08 -0400 |
commit | d5bf357c8010bb1219d04ede14ce699b409e93c5 (patch) | |
tree | 042e6bc94994b899c9b31b7816648b557271a3f5 /scripts/deploy/app/build.yml | |
parent | dc28778f9c10d8128abfcf4fea7339c69bd6074d (diff) |
fix the connection issue with --notls flag on; WIP: deployment example
Diffstat (limited to 'scripts/deploy/app/build.yml')
-rw-r--r-- | scripts/deploy/app/build.yml | 27 |
1 files changed, 27 insertions, 0 deletions
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 |