-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update CI tooling and workflows (#1) #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for diving in @jorgecuesta - there's a lot going on here! 🦾
.env.sample
Outdated
# Uncomment below env variables and comment NODE_ENV= above to run tests instead of the application | ||
#SUB_COMMAND=test | ||
#NODE_ENV=test | ||
|
||
# for development purposes is better reduce the amount of worker due to the number of logs that many |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# for development purposes is better reduce the amount of worker due to the number of logs that many | |
# for development purposes is better reduce the amount of workers due to the number of logs that many |
.env.sample
Outdated
# Uncomment below env variables and comment NODE_ENV= above to run tests instead of the application | ||
#SUB_COMMAND=test | ||
#NODE_ENV=test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about moving these to a .env.test which includes ENDPOINT=http://proxy:26657
? This would be tracked in git.
.env.sample
Outdated
# Drive the docker build and dependencies that will be installed on docker | ||
# also probably is used some layer down on runtime by the code. | ||
NODE_ENV=development |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding of conventional dotenv usage is that NODE_ENV
cannot be included as it's often used to determine which .env file to load, which is a pattern I think we would benefit from here.
.env.sample
Outdated
ENDPOINT=http://proxy:26657 | ||
# Testnet | ||
# ENDPOINT=https://testnet-validated-validator-rpc.poktroll.com | ||
#ENDPOINT=https://testnet-validated-validator-rpc.poktroll.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about adding a .env.dev
that's configured to use poktroll localnet. This can be tracked in git. The .env.sample could then set a higher worker count.
I think the .env.sample
should have the Shannon testnet configured so that when a new developer follows the readme, they end with a working indexer. It is an example of realistic production environment variables.
Close in favor of creating it from another branch that is not |
Summary
WATCH
in favor of usingNODE_ENV
as the driver for dependencies and execution simplifying DevExType of change
Select one or more:
Sanity Checklist