Closed
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a non-interactive mode for CI/CD automation of the Surge devnet deployment and introduces comprehensive provisioning checks. The changes enable automated testing and deployment without user prompts.
- Adds
--devnet-non-interactiveflag to skip user prompts in deployment scripts - Implements conditional
DOCKER_USERexport to handle permissions differently between local development and CI environments - Creates utility scripts and GitHub Actions workflow for automated devnet provisioning tests
Reviewed Changes
Copilot reviewed 10 out of 15 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| surge-stack-deployer.sh | Adds non-interactive mode that skips user prompts and sets default values for CI |
| surge-remover.sh | Adds non-interactive flag support and modifies DB removal to preserve .gitkeep files |
| surge-protocol-deployer.sh | Adds non-interactive mode for protocol deployment with default configurations |
| script/util/common.sh | New utility functions for RPC health checks, L1 deployment, and environment configuration |
| script/devnet-provision-check.sh | New script for automated devnet provisioning verification |
| script/devnet-provision-check-ci.sh | CI wrapper script that deploys L1 before running L2 provision checks |
| docker-compose.yml | Adds conditional DOCKER_USER setting for blockscout-postgres container |
| docker-compose-relayer.yml | Adds conditional DOCKER_USER setting for relayer-db container |
| .gitignore | Updates to preserve .gitkeep files in data directories |
| .dockerignore | New file to exclude data directories from Docker build context |
| .github/workflows/devnet-test-no-provers.yml | New GitHub Actions workflow for nightly devnet provisioning tests |
| rabbitmq/.gitkeep | Empty file to preserve directory structure |
| mysql-data/.gitkeep | Empty file to preserve directory structure |
| execution-data/.gitkeep | Empty file to preserve directory structure |
| blockscout-postgres-data/.gitkeep | Empty file to preserve directory structure |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…in permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4f04135 to
a2db3bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
added periodic checks in CI for bring up/tear down devnet without provers
solves error for non-root users on ubuntu