create integration toml file
This commit is contained in:
parent
3b722c132e
commit
2cc9826be9
24
environments/integration.toml
Normal file
24
environments/integration.toml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[database]
|
||||||
|
name = "vulcanize_public"
|
||||||
|
hostname = "localhost"
|
||||||
|
user = "vulcanize"
|
||||||
|
password = "vulcanize"
|
||||||
|
port = 5432
|
||||||
|
|
||||||
|
[client]
|
||||||
|
ipcPath = "http://147.75.64.249:8545"
|
||||||
|
|
||||||
|
[datadog]
|
||||||
|
name = "maker_vdb_staging"
|
||||||
|
|
||||||
|
[contract]
|
||||||
|
cat = "0x2f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"
|
||||||
|
drip = "0x891c04639a5edcae088e546fa125b5d7fb6a2b9d"
|
||||||
|
eth_flip = "0x32D496Ad866D110060866B7125981C73642cc509"
|
||||||
|
mcd_flop = "0x6191C9b0086c2eBF92300cC507009b53996FbFFa"
|
||||||
|
pep = "0xB1997239Cfc3d15578A3a09730f7f84A90BB4975"
|
||||||
|
pip = "0x9FfFE440258B79c5d6604001674A4722FfC0f7Bc"
|
||||||
|
pit = "0xe7cf3198787c9a4daac73371a38f29aaeeced87e"
|
||||||
|
rep = "0xf88bbdc1e2718f8857f30a180076ec38d53cf296"
|
||||||
|
vat = "0xcd726790550afcd77e9a7a47e86a3f9010af126b"
|
||||||
|
vow = "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1"
|
@ -6,6 +6,7 @@ import (
|
|||||||
|
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
|
"github.com/spf13/viper"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -17,6 +18,13 @@ func TestIntegrationTests(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var _ = BeforeSuite(func() {
|
var _ = BeforeSuite(func() {
|
||||||
ipc = "http://147.75.64.249:8545" //self hosted parity kovan node
|
testConfig := viper.New()
|
||||||
|
testConfig.SetConfigName("integration")
|
||||||
|
testConfig.AddConfigPath("$GOPATH/src/github.com/vulcanize/vulcanizedb/environments/")
|
||||||
|
err := testConfig.ReadInConfig()
|
||||||
|
ipc = testConfig.GetString("client.ipcPath")
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
log.SetOutput(ioutil.Discard)
|
log.SetOutput(ioutil.Discard)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user