Skip to content
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

Trying to add and use ci-betanet config #235

Merged
merged 2 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ os:
- windows
env:
- NODE_ENV=ci YARN_GPG=no
- NODE_ENV=ci-staging YARN_GPG=no
- NODE_ENV=ci-betanet YARN_GPG=no
cache: cargo
before_install:
- rustup target add wasm32-unknown-unknown
Expand All @@ -19,4 +19,4 @@ git:
autocrlf: false
script:
- yarn test
- yarn lint
- yarn lint
5 changes: 2 additions & 3 deletions blank_project/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@ function getConfig(env) {
contractName: CONTRACT_NAME,
};
case 'test':
case 'test-remote':
case 'ci':
return {
networkId: 'shared-test',
nodeUrl: 'http://shared-test.nearprotocol.com:3030',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
case 'ci-staging':
case 'ci-betanet':
return {
networkId: 'shared-test-staging',
nodeUrl: 'http://staging-shared-test.nearprotocol.com:3030',
nodeUrl: 'http://rpc.ci-betanet.nearprotocol.com',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
Expand Down
5 changes: 2 additions & 3 deletions blank_react_project/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@ function getConfig(env) {
contractName: CONTRACT_NAME,
};
case 'test':
case 'test-remote':
case 'ci':
return {
networkId: 'shared-test',
nodeUrl: 'http://shared-test.nearprotocol.com:3030',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
case 'ci-staging':
case 'ci-betanet':
return {
networkId: 'shared-test-staging',
nodeUrl: 'http://staging-shared-test.nearprotocol.com:3030',
nodeUrl: 'http://rpc.ci-betanet.nearprotocol.com',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
Expand Down
5 changes: 2 additions & 3 deletions blank_rust_project/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@ function getConfig(env) {
contractName: CONTRACT_NAME,
};
case 'test':
case 'test-remote':
case 'ci':
return {
networkId: 'shared-test',
nodeUrl: 'http://shared-test.nearprotocol.com:3030',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
case 'ci-staging':
case 'ci-betanet':
return {
networkId: 'shared-test-staging',
nodeUrl: 'http://staging-shared-test.nearprotocol.com:3030',
nodeUrl: 'http://rpc.ci-betanet.nearprotocol.com',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
Expand Down
5 changes: 2 additions & 3 deletions blank_rust_react_project/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@ function getConfig(env) {
contractName: CONTRACT_NAME,
};
case 'test':
case 'test-remote':
case 'ci':
return {
networkId: 'shared-test',
nodeUrl: 'http://shared-test.nearprotocol.com:3030',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
case 'ci-staging':
case 'ci-betanet':
return {
networkId: 'shared-test-staging',
nodeUrl: 'http://staging-shared-test.nearprotocol.com:3030',
nodeUrl: 'http://rpc.ci-betanet.nearprotocol.com',
contractName: CONTRACT_NAME,
masterAccount: 'test.near',
};
Expand Down