safe-react/.travis.yml

116 lines
4.0 KiB
YAML
Raw Normal View History

2020-11-03 08:01:10 +00:00
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
dist: focal
language: node_js
node_js:
2020-08-07 16:02:06 +00:00
- '12'
os:
- linux
matrix:
include:
- env:
- REACT_APP_NETWORK='mainnet'
- STAGING_BUCKET_NAME=${STAGING_MAINNET_BUCKET_NAME}
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_MAINNET}
- SENTRY_PROJECT=${SENTRY_PROJECT_MAINNET}
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_MAINNET}
- REACT_APP_GNOSIS_APPS_URL=${REACT_APP_GNOSIS_APPS_URL_PROD}
if: (branch = master AND NOT type = pull_request) OR tag IS present
- env:
- REACT_APP_NETWORK='rinkeby'
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_RINKEBY}
- SENTRY_PROJECT=${SENTRY_PROJECT_RINKEBY}
2020-10-19 11:38:12 +00:00
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_RINKEBY}
- REACT_APP_GNOSIS_APPS_URL=${REACT_APP_GNOSIS_APPS_URL_STAGING}
(Feature) - xDai Compatibility (#1476) * feat: Support for Volta and EWC * chore: Store network ID in the ETHEREUM_NETWORK enum itself * chore: forward tx and address to non-etherscan explorers * fix test, avoid assigning enum to const * (Feature) [xDai] - Create network-based configurations (#1420) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * (Feature) [xDai] Use generic config (#1422) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * fix function name after merge development * (Feature) [xDai] - Contract interaction abi lookup (#1429) * Filter Apps by network (#1433) * Filter apps by network * (Feature) [xDai] - Parametrize ethscan values (#1424) * (Feature) [xDai] - Use parametrized network values (#1437) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Use tx service for loading token info (#1435) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Visually differentiate networks (#1431) Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * (Feature) [xDai] - Cosmetic fixes (#1449) * Add staging configuration for deployment using xDai (#1459) * Add staging xDai deployment to travis * Add safe apps production url for xdai * Add travis rule to build xDai on master or integration branch * (Bugfix) Set min height to ListContentLayout wrapper #1447 (#1451) * fix min-height app container and margin to info text at bottom * change css unit from % to vh Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * disable OpenZepplin in xDai (#1465) * remove any in config/index.ts (#1462) * [xDai] Parametrize Native Coin (#1444) * fix `generateBatchRequest` calls * Fix some ETH harcoded values + Add tests * Fix null or undefined value * Move nativeCoin outside component + fix toTokenInput function * Remove native coin from useEffect Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Disable safe sections based on network config (#1468) * Adds FEATURES enum Renames features to disabledFeatures * Uses FEATURES enum instead of hard-coded contract features * Refactor enabledFeatures function, now checks that there are not disabled features by config before return the enabledFeatures result * Adds SAFE_APPS and CONTRACT_INTERACTION to FEATURES enum * Remove SAFE_APPS from sidebar if disabled * Redirect user from /apps if safe apps are disabled * Disables contract interaction from config * Remove !remoteOwners * Move settings to a constant * Deploy from xDai integration branch only to xDai staging * Fix .travis.yml warnings * Update branch and condition for staging deployment * Update xDai depoy condition * (Feature) [xDai] - Fetch collectibles from Gnosis services (#1460) * Add https to safe-xdai apps link * make getExplorerInfo return values per network (#1470) * (Fix) "Approve transaction" modal closes (#1477) * add equality function to prevent re-renders - I left the inline equalityFn, as an ad-hoc solution. First, because we're going to remove this when https://github.com/gnosis/safe-react/issues/1479 is done Second, because this way it infers the types defined in the useSelector generics * (Fix) xDai feature issues (#1484) Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * RPC interactions errors (#1475) * Add options to httpProvider * Add log when generateatchRequest fails * add types to generateBarchRequest * fix types in `generateBatchRequests` * add `.d` for imports of definition files * add `undefined` alternative value for `generateBatchRequests` ReturnValues - also, fixed typing errors in related functions * fix return values for `generateBatchRequests` in tests Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) xDai configs (#1489) * (Feature) - Replaces ETH with network native coin (#1491) * Remove networkInfo from the components * Replaces humanReadableValue to fromTokenUnit Co-authored-by: JosephBagaric <bagaricjos@gmail.com> Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-10-18 19:48:22 +00:00
- env:
- REACT_APP_NETWORK='xdai'
- STAGING_BUCKET_NAME=${STAGING_XDAI_BUCKET_NAME}
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_XDAI}
- SENTRY_PROJECT=${SENTRY_PROJECT_XDAI}
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_XDAI}
2020-11-02 08:45:59 +00:00
if: (branch = master) OR tag IS present
- env:
- REACT_APP_NETWORK='volta'
- STAGING_BUCKET_NAME=${STAGING_VOLTA_BUCKET_NAME}
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_VOLTA}
- SENTRY_PROJECT=${SENTRY_PROJECT_VOLTA}
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_VOLTA}
if: (branch = master) OR tag IS present
- env:
- REACT_APP_NETWORK='energy_web_chain'
- STAGING_BUCKET_NAME=${STAGING_EWC_BUCKET_NAME}
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_EWC}
- SENTRY_PROJECT=${SENTRY_PROJECT_EWC}
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
2020-11-03 08:01:10 +00:00
if: (branch = master AND NOT type = pull_request) OR tag IS present
cache:
npm: false
yarn: false
before_script:
- if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi;
- if [ $TRAVIS_PULL_REQUEST != "false" ]; then export PUBLIC_URL="/${REACT_APP_NETWORK}/app"; fi;
before_install:
# Needed to deploy pull request and releases
2019-12-16 12:26:21 +00:00
- sudo apt-get update
- sudo apt-get -y install python3-pip python3-dev libusb-1.0-0-dev libudev-dev
- pip install awscli --upgrade --user
script:
- yarn lint:check
- yarn prettier:check
- yarn test:coverage
- yarn build
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] || [ -n "$TRAVIS_TAG" ]; then
2020-11-03 08:54:26 +00:00
echo "Upload sentry source maps";
yarn sentry-upload-sourcemaps;
else
echo "Skip source map upload";
fi;
after_success:
# Pull Request - Deploy it to a review environment
# Travis doesn't do deploy step with pull requests builds
- ./config/travis/deploy_pull_request.sh
# Releases (tagged commits) - Deploy it to a release environment
- ./config/travis/deploy_release.sh
- yarn coveralls
deploy:
# Development environment only on rinkeby
- provider: s3
bucket: $DEV_BUCKET_NAME
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
skip_cleanup: true
local_dir: build
(Feature) - xDai Compatibility (#1476) * feat: Support for Volta and EWC * chore: Store network ID in the ETHEREUM_NETWORK enum itself * chore: forward tx and address to non-etherscan explorers * fix test, avoid assigning enum to const * (Feature) [xDai] - Create network-based configurations (#1420) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * (Feature) [xDai] Use generic config (#1422) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * fix function name after merge development * (Feature) [xDai] - Contract interaction abi lookup (#1429) * Filter Apps by network (#1433) * Filter apps by network * (Feature) [xDai] - Parametrize ethscan values (#1424) * (Feature) [xDai] - Use parametrized network values (#1437) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Use tx service for loading token info (#1435) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Visually differentiate networks (#1431) Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * (Feature) [xDai] - Cosmetic fixes (#1449) * Add staging configuration for deployment using xDai (#1459) * Add staging xDai deployment to travis * Add safe apps production url for xdai * Add travis rule to build xDai on master or integration branch * (Bugfix) Set min height to ListContentLayout wrapper #1447 (#1451) * fix min-height app container and margin to info text at bottom * change css unit from % to vh Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * disable OpenZepplin in xDai (#1465) * remove any in config/index.ts (#1462) * [xDai] Parametrize Native Coin (#1444) * fix `generateBatchRequest` calls * Fix some ETH harcoded values + Add tests * Fix null or undefined value * Move nativeCoin outside component + fix toTokenInput function * Remove native coin from useEffect Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Disable safe sections based on network config (#1468) * Adds FEATURES enum Renames features to disabledFeatures * Uses FEATURES enum instead of hard-coded contract features * Refactor enabledFeatures function, now checks that there are not disabled features by config before return the enabledFeatures result * Adds SAFE_APPS and CONTRACT_INTERACTION to FEATURES enum * Remove SAFE_APPS from sidebar if disabled * Redirect user from /apps if safe apps are disabled * Disables contract interaction from config * Remove !remoteOwners * Move settings to a constant * Deploy from xDai integration branch only to xDai staging * Fix .travis.yml warnings * Update branch and condition for staging deployment * Update xDai depoy condition * (Feature) [xDai] - Fetch collectibles from Gnosis services (#1460) * Add https to safe-xdai apps link * make getExplorerInfo return values per network (#1470) * (Fix) "Approve transaction" modal closes (#1477) * add equality function to prevent re-renders - I left the inline equalityFn, as an ad-hoc solution. First, because we're going to remove this when https://github.com/gnosis/safe-react/issues/1479 is done Second, because this way it infers the types defined in the useSelector generics * (Fix) xDai feature issues (#1484) Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * RPC interactions errors (#1475) * Add options to httpProvider * Add log when generateatchRequest fails * add types to generateBarchRequest * fix types in `generateBatchRequests` * add `.d` for imports of definition files * add `undefined` alternative value for `generateBatchRequests` ReturnValues - also, fixed typing errors in related functions * fix return values for `generateBatchRequests` in tests Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) xDai configs (#1489) * (Feature) - Replaces ETH with network native coin (#1491) * Remove networkInfo from the components * Replaces humanReadableValue to fromTokenUnit Co-authored-by: JosephBagaric <bagaricjos@gmail.com> Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-10-18 19:48:22 +00:00
upload_dir: app
region: $AWS_DEFAULT_REGION
on:
branch: development
condition: $REACT_APP_NETWORK = rinkeby
(Feature) - xDai Compatibility (#1476) * feat: Support for Volta and EWC * chore: Store network ID in the ETHEREUM_NETWORK enum itself * chore: forward tx and address to non-etherscan explorers * fix test, avoid assigning enum to const * (Feature) [xDai] - Create network-based configurations (#1420) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * (Feature) [xDai] Use generic config (#1422) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * fix function name after merge development * (Feature) [xDai] - Contract interaction abi lookup (#1429) * Filter Apps by network (#1433) * Filter apps by network * (Feature) [xDai] - Parametrize ethscan values (#1424) * (Feature) [xDai] - Use parametrized network values (#1437) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Use tx service for loading token info (#1435) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Visually differentiate networks (#1431) Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * (Feature) [xDai] - Cosmetic fixes (#1449) * Add staging configuration for deployment using xDai (#1459) * Add staging xDai deployment to travis * Add safe apps production url for xdai * Add travis rule to build xDai on master or integration branch * (Bugfix) Set min height to ListContentLayout wrapper #1447 (#1451) * fix min-height app container and margin to info text at bottom * change css unit from % to vh Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * disable OpenZepplin in xDai (#1465) * remove any in config/index.ts (#1462) * [xDai] Parametrize Native Coin (#1444) * fix `generateBatchRequest` calls * Fix some ETH harcoded values + Add tests * Fix null or undefined value * Move nativeCoin outside component + fix toTokenInput function * Remove native coin from useEffect Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Disable safe sections based on network config (#1468) * Adds FEATURES enum Renames features to disabledFeatures * Uses FEATURES enum instead of hard-coded contract features * Refactor enabledFeatures function, now checks that there are not disabled features by config before return the enabledFeatures result * Adds SAFE_APPS and CONTRACT_INTERACTION to FEATURES enum * Remove SAFE_APPS from sidebar if disabled * Redirect user from /apps if safe apps are disabled * Disables contract interaction from config * Remove !remoteOwners * Move settings to a constant * Deploy from xDai integration branch only to xDai staging * Fix .travis.yml warnings * Update branch and condition for staging deployment * Update xDai depoy condition * (Feature) [xDai] - Fetch collectibles from Gnosis services (#1460) * Add https to safe-xdai apps link * make getExplorerInfo return values per network (#1470) * (Fix) "Approve transaction" modal closes (#1477) * add equality function to prevent re-renders - I left the inline equalityFn, as an ad-hoc solution. First, because we're going to remove this when https://github.com/gnosis/safe-react/issues/1479 is done Second, because this way it infers the types defined in the useSelector generics * (Fix) xDai feature issues (#1484) Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * RPC interactions errors (#1475) * Add options to httpProvider * Add log when generateatchRequest fails * add types to generateBarchRequest * fix types in `generateBatchRequests` * add `.d` for imports of definition files * add `undefined` alternative value for `generateBatchRequests` ReturnValues - also, fixed typing errors in related functions * fix return values for `generateBatchRequests` in tests Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) xDai configs (#1489) * (Feature) - Replaces ETH with network native coin (#1491) * Remove networkInfo from the components * Replaces humanReadableValue to fromTokenUnit Co-authored-by: JosephBagaric <bagaricjos@gmail.com> Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-10-18 19:48:22 +00:00
# Staging environment
- provider: s3
bucket: $STAGING_BUCKET_NAME
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
skip_cleanup: true
local_dir: build
(Feature) - xDai Compatibility (#1476) * feat: Support for Volta and EWC * chore: Store network ID in the ETHEREUM_NETWORK enum itself * chore: forward tx and address to non-etherscan explorers * fix test, avoid assigning enum to const * (Feature) [xDai] - Create network-based configurations (#1420) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * (Feature) [xDai] Use generic config (#1422) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * fix function name after merge development * (Feature) [xDai] - Contract interaction abi lookup (#1429) * Filter Apps by network (#1433) * Filter apps by network * (Feature) [xDai] - Parametrize ethscan values (#1424) * (Feature) [xDai] - Use parametrized network values (#1437) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Use tx service for loading token info (#1435) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Visually differentiate networks (#1431) Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * (Feature) [xDai] - Cosmetic fixes (#1449) * Add staging configuration for deployment using xDai (#1459) * Add staging xDai deployment to travis * Add safe apps production url for xdai * Add travis rule to build xDai on master or integration branch * (Bugfix) Set min height to ListContentLayout wrapper #1447 (#1451) * fix min-height app container and margin to info text at bottom * change css unit from % to vh Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * disable OpenZepplin in xDai (#1465) * remove any in config/index.ts (#1462) * [xDai] Parametrize Native Coin (#1444) * fix `generateBatchRequest` calls * Fix some ETH harcoded values + Add tests * Fix null or undefined value * Move nativeCoin outside component + fix toTokenInput function * Remove native coin from useEffect Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Disable safe sections based on network config (#1468) * Adds FEATURES enum Renames features to disabledFeatures * Uses FEATURES enum instead of hard-coded contract features * Refactor enabledFeatures function, now checks that there are not disabled features by config before return the enabledFeatures result * Adds SAFE_APPS and CONTRACT_INTERACTION to FEATURES enum * Remove SAFE_APPS from sidebar if disabled * Redirect user from /apps if safe apps are disabled * Disables contract interaction from config * Remove !remoteOwners * Move settings to a constant * Deploy from xDai integration branch only to xDai staging * Fix .travis.yml warnings * Update branch and condition for staging deployment * Update xDai depoy condition * (Feature) [xDai] - Fetch collectibles from Gnosis services (#1460) * Add https to safe-xdai apps link * make getExplorerInfo return values per network (#1470) * (Fix) "Approve transaction" modal closes (#1477) * add equality function to prevent re-renders - I left the inline equalityFn, as an ad-hoc solution. First, because we're going to remove this when https://github.com/gnosis/safe-react/issues/1479 is done Second, because this way it infers the types defined in the useSelector generics * (Fix) xDai feature issues (#1484) Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * RPC interactions errors (#1475) * Add options to httpProvider * Add log when generateatchRequest fails * add types to generateBarchRequest * fix types in `generateBatchRequests` * add `.d` for imports of definition files * add `undefined` alternative value for `generateBatchRequests` ReturnValues - also, fixed typing errors in related functions * fix return values for `generateBatchRequests` in tests Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) xDai configs (#1489) * (Feature) - Replaces ETH with network native coin (#1491) * Remove networkInfo from the components * Replaces humanReadableValue to fromTokenUnit Co-authored-by: JosephBagaric <bagaricjos@gmail.com> Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-10-18 19:48:22 +00:00
upload_dir: current/app
region: $AWS_DEFAULT_REGION
on:
branch: master
(Feature) - xDai Compatibility (#1476) * feat: Support for Volta and EWC * chore: Store network ID in the ETHEREUM_NETWORK enum itself * chore: forward tx and address to non-etherscan explorers * fix test, avoid assigning enum to const * (Feature) [xDai] - Create network-based configurations (#1420) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * (Feature) [xDai] Use generic config (#1422) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * fix function name after merge development * (Feature) [xDai] - Contract interaction abi lookup (#1429) * Filter Apps by network (#1433) * Filter apps by network * (Feature) [xDai] - Parametrize ethscan values (#1424) * (Feature) [xDai] - Use parametrized network values (#1437) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Use tx service for loading token info (#1435) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Visually differentiate networks (#1431) Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * (Feature) [xDai] - Cosmetic fixes (#1449) * Add staging configuration for deployment using xDai (#1459) * Add staging xDai deployment to travis * Add safe apps production url for xdai * Add travis rule to build xDai on master or integration branch * (Bugfix) Set min height to ListContentLayout wrapper #1447 (#1451) * fix min-height app container and margin to info text at bottom * change css unit from % to vh Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * disable OpenZepplin in xDai (#1465) * remove any in config/index.ts (#1462) * [xDai] Parametrize Native Coin (#1444) * fix `generateBatchRequest` calls * Fix some ETH harcoded values + Add tests * Fix null or undefined value * Move nativeCoin outside component + fix toTokenInput function * Remove native coin from useEffect Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Disable safe sections based on network config (#1468) * Adds FEATURES enum Renames features to disabledFeatures * Uses FEATURES enum instead of hard-coded contract features * Refactor enabledFeatures function, now checks that there are not disabled features by config before return the enabledFeatures result * Adds SAFE_APPS and CONTRACT_INTERACTION to FEATURES enum * Remove SAFE_APPS from sidebar if disabled * Redirect user from /apps if safe apps are disabled * Disables contract interaction from config * Remove !remoteOwners * Move settings to a constant * Deploy from xDai integration branch only to xDai staging * Fix .travis.yml warnings * Update branch and condition for staging deployment * Update xDai depoy condition * (Feature) [xDai] - Fetch collectibles from Gnosis services (#1460) * Add https to safe-xdai apps link * make getExplorerInfo return values per network (#1470) * (Fix) "Approve transaction" modal closes (#1477) * add equality function to prevent re-renders - I left the inline equalityFn, as an ad-hoc solution. First, because we're going to remove this when https://github.com/gnosis/safe-react/issues/1479 is done Second, because this way it infers the types defined in the useSelector generics * (Fix) xDai feature issues (#1484) Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * RPC interactions errors (#1475) * Add options to httpProvider * Add log when generateatchRequest fails * add types to generateBarchRequest * fix types in `generateBatchRequests` * add `.d` for imports of definition files * add `undefined` alternative value for `generateBatchRequests` ReturnValues - also, fixed typing errors in related functions * fix return values for `generateBatchRequests` in tests Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) xDai configs (#1489) * (Feature) - Replaces ETH with network native coin (#1491) * Remove networkInfo from the components * Replaces humanReadableValue to fromTokenUnit Co-authored-by: JosephBagaric <bagaricjos@gmail.com> Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-10-18 19:48:22 +00:00
# Prepare production deployment
- provider: s3
bucket: $STAGING_BUCKET_NAME
secret_access_key: $AWS_SECRET_ACCESS_KEY
access_key_id: $AWS_ACCESS_KEY_ID
skip_cleanup: true
local_dir: build
(Feature) - xDai Compatibility (#1476) * feat: Support for Volta and EWC * chore: Store network ID in the ETHEREUM_NETWORK enum itself * chore: forward tx and address to non-etherscan explorers * fix test, avoid assigning enum to const * (Feature) [xDai] - Create network-based configurations (#1420) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * (Feature) [xDai] Use generic config (#1422) Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> * fix function name after merge development * (Feature) [xDai] - Contract interaction abi lookup (#1429) * Filter Apps by network (#1433) * Filter apps by network * (Feature) [xDai] - Parametrize ethscan values (#1424) * (Feature) [xDai] - Use parametrized network values (#1437) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Use tx service for loading token info (#1435) Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Visually differentiate networks (#1431) Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * (Feature) [xDai] - Cosmetic fixes (#1449) * Add staging configuration for deployment using xDai (#1459) * Add staging xDai deployment to travis * Add safe apps production url for xdai * Add travis rule to build xDai on master or integration branch * (Bugfix) Set min height to ListContentLayout wrapper #1447 (#1451) * fix min-height app container and margin to info text at bottom * change css unit from % to vh Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * disable OpenZepplin in xDai (#1465) * remove any in config/index.ts (#1462) * [xDai] Parametrize Native Coin (#1444) * fix `generateBatchRequest` calls * Fix some ETH harcoded values + Add tests * Fix null or undefined value * Move nativeCoin outside component + fix toTokenInput function * Remove native coin from useEffect Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) [xDai] - Disable safe sections based on network config (#1468) * Adds FEATURES enum Renames features to disabledFeatures * Uses FEATURES enum instead of hard-coded contract features * Refactor enabledFeatures function, now checks that there are not disabled features by config before return the enabledFeatures result * Adds SAFE_APPS and CONTRACT_INTERACTION to FEATURES enum * Remove SAFE_APPS from sidebar if disabled * Redirect user from /apps if safe apps are disabled * Disables contract interaction from config * Remove !remoteOwners * Move settings to a constant * Deploy from xDai integration branch only to xDai staging * Fix .travis.yml warnings * Update branch and condition for staging deployment * Update xDai depoy condition * (Feature) [xDai] - Fetch collectibles from Gnosis services (#1460) * Add https to safe-xdai apps link * make getExplorerInfo return values per network (#1470) * (Fix) "Approve transaction" modal closes (#1477) * add equality function to prevent re-renders - I left the inline equalityFn, as an ad-hoc solution. First, because we're going to remove this when https://github.com/gnosis/safe-react/issues/1479 is done Second, because this way it infers the types defined in the useSelector generics * (Fix) xDai feature issues (#1484) Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> * RPC interactions errors (#1475) * Add options to httpProvider * Add log when generateatchRequest fails * add types to generateBarchRequest * fix types in `generateBatchRequests` * add `.d` for imports of definition files * add `undefined` alternative value for `generateBatchRequests` ReturnValues - also, fixed typing errors in related functions * fix return values for `generateBatchRequests` in tests Co-authored-by: fernandomg <fernando.greco@gmail.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * (Feature) xDai configs (#1489) * (Feature) - Replaces ETH with network native coin (#1491) * Remove networkInfo from the components * Replaces humanReadableValue to fromTokenUnit Co-authored-by: JosephBagaric <bagaricjos@gmail.com> Co-authored-by: Matias Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-10-18 19:48:22 +00:00
upload_dir: releases/$TRAVIS_TAG
region: $AWS_DEFAULT_REGION
on:
tags: true
- provider: script
script: ./config/travis/prepare_production_deployment.sh
on:
tags: true