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

enabling nightly builds - nightly devnets & loadtests #1359

Merged
merged 13 commits into from
Apr 24, 2023

Conversation

gatsbyz
Copy link
Contributor

@gatsbyz gatsbyz commented Apr 4, 2023

Description

Basic devops overview for Nighly Devnets

  • A GH workflow in the Edge repo will be called by the nightly build workflow, is should create and start a new Edge devnet using big instances, with 4 validators only, with the bridge configured ideally.
  • After the network is progressing a new load test will be started, the results of the test will be reported to the #edge-becnhmarking-results channel and to DD.
  • After the load testing has finished, the devnet should be destroyed.

some notes on how it’s working now

  • link to manually triggered run action workflow
  • on the AWS edge-devnet env, the deployment name is nightly01 and the name continually used for the nightly builds
  • devnet is built using our public terraform configs, on the separate branch made for the ephemeral nightly builds.
    *polygon-edge is built from HEAD .
block_gas_limit: 50_000_000
block_time: 2
consensus_protocol: polybft
chain_id: 2001

Changes include

  • A new workflow for loadtesting during nightly build

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

Manual tests

I added a Nightly DevNet Workflow (Manual) workflow just in case we ever want to test manually. This can be deleted.

Additional comments

@github-actions
Copy link

github-actions bot commented Apr 4, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@gatsbyz
Copy link
Contributor Author

gatsbyz commented Apr 4, 2023

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Apr 4, 2023
@gatsbyz
Copy link
Contributor Author

gatsbyz commented Apr 4, 2023

recheck

@gatsbyz gatsbyz changed the title Jesse/nightly loadtest workflow enabling nightly builds - nightly devnets & loadtests Apr 4, 2023
@gatsbyz gatsbyz temporarily deployed to devnet April 4, 2023 17:57 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 4, 2023 18:13 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 4, 2023 18:17 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 4, 2023 18:23 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 5, 2023 02:19 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 5, 2023 02:33 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 5, 2023 02:38 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 5, 2023 02:43 — with GitHub Actions Inactive
Copy link
Contributor

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM side from comment

@vcastellm
Copy link
Contributor

Doesn't the block_gas_limit looks a bit low for the big machines @gatsbyz?

@gatsbyz
Copy link
Contributor Author

gatsbyz commented Apr 20, 2023

@vcastellm should i double this value? block_gas_limit: 100_000_000

@gatsbyz gatsbyz temporarily deployed to devnet April 23, 2023 21:23 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 23, 2023 21:45 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 23, 2023 21:50 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 23, 2023 21:55 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 13:27 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 13:49 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 13:54 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 13:59 — with GitHub Actions Inactive
@gatsbyz gatsbyz force-pushed the jesse/nightly-loadtest-workflow branch from 74fea72 to ad18ee4 Compare April 24, 2023 14:04
@gatsbyz gatsbyz force-pushed the jesse/nightly-loadtest-workflow branch from ad18ee4 to 5e4df34 Compare April 24, 2023 14:14
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 14:14 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 14:35 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 14:40 — with GitHub Actions Inactive
@gatsbyz gatsbyz temporarily deployed to devnet April 24, 2023 14:45 — with GitHub Actions Inactive
@gatsbyz gatsbyz merged commit d28c50a into develop Apr 24, 2023
@gatsbyz gatsbyz deleted the jesse/nightly-loadtest-workflow branch April 24, 2023 15:48
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants