vega-frontend-monorepo/vegacapsule/config.hcl

103 lines
2.3 KiB
HCL
Raw Normal View History

Test/757 tfe add e2e tests for governance (#1236) * test: initial commit * test: lint * chore: set different environement variable for rest url * test: enable commented out steps * chore: set base correctly * chore: correct env var * test: update to function * test: lint * test: governance flow * test: lint * test: extra tests * fix: set fetchPolicy to not cache results so new proposals are updated * test: update * test: lint * test: extra tests * test: lint * test: add wait and select proposal * test: lint * test: extra checks * test: lint * Revert "chore: use custom vega capsule file (#1055)" This reverts commit 6b4b896bbc9fd6a483917a5957d08bf5cfd70be7. * test: final commit of initial tests * test: removal of unused file * test: before all change to reset before each test * test: speed enhancement * test: lint * test: lint check fix * test: extra tests and checks * test: lint * test: extra tests and checks * test: lint * test: extra checks & error handling * test: lint * test: lint * test: wallet update * test: lint * test: lint * test: begining of test refactor due to ui revamp * test: lint * test: extra test * test: lint * test: extra test enable prev skipped * test: lint * test: small changes * test: update ahead of merge * test: in house vegcapsule config changes * test: lint * chore: add vegacapsule config for newer repo * chore: remove dead config files * test: genesis and tweaks * test: lint * test: added wait to avoid flake * test: enhancements * test: lint * chore: fix lint Co-authored-by: Dexter <dexter.edwards93@gmail.com> Co-authored-by: Dexter <dexter@vega.xyz> Co-authored-by: Joe <joe@vega.xyz>
2022-09-05 08:57:02 +00:00
vega_binary_path = "vega"
network "testnet" {
ethereum {
chain_id = "1440"
network_id = "1441"
endpoint = "http://127.0.0.1:8545/"
}
faucet "faucet-1" {
wallet_pass = "f4uc3tw4ll3t-v3g4-p4ssphr4e3"
template = <<-EOT
[Node]
Port = 3002
IP = "127.0.0.1"
EOT
}
wallet "wallet-1" {
template = <<-EOT
Name = "DV"
Level = "info"
TokenExpiry = "168h0m0s"
Port = 1789
Host = "0.0.0.0"
[API]
[API.GRPC]
Hosts = [{{range $i, $v := .Validators}}{{if ne $i 0}},{{end}}"127.0.0.1:30{{$i}}2"{{end}}]
Retries = 5
EOT
}
pre_start {
docker_service "ganache-1" {
image = "vegaprotocol/ganache:latest"
cmd = "ganache-cli"
args = [
"--blockTime", "1",
"--chainId", "1440",
"--networkId", "1441",
"-h", "0.0.0.0",
"-p", "8545",
"-m", "ozone access unlock valid olympic save include omit supply green clown session",
"--db", "/app/ganache-db",
]
static_port {
value = 8545
to = 8545
}
auth_soft_fail = true
}
docker_service "postgres-1" {
image = "vegaprotocol/timescaledb:2.8.0-pg14"
Test/757 tfe add e2e tests for governance (#1236) * test: initial commit * test: lint * chore: set different environement variable for rest url * test: enable commented out steps * chore: set base correctly * chore: correct env var * test: update to function * test: lint * test: governance flow * test: lint * test: extra tests * fix: set fetchPolicy to not cache results so new proposals are updated * test: update * test: lint * test: extra tests * test: lint * test: add wait and select proposal * test: lint * test: extra checks * test: lint * Revert "chore: use custom vega capsule file (#1055)" This reverts commit 6b4b896bbc9fd6a483917a5957d08bf5cfd70be7. * test: final commit of initial tests * test: removal of unused file * test: before all change to reset before each test * test: speed enhancement * test: lint * test: lint check fix * test: extra tests and checks * test: lint * test: extra tests and checks * test: lint * test: extra checks & error handling * test: lint * test: lint * test: wallet update * test: lint * test: lint * test: begining of test refactor due to ui revamp * test: lint * test: extra test * test: lint * test: extra test enable prev skipped * test: lint * test: small changes * test: update ahead of merge * test: in house vegcapsule config changes * test: lint * chore: add vegacapsule config for newer repo * chore: remove dead config files * test: genesis and tweaks * test: lint * test: added wait to avoid flake * test: enhancements * test: lint * chore: fix lint Co-authored-by: Dexter <dexter.edwards93@gmail.com> Co-authored-by: Dexter <dexter@vega.xyz> Co-authored-by: Joe <joe@vega.xyz>
2022-09-05 08:57:02 +00:00
cmd = "postgres"
args = []
env = {
POSTGRES_USER="vega"
POSTGRES_PASSWORD="vega"
POSTGRES_DBS="vega0,vega1,vega2,vega3,vega4,vega5,vega6"
}
static_port {
value = 5232
to = 5432
}
resources {
cpu = 600
memory = 900
}
Test/757 tfe add e2e tests for governance (#1236) * test: initial commit * test: lint * chore: set different environement variable for rest url * test: enable commented out steps * chore: set base correctly * chore: correct env var * test: update to function * test: lint * test: governance flow * test: lint * test: extra tests * fix: set fetchPolicy to not cache results so new proposals are updated * test: update * test: lint * test: extra tests * test: lint * test: add wait and select proposal * test: lint * test: extra checks * test: lint * Revert "chore: use custom vega capsule file (#1055)" This reverts commit 6b4b896bbc9fd6a483917a5957d08bf5cfd70be7. * test: final commit of initial tests * test: removal of unused file * test: before all change to reset before each test * test: speed enhancement * test: lint * test: lint check fix * test: extra tests and checks * test: lint * test: extra tests and checks * test: lint * test: extra checks & error handling * test: lint * test: lint * test: wallet update * test: lint * test: lint * test: begining of test refactor due to ui revamp * test: lint * test: extra test * test: lint * test: extra test enable prev skipped * test: lint * test: small changes * test: update ahead of merge * test: in house vegcapsule config changes * test: lint * chore: add vegacapsule config for newer repo * chore: remove dead config files * test: genesis and tweaks * test: lint * test: added wait to avoid flake * test: enhancements * test: lint * chore: fix lint Co-authored-by: Dexter <dexter.edwards93@gmail.com> Co-authored-by: Dexter <dexter@vega.xyz> Co-authored-by: Joe <joe@vega.xyz>
2022-09-05 08:57:02 +00:00
auth_soft_fail = true
}
}
genesis_template_file = "./genesis.tmpl"
smart_contracts_addresses_file = "./public_smart_contracts_addresses.json"
node_set "validators" {
count = 2
mode = "validator"
node_wallet_pass = "n0d3w4ll3t-p4ssphr4e3"
vega_wallet_pass = "w4ll3t-p4ssphr4e3"
ethereum_wallet_pass = "ch41nw4ll3t-3th3r3um-p4ssphr4e3"
config_templates {
vega_file = "./node_set_templates/default/vega_validators.tmpl"
tendermint_file = "./node_set_templates/default/tendermint_validators.tmpl"
}
}
node_set "full" {
count = 1
mode = "full"
use_data_node = true
Test/757 tfe add e2e tests for governance (#1236) * test: initial commit * test: lint * chore: set different environement variable for rest url * test: enable commented out steps * chore: set base correctly * chore: correct env var * test: update to function * test: lint * test: governance flow * test: lint * test: extra tests * fix: set fetchPolicy to not cache results so new proposals are updated * test: update * test: lint * test: extra tests * test: lint * test: add wait and select proposal * test: lint * test: extra checks * test: lint * Revert "chore: use custom vega capsule file (#1055)" This reverts commit 6b4b896bbc9fd6a483917a5957d08bf5cfd70be7. * test: final commit of initial tests * test: removal of unused file * test: before all change to reset before each test * test: speed enhancement * test: lint * test: lint check fix * test: extra tests and checks * test: lint * test: extra tests and checks * test: lint * test: extra checks & error handling * test: lint * test: lint * test: wallet update * test: lint * test: lint * test: begining of test refactor due to ui revamp * test: lint * test: extra test * test: lint * test: extra test enable prev skipped * test: lint * test: small changes * test: update ahead of merge * test: in house vegcapsule config changes * test: lint * chore: add vegacapsule config for newer repo * chore: remove dead config files * test: genesis and tweaks * test: lint * test: added wait to avoid flake * test: enhancements * test: lint * chore: fix lint Co-authored-by: Dexter <dexter.edwards93@gmail.com> Co-authored-by: Dexter <dexter@vega.xyz> Co-authored-by: Joe <joe@vega.xyz>
2022-09-05 08:57:02 +00:00
config_templates {
vega_file = "./node_set_templates/default/vega_full.tmpl"
tendermint_file = "./node_set_templates/default/tendermint_full.tmpl"
data_node_file = "./node_set_templates/default/data_node_full_external_postgres.tmpl"
}
}
}