Skip to content

Greg/localnet#1450

Merged
melekes merged 7 commits intodevelopfrom
greg/localnet
Apr 12, 2018
Merged

Greg/localnet#1450
melekes merged 7 commits intodevelopfrom
greg/localnet

Conversation

@greg-szabo
Copy link
Contributor

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG.md

Makefile Outdated
# Run a 4-node testnet locally
docker-start:
# @echo "Wait until 'Attaching to mach0, mach1, mach2, mach3' message appears"
@if ! [ -f build/mach0/config/genesis.json ]; then docker run --rm -e LOG="stdout" -v `pwd`/build:/tendermint tendermint/localnode testnet --dir . --n 4 ; fi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format was changed

@@ -0,0 +1,13 @@
# Makefile for the "localnode" docker image.

localnode:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to all

exit 1
fi

##
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

## Assert linux binary
##
if ! [ -f "${BINARY}" ]; then
echo "The binary `basename ${BINARY}` cannot be found. Please add the binary to the shared folder. E.g.: -e BINARY=tendermint_my_test_version"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

. E.g.: shared folder or use env variable to set binary

Makefile Outdated
gometalinter.v2 --vendor --deadline=600s --enable-all --disable=lll ./...

###########################################################
### Local testnet using docker - for developer use only!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"for developer use only!"

let's remove that too. people should understand what they are doing

Makefile Outdated

# Run a 4-node testnet locally
docker-start:
# @echo "Wait until 'Attaching to mach0, mach1, mach2, mach3' message appears"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover?

localnode:
docker build --tag tendermint/localnode localnode

squash:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remove these 2 too

make build-linux

#Create configuration
docker run -e LOG="stdout" -v `pwd`/build:/tendermint tendermint/localnode testnet --dir . --n 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be updated as well

@codecov-io
Copy link

codecov-io commented Apr 11, 2018

Codecov Report

Merging #1450 into develop will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #1450      +/-   ##
==========================================
- Coverage    63.82%   63.7%   -0.12%     
==========================================
  Files          102     102              
  Lines         9459    9459              
==========================================
- Hits          6037    6026      -11     
- Misses        2862    2868       +6     
- Partials       560     565       +5
Impacted Files Coverage Δ
consensus/state.go 76.25% <0%> (-1.9%) ⬇️
consensus/reactor.go 73.38% <0%> (+0.39%) ⬆️

@melekes
Copy link
Contributor

melekes commented Apr 11, 2018

please rebase against latest develop

@greg-szabo
Copy link
Contributor Author

I don't have access to merge this.

### Local testnet using docker

# Build linux binary on other platforms
build-linux:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add these commands to .PHONY

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, good catch!

@melekes melekes merged commit c0610b2 into develop Apr 12, 2018
@melekes melekes deleted the greg/localnet branch April 12, 2018 11:15
firelizzard18 pushed a commit to AccumulateNetwork/tendermint that referenced this pull request Feb 1, 2024
…tendermint#1450)

Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](styfle/cancel-workflow-action@0.11.0...0.12.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants