mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Problem: No automated way to set up a dev/test network * Problem: docs not updated for stack, ansible and docker based dev environments * Problem: Using apt triggers java runtime installation on MacOS - Update pre_tasks in ansible - Update bigchaindb-stop playbook to handle pre_tasks * Update Tendermint version to 0.19.3 from 0.19.2 * Update tendermint version to 0.19.3 everywhere else * Problem: Sphinx warns about duplicate section labels Solution: Don't use sphinx.ext.autosectionlabel * Problem: Sphinx complains that run-node-with-docker not in any TOC Solution: Add run-node-with-docker to a TOC (i.e. to an index.rst file) * Tendermint has not tagged `0.19.3` container * Problem: Internal hyperlinks to new pages not working Solution: Add .html to the ends of the filename strings * Problem: Invalid script imports * Problem: Invalid comparison for supported OS version * Addressing comments I * Problem: No way to configure dev/forked repo for developers * Problem: Docs not updated with STACK_REPO parameter * Addressing comments II
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
- name: Download Tendermint Binary
|
|
get_url:
|
|
url: "{{ tendermint_binary_url }}"
|
|
dest: "{{ ansible_env.HOME }}/tendermint_binary.zip"
|
|
mode: 0755
|
|
tags: [tendermint]
|
|
|
|
- name: Extract Tendermint Binary
|
|
unarchive:
|
|
src: "{{ ansible_env.HOME }}/tendermint_binary.zip"
|
|
dest: /usr/local/bin
|
|
remote_src: yes
|
|
tags: [tendermint]
|
|
|
|
- name: Creating Tendermint config directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
mode: 0700
|
|
recurse: yes
|
|
with_items: "{{ directories }}"
|
|
when: stack_type|lower == "local"
|
|
tags: [tendermint]
|
|
|
|
- name: Copying Tendermint config files
|
|
copy:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
with_items: "{{ tendermint_conf_files }}"
|
|
tags: [tendermint]
|
|
|
|
- name: Creating files for key exchange
|
|
template: src=start_tendermint.j2 dest=/home/vagrant/test.sh
|
|
mode: 0755
|
|
tags: [tendermint]
|
|
|
|
- name: Start nginx to host public_key
|
|
systemd: name=nginx state=restarted
|
|
tags: [tendermint]
|
|
|
|
- name: Tendermint Process Check
|
|
shell: pgrep tendermint | wc -l
|
|
register: tm_pchk
|
|
tags: [bigchaindb]
|
|
|
|
- name: Run tendermint
|
|
shell: nohup /bin/bash /home/vagrant/test.sh > /tmp/tendermint_log_$(date +%Y%m%d_%H%M%S) 2>&1 &
|
|
register: run_tendermint
|
|
when: tm_pchk.stdout| int == 0
|
|
failed_when: "'FAILED' in run_tendermint.stderr or run_tendermint.rc != 0"
|
|
tags: [tendermint] |