Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV 841: Further docker, tests improvements #280

Merged
merged 45 commits into from
Feb 24, 2022
Merged

DEV 841: Further docker, tests improvements #280

merged 45 commits into from
Feb 24, 2022

Conversation

askolesov
Copy link
Contributor

No description provided.

@ankurdotb
Copy link
Contributor

@askolesov askolesov changed the title Further docker, tests improvements [DEV 841] DEV 841: Further docker, tests improvements Feb 16, 2022
@askolesov askolesov marked this pull request as ready for review February 17, 2022 10:07
Copy link
Contributor

@ankurdotb ankurdotb left a comment

Choose a reason for hiding this comment

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

Thanks for this @askolesov, I know this is a huge PR. Please take a look at the comments highlighted and take a look at what you agree with / to fix.

A few generic comments (that applies to multiple nodes)

  • Set fast sync version to v0 (if not already done in code)
  • Set minimum gas price (to be equivalent to production networks)
  • Try setting create empty blocks to false (if it isn’t already by default)

.github/workflows/release.yml Outdated Show resolved Hide resolved
docker/entrypoint.sh Show resolved Hide resolved
docker/localnet/container-env/observer-0.env Show resolved Hide resolved
docker/localnet/container-env/seed-0.env Show resolved Hide resolved
docker/localnet/docker-compose.env Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
@askolesov
Copy link
Contributor Author

@ankurdotb Thanks for the review! Happy to discuss the comments above in huddle to close this PR faster if it's OK for you.

* Set fast sync version to v0 (if not already done in code)

It's v0 by default.

* Set minimum gas price (to be equivalent to production networks)

Good point, fixed.

* Try setting create empty blocks to false (if it isn’t already by default)

Done.

@askolesov askolesov requested a review from ankurdotb February 21, 2022 16:17
Copy link
Contributor

@ankurdotb ankurdotb left a comment

Choose a reason for hiding this comment

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

Final few discussions to close out

cmd/cheqd-noded/cmd/debug_extensions.go Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
@askolesov askolesov merged commit e5160fc into main Feb 24, 2022
@askolesov askolesov deleted the DEV-841 branch February 24, 2022 12:39
lampkin-diet pushed a commit that referenced this pull request Feb 28, 2022
* Restructure tests

* Remove libindy

* Remove docker-localnet image

* New docker compose draft

* Comment out build section

* Fix docker builds

* Working docker-compose based localnet

* Fix doc

* Fix localnet setup

* Fix image name

* Fix test paths

* Fix paths

* Fix paths

* Expose RPC ports

* Add docker version output

* Print docker compose version

* Docker compose version

* Revert docker compose version print

* Fix paths

* Make other steps to use compose based localnet

* Remove testnet image building and publishing

* Fix ports

* Comment external address

* Remove external address from localnet nodes

* Fix paths

* Get rid of configure mapping in docker entrypoint script

* Add api, consensus configuration to localnet

* Fix paths in the upgrade test

* Fix linter issues

* For the previous commit

* Make container.env to utilize cosmos native env vars

* Revert unnecessary changes

* Add new line at the EOF

* Remove remainings of the testnet image

* Extract env vars of testnet into separate files

* Fix images publishing

* Move import-keys script to localnet

* Set default minimum gas prices for localnet

* Set CREATE_EMPTY_BLOCKS to false

* Replace PAT with GITHUB_TOKEN

* Fix registry name in release pipeline

* Add missing seed_mode

* Fix panic in case of invalid key format (#284)

Co-authored-by: Ankur Banerjee <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
lampkin-diet pushed a commit that referenced this pull request Feb 28, 2022
* Restructure tests

* Remove libindy

* Remove docker-localnet image

* New docker compose draft

* Comment out build section

* Fix docker builds

* Working docker-compose based localnet

* Fix doc

* Fix localnet setup

* Fix image name

* Fix test paths

* Fix paths

* Fix paths

* Expose RPC ports

* Add docker version output

* Print docker compose version

* Docker compose version

* Revert docker compose version print

* Fix paths

* Make other steps to use compose based localnet

* Remove testnet image building and publishing

* Fix ports

* Comment external address

* Remove external address from localnet nodes

* Fix paths

* Get rid of configure mapping in docker entrypoint script

* Add api, consensus configuration to localnet

* Fix paths in the upgrade test

* Fix linter issues

* For the previous commit

* Make container.env to utilize cosmos native env vars

* Revert unnecessary changes

* Add new line at the EOF

* Remove remainings of the testnet image

* Extract env vars of testnet into separate files

* Fix images publishing

* Move import-keys script to localnet

* Set default minimum gas prices for localnet

* Set CREATE_EMPTY_BLOCKS to false

* Replace PAT with GITHUB_TOKEN

* Fix registry name in release pipeline

* Add missing seed_mode

* Fix panic in case of invalid key format (#284)

Co-authored-by: Ankur Banerjee <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
lampkin-diet pushed a commit that referenced this pull request Feb 28, 2022
* Restructure tests

* Remove libindy

* Remove docker-localnet image

* New docker compose draft

* Comment out build section

* Fix docker builds

* Working docker-compose based localnet

* Fix doc

* Fix localnet setup

* Fix image name

* Fix test paths

* Fix paths

* Fix paths

* Expose RPC ports

* Add docker version output

* Print docker compose version

* Docker compose version

* Revert docker compose version print

* Fix paths

* Make other steps to use compose based localnet

* Remove testnet image building and publishing

* Fix ports

* Comment external address

* Remove external address from localnet nodes

* Fix paths

* Get rid of configure mapping in docker entrypoint script

* Add api, consensus configuration to localnet

* Fix paths in the upgrade test

* Fix linter issues

* For the previous commit

* Make container.env to utilize cosmos native env vars

* Revert unnecessary changes

* Add new line at the EOF

* Remove remainings of the testnet image

* Extract env vars of testnet into separate files

* Fix images publishing

* Move import-keys script to localnet

* Set default minimum gas prices for localnet

* Set CREATE_EMPTY_BLOCKS to false

* Replace PAT with GITHUB_TOKEN

* Fix registry name in release pipeline

* Add missing seed_mode

* Fix panic in case of invalid key format (#284)

Co-authored-by: Ankur Banerjee <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants