Skip to content

chore(devnet): devnet test script#35

Closed
nme-mvasylenko wants to merge 25 commits intomainfrom
chore/protocol-deployer-script-non-root-user-fix
Closed

chore(devnet): devnet test script#35
nme-mvasylenko wants to merge 25 commits intomainfrom
chore/protocol-deployer-script-non-root-user-fix

Conversation

@nme-mvasylenko
Copy link
Copy Markdown

@nme-mvasylenko nme-mvasylenko commented Oct 17, 2025

added periodic checks in CI for bring up/tear down devnet without provers

solves error for non-root users on ubuntu

 => => sha256:f6f3cc67eec4a24841e2a9425bcf9cb750826eb87bb69099377cbdc159700aaf 6.63kB / 6.63kB                                                      0.0s
 => ERROR [internal] load build context                                                                                                             0.0s
 => => transferring context: 94B                                                                                                                    0.0s
------
 > [internal] load build context:
------
failed to solve: error from sender: open /home/ubuntu/surge/simple-surge-node/blockscout-postgres-data/data: permission denied

@nme-mvasylenko nme-mvasylenko changed the title chore(devnet): add .dockerignore to prevent docker build errors chore(devnet): devnet test script Oct 21, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-interactive flag to skip user prompts in deployment scripts
  • Implements conditional DOCKER_USER export 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.

nme-mvasylenko and others added 5 commits November 4, 2025 16:29
…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>
@nme-mvasylenko nme-mvasylenko force-pushed the chore/protocol-deployer-script-non-root-user-fix branch from 4f04135 to a2db3bf Compare November 4, 2025 16:29
@nme-mvasylenko nme-mvasylenko deleted the chore/protocol-deployer-script-non-root-user-fix branch February 20, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants