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

The smoke tests can run on mainnet #761

Closed
4 tasks done
Tracked by #713
v0d1ch opened this issue Mar 3, 2023 · 1 comment
Closed
4 tasks done
Tracked by #713

The smoke tests can run on mainnet #761

v0d1ch opened this issue Mar 3, 2023 · 1 comment
Assignees
Labels
task Subtask of a bigger feature.
Milestone

Comments

@v0d1ch
Copy link
Contributor

v0d1ch commented Mar 3, 2023

Why

We want to be able to run our smoke tests on mainnet in order to assure ourselves everything runs smoothly.

What

We would use the same mechanism as currently for preview and preprod but be executable on mainnet. Noticeable differences:

  • It would use real assets
  • lot bigger resources required (100G storage instead of 1 for instance)

How

Manage funds

Implement descent protection of our Hydra faucet funds. We plan to always keep the funds under 100Ada so that it's not a big deal.

Some process let us move funds from somewhere to the faucet so that these smoke tests could run.

We can run the smoke tests on mainnet the same way as we run them on preview and preprod today, manually with GitHub C.I.

Out of scope: Not directly related but we should probably run the smoke tests on preview and preprod nightly.

Manage cardano node

  • Play with runners #775 Use a dedicated instance as a github runner

    • Create a dedicated VPC instance which holds the cardano-node mainnet state persistently somewhere, e.g. /data/smoke-test-mainnet/
      • declaratively managed
      • access is shared in the team
    • Install github self-hosted runner daemon on it
    • Register this daemon instance with our repository
    • Make sure the smoke test for mainnet is only deployed to this/these dedicated runner(s)
    • Invoke the smoke test with --state-directory /data/smoke-test-mainnet and mainnet config

Discussed options:

How to actually manage Cardano-node synchronization requirements?

  • use mithril (not yet mainnet ready)
  • use and manage a persistent Cardano-node
  • use a managed, as a service, Cardano-node instance (Demeter)
  • dedicated GitHub runner

How can we connect the CI hydra-node with the persistent Cardano-node? No unix socket possibility.

@v0d1ch v0d1ch self-assigned this Mar 3, 2023
@v0d1ch v0d1ch added this to the 0.10.0 milestone Mar 3, 2023
@v0d1ch v0d1ch mentioned this issue Mar 3, 2023
4 tasks
@ch1bo ch1bo added the task Subtask of a bigger feature. label Mar 3, 2023
@pgrange pgrange mentioned this issue Mar 16, 2023
1 task
@ghost
Copy link

ghost commented Apr 11, 2023

We might want to tweak the scripts to consume less ADAs, in the spirit of limiting the amount of exposed ADAs.

@pgrange pgrange closed this as completed Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Subtask of a bigger feature.
Projects
None yet
Development

No branches or pull requests

3 participants