Skip to content

Add dev container config to Horizon #1181

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

Merged
merged 4 commits into from
Jun 4, 2025
Merged

Conversation

RembrandtK
Copy link
Contributor

Not urgent but would be convenient to have this on horizon branch.

Based on main dev container config and updated to use pnpm instead of yarn.

@RembrandtK RembrandtK requested a review from Copilot June 4, 2025 13:48
@RembrandtK RembrandtK self-assigned this Jun 4, 2025
Copilot

This comment was marked as outdated.

RembrandtK and others added 2 commits June 4, 2025 15:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@RembrandtK RembrandtK requested a review from Copilot June 4, 2025 14:19
Copilot

This comment was marked as outdated.

@RembrandtK RembrandtK requested a review from Copilot June 4, 2025 15:33
Copy link
Contributor

@Copilot 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 dev container configuration to the Horizon branch to simplify development setup for Graph Protocol contracts by incorporating updated settings based on the main branch and switching dependency management to pnpm.

  • Introduces new scripts (project-setup.sh, host-setup.sh, setup-git-signing.sh) to configure both the container and host environments.
  • Updates configuration files (docker-compose.yml, devcontainer.json, Dockerfile, README.md, sample-graph.env) to support the new development workflow.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.devcontainer/setup-git-signing.sh Script to set up Git SSH signing using forwarded SSH keys
.devcontainer/sample-graph.env Sample environment file outlining Git commit signing and custom binary path settings
.devcontainer/project-setup.sh Script to perform project-specific setup including dependency installation with pnpm
.devcontainer/host-setup.sh Script to initialize host directories for caching and environmental preparation
.devcontainer/docker-compose.yml Defines the dev container service configurations including environment variables and volume mounts
.devcontainer/devcontainer.json Dev container configuration file that uses docker-compose and specifies extensions for VS Code
.devcontainer/README.md Documentation providing an overview and setup instructions for the dev container
.devcontainer/Dockerfile Dockerfile setting up the base image with dependencies, tools, and PNPM configuration

@RembrandtK RembrandtK marked this pull request as ready for review June 4, 2025 17:31
@RembrandtK
Copy link
Contributor Author

I'm going to merge this, all files are in .devcontainer dir and should not impact anything else.

@RembrandtK RembrandtK merged commit 79ed5a1 into horizon Jun 4, 2025
4 checks passed
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.

1 participant