1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

use pacific, fix export vars

This commit is contained in:
Jernej Pregelj 2019-06-21 14:58:24 +02:00
parent eae754e6d7
commit 67f736809b
7 changed files with 23 additions and 23 deletions

View File

@ -16,13 +16,14 @@ before_install:
script: script:
# - ./scripts/install.sh # runs automatically with npm ci # - ./scripts/install.sh # runs automatically with npm ci
# run E2E tests against these values # run E2E tests against these values
- export REACT_APP_NODE_HOST="duero.dev-ocean.com" - export REACT_APP_NODE_URI="https://pacific.oceanprotocol.com"
- export REACT_APP_AQUARIUS_HOST="aquarius.duero.dev-ocean.com" - export REACT_APP_AQUARIUS_URI="https://aquarius.pacific.dev-ocean.com"
- export REACT_APP_BRIZO_HOST="brizo.duero.dev-ocean.com" - export REACT_APP_BRIZO_URI="https://brizo.pacific.dev-ocean.com"
- export REACT_APP_SECRET_STORE_HOST="secret-store.duero.dev-ocean.com" - export REACT_APP_SECRET_STORE_URI="https://secret-store.pacific.oceanprotocol.com"
- export REACT_APP_FAUCET_HOST="faucet.duero.dev-ocean.com" - export REACT_APP_FAUCET_URI="https://faucet.pacific.dev-ocean.com"
- export REACT_APP_PARITY_HOST=$REACT_APP_NODE_HOST - export REACT_APP_BRIZO_ADDRESS="0x008c25ed3594e094db4592f4115d5fa74c4f41ea"
- export REACT_APP_BRIZO_ADDRESS="0x9d4ed58293f71122ad6a733c1603927a150735d0" - export CYPRESS_SEEDPHRASE="taxi music thumb unique chat sand crew more leg another off lamp"
- export CYPRESS_CONSUME_ASSET="http://localhost:3000/asset/did:op:d64dd31f8d2a4fc0987fedc7a2e4a07be049b9b814434b61989ab0e3a1a443e1"
- ./scripts/test.sh - ./scripts/test.sh
- ./scripts/coverage.sh - ./scripts/coverage.sh
- ./scripts/build.sh - ./scripts/build.sh

View File

@ -1296,14 +1296,14 @@
"integrity": "sha512-nOpbSE/BG+tQBfLXZ/EqSOvUPzOuot84vHxjAfEU8K3v4eOnqFJVo+oyB7KlcF87wBJXDmi/Ir9qHY4c0Saipg==" "integrity": "sha512-nOpbSE/BG+tQBfLXZ/EqSOvUPzOuot84vHxjAfEU8K3v4eOnqFJVo+oyB7KlcF87wBJXDmi/Ir9qHY4c0Saipg=="
}, },
"@oceanprotocol/squid": { "@oceanprotocol/squid": {
"version": "0.5.17", "version": "0.5.14",
"resolved": "https://registry.npmjs.org/@oceanprotocol/squid/-/squid-0.5.17.tgz", "resolved": "https://registry.npmjs.org/@oceanprotocol/squid/-/squid-0.5.14.tgz",
"integrity": "sha512-yoZCKQ/QoOxgnhTHZFdeMknTRCktPZxSe/2ooDkf7ICaqwbVXMYspkMO+SDLQ+PAYncP4IZYVjr513ZkbQBYZw==", "integrity": "sha512-LyJ9Dv3kJD/th7bqk5iTqDNlQfidy4j5bTcLbzCIFvzFqPztTCWRON01G52z1A1jCYXBhtncX2jzwaOZDdmxsg==",
"requires": { "requires": {
"@oceanprotocol/keeper-contracts": "^0.9.7", "@oceanprotocol/keeper-contracts": "^0.9.7",
"bignumber.js": "^8.1.1", "bignumber.js": "^8.1.1",
"deprecated-decorator": "^0.1.6", "deprecated-decorator": "^0.1.6",
"node-fetch": "^2.6.0", "node-fetch": "^2.3.0",
"save-file": "^2.3.1", "save-file": "^2.3.1",
"uuid": "^3.3.2", "uuid": "^3.3.2",
"web3": "1.0.0-beta.37", "web3": "1.0.0-beta.37",

View File

@ -13,7 +13,7 @@
}, },
"dependencies": { "dependencies": {
"@oceanprotocol/art": "^2.2.0", "@oceanprotocol/art": "^2.2.0",
"@oceanprotocol/squid": "^0.5.17", "@oceanprotocol/squid": "^0.5.14",
"@oceanprotocol/typographies": "^0.1.0", "@oceanprotocol/typographies": "^0.1.0",
"@sindresorhus/slugify": "^0.9.1", "@sindresorhus/slugify": "^0.9.1",
"axios": "^0.19.0", "axios": "^0.19.0",

View File

@ -6,16 +6,15 @@ context('Consume', () => {
before(() => { before(() => {
cy.on('window:before:load', win => { cy.on('window:before:load', win => {
const provider = new HDWalletProvider( const provider = new HDWalletProvider(
'taxi music thumb unique chat sand crew more leg another off lamp', process.env.CYPRESS_SEEDPHRASE,
'https://duero.dev-ocean.com' process.env.REACT_APP_NODE_URI
) )
win.web3 = new Web3(provider) win.web3 = new Web3(provider)
win.ethereum = win.web3 win.ethereum = win.web3
}) })
cy.visit( cy.visit(process.env.CYPRESS_CONSUME_ASSET)
'http://localhost:3000/asset/did:op:5ba8350bc43e43399d507cf3d168a48c34f085a2442f446e9400ad0f46fc5824'
)
// Wait for end of loading // Wait for end of loading
cy.get('button', { timeout: 60000 }).should('have.length', 1) cy.get('button', { timeout: 60000 }).should('have.length', 1)
}) })

View File

@ -6,8 +6,8 @@ context('Faucet', () => {
before(() => { before(() => {
cy.on('window:before:load', win => { cy.on('window:before:load', win => {
const provider = new HDWalletProvider( const provider = new HDWalletProvider(
'taxi music thumb unique chat sand crew more leg another off lamp', process.env.CYPRESS_SEEDPHRASE,
'https://duero.dev-ocean.com' process.env.REACT_APP_NODE_URI
) )
win.web3 = new Web3(provider) win.web3 = new Web3(provider)
win.ethereum = win.web3 win.ethereum = win.web3

View File

@ -6,8 +6,8 @@ context('Publish', () => {
before(() => { before(() => {
cy.on('window:before:load', win => { cy.on('window:before:load', win => {
const provider = new HDWalletProvider( const provider = new HDWalletProvider(
'taxi music thumb unique chat sand crew more leg another off lamp', process.env.CYPRESS_SEEDPHRASE,
'https://duero.dev-ocean.com' process.env.REACT_APP_NODE_URI
) )
win.web3 = new Web3(provider) win.web3 = new Web3(provider)
win.ethereum = win.web3 win.ethereum = win.web3

View File

@ -6,8 +6,8 @@ context('Search', () => {
before(() => { before(() => {
cy.on('window:before:load', win => { cy.on('window:before:load', win => {
const provider = new HDWalletProvider( const provider = new HDWalletProvider(
'taxi music thumb unique chat sand crew more leg another off lamp', process.env.CYPRESS_SEEDPHRASE,
'https://duero.dev-ocean.com' process.env.REACT_APP_NODE_URI
) )
win.web3 = new Web3(provider) win.web3 = new Web3(provider)
win.ethereum = win.web3 win.ethereum = win.web3