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

Run e2e testnet tests via GHA, not Kubernetes #98

Merged
merged 22 commits into from
Aug 24, 2021

Commits on Jul 27, 2021

  1. Run e2e testnet tests on Ropsten via GHA, not Kubernetes

    We were running E2E tests on testnet (Ropsten) using Kubernetes. But as
    the GitHub Actions provide better visibility for the tests results, we
    decided to move the testing job there.
    The `e2e-testnet.yml` has been created and the old Kubernetes config has
    been removed.
    The currently proposed solution is not ideal. It requires manual
    updating of the `tbtc.js` version in the workflow config every time
    new contracts get released. In the future we plan to do that
    automatically.
    michalinacienciala committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    176ef31 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Change value of the CHAIN_API_URL

    We've changed the names of the secrets and need to update the workflow
    configs accordingly. The change of secret name was introduced to
    differentiate between WS and HTTP urls.
    michalinacienciala committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    5655dac View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. Install latest version of tbtc.js package with ropsten tag

    We've started to tag the `tbtc.js` packages with the environment name.
    We no longer need to manually update the version of this package in the
    workflow file, instead we'll be allways using the latest version of the
    package and contracts migrated on `ropsten`.
    michalinacienciala committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    dafcd52 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Pass BTC depositor priv key

    We need to use a BTC account
    which has a non-zero BTC balance
    on testnet.
    lukasz-zimnoch committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    0d82f27 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. Save testnet BTC

    In order to save testnet BTC, we perform
    some optimizations in the e2e test. First,
    we open two deposits only when necessary to
    avoid locking to much of BTC. Secondly,
    we use the smallest possible lot size.
    lukasz-zimnoch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    15b3305 View commit details
    Browse the repository at this point in the history
  2. Use higher lot size

    The bonds amount must cover
    the setup fee.
    lukasz-zimnoch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    38bcc53 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Change names of the secrets used in the workflow

    In the GitHub's settings, we've changed the name of the
    `KEEP_TEST_ETH_HOSTNAME` to `KEEP_TEST_ETH_HOSTNAME_WS` to differenciate
    between WS and HTTP urls. We need to update workflow config accordingly.
    This commit fixes the configuration incorrectly updated in the last
    commit.
    michalinacienciala committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    bac8d28 View commit details
    Browse the repository at this point in the history
  2. Modify cron - execute daily

    In order to limit the amount of spent testnet BTC, we are changing the
    frequency of running the workflow. We will observe how does the daily
    execution affect the wallet's ballance and will further adjust the
    frequency of tests execution in the future.
    michalinacienciala committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    0cc2ea5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b4359e View commit details
    Browse the repository at this point in the history
  4. Handle deposit autoSubmit errors

    Currently those errors are unhandled.
    Recent changes made in `tbtc.js` require
    to register an explicit error handler.
    lukasz-zimnoch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    48f75f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    27f8ab2 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Merge remote-tracking branch 'origin/rfc-18/move-e2e-kubernetes-job-t…

    …o-gha' into rename-keep-test-eth-hostname-secret
    michalinacienciala committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    4e37329 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #104 from keep-network/rename-keep-test-eth-hostna…

    …me-secret
    
    Rename KEEP_TEST_ETH_HOSTNAME env variable
    
    We've changed the names of the secrets and need to update the workflow
    configs accordingly. The change of secret name was introduced to
    differentiate between WS and HTTP urls.
    nkuba committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    283b348 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. Configuration menu
    Copy the full SHA
    5e00f7a View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Cache npm dependencies via setup-node action

    Action now supports cases where `*.lock` file is located in the root's
    subdirectory.
    michalinacienciala committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    724cca1 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. Add block number information to e2e test

    This should help debugging problems
    with BTC and ETH client synchronization.
    lukasz-zimnoch committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    42906be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77d4a05 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    101f02c View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2021

  1. Improve log formatting

    lukasz-zimnoch committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    673315e View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2021

  1. Increase fee overhead

    In case of small amounts, the current
    10% overhead is not enough. 20% should
    work in those cases.
    lukasz-zimnoch committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    68a9902 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2021

  1. Run four times a day

    lukasz-zimnoch committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    152e9f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e7319d View commit details
    Browse the repository at this point in the history