From 1b37e66d9d08e786fd15f82b3c6655d69523a1e7 Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Thu, 23 Jan 2020 13:38:51 -0600 Subject: [PATCH] travis ssh (#175) --- .travis.yml | 28 ++++++++++++++++------------ environments/testing.toml | 2 +- temp_rsa.enc | Bin 0 -> 1856 bytes 3 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 temp_rsa.enc diff --git a/.travis.yml b/.travis.yml index 9c4c6b5d..ad1505f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,27 @@ dist: trusty language: go go: - - 1.12 +- 1.12 services: - - postgresql +- postgresql addons: + ssh_known_hosts: arch1.vdb.to postgresql: '11.2' go_import_path: github.com/vulcanize/vulcanizedb before_install: - - make installtools - - bash ./scripts/install-postgres-11.sh - - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - - - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list - - sudo apt-get update && sudo apt-get install yarn +- openssl aes-256-cbc -K $encrypted_e1db309e8776_key -iv $encrypted_e1db309e8776_iv + -in temp_rsa.enc -out temp_rsa -d +- eval "$(ssh-agent -s)" +- chmod 600 temp_rsa +- ssh-add temp_rsa +- ssh -4 -fNL 8545:localhost:8545 geth@arch1.vdb.to +- make installtools +- bash ./scripts/install-postgres-11.sh +- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - +- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list +- sudo apt-get update && sudo apt-get install yarn script: - - env GO111MODULE=on make test - - env GO111MODULE=on make integrationtest +- env GO111MODULE=on make test +- env GO111MODULE=on make integrationtest notifications: email: false -env: - matrix: - secure: GA4GiMHy868UD/C+59jRUOdJxxdLSMauNapPA31AODUMv0lcEOXg6TBJkv6Vn3OOrLHYYSpwCGiGQjF86U2vpKWzD1mSITalPfP/kNpFnrHVNf2oPpfrQs8ccs9gnFpbCNLDy0w2+55pgnrd5hvdnlsTEUS1lHWSKEZmWsSqUeS/dw22IS0+nUja0Pc3pHaWlJz2R502uEKIixjq1fOX65Z/9r1BrMqklOwWrABK0GwgYcDZwc+b3iovyDPkDa3sT/Ddz/srkcYi/Y182zdLdrknj3MVR3GiW5iSqIVm6gr427SFXF4EQVwkEBwAGoo83wRhCgCAslYTRZZ5aleb1HUtAWzuiMAd/JlAYb2jc6VJa19+rQ/5wd7Bann3hB5bY2uV+b02qFK3qWe6uqZLBSESWjFEyWJVoaXgpH0QDc0JG1R9UFxLSVa8NM3P/jgTnUgnAvdW36mTC4dg73Ha9bYdeLpuAZr6k8iTh5qp0CazKAazsdJ+ECNt6q3fkgsI/V5ZwCFfQwlauq+PiBaZsQqr7eeP19klipE3vGf6BCBRvCBdubzSgGZPIRkxOQREc24j/gzBjBNGeqoU2uOp8sXMEG5idfIyHbMU+n2Yi6IRKKPe5lwjgWEsqLkkoM2REMPIEPffRQz0f+mD48HWP0H4KjKHvubKRCE0v2ONlM4= diff --git a/environments/testing.toml b/environments/testing.toml index 891c1b8d..6552cedb 100644 --- a/environments/testing.toml +++ b/environments/testing.toml @@ -4,4 +4,4 @@ port = 5432 [client] - ipcPath = "" + ipcPath = "http://127.0.0.1:8545" diff --git a/temp_rsa.enc b/temp_rsa.enc new file mode 100644 index 0000000000000000000000000000000000000000..0f4c243f1daa2b404cbf7415076488ebaadf1cf5 GIT binary patch literal 1856 zcmV-G2fz3`Mrb@enbey4o)oXp%1&?0g^f)msgvNISpyw;Xei2T>5=3QdI8Y>b!z*O zLmQ$=J0?ADCUHKv+8_Ur`vzhC_N?QD!VP?+-}|S>RVmz7n1Y04k;@`*=znvkwqidr)GlQgSSF| z0+Q`P+LnYYi3A?5BRKV2-W2A8O!bXfwFe|wVq-P;VkR)0Z`BOgfy7_M)nI~sr>BPP z>}FWLK!>LbK&HLU9q|*()8-#?0pDB|mI6K1(J~oAmxXi|_E|NNyRK~E30)^g8uKCt z%y?+%@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