chainlink-testing-framework icon indicating copy to clipboard operation
chainlink-testing-framework copied to clipboard

try build Chainlink

Open skudasov opened this issue 1 year ago • 1 comments


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce a new GitHub Actions workflow for Docker cache testing, alongside adding configuration and test files for a sample project in the framework. This setup aims to streamline development and testing processes by leveraging Docker caching mechanisms and setting up a structured example project with blockchain and node configurations.

What

  • .github/workflows/framework-build-cache.yml
    • Added a new GitHub Actions workflow for testing Docker cache in the framework examples project. This includes setup steps for Go, caching Go modules, checking out the Chainlink repository, and running system tests with specific configurations.
  • framework/examples/myproject/build.toml
    • Introduced a new TOML configuration file specifying blockchain settings (using Anvil), data provider configurations, and node set details including a PostgreSQL database image and Docker context for Chainlink nodes. This config is pivotal for setting up the project's blockchain environment.
  • framework/examples/myproject/build_test.go
    • Added a new Go test file that leverages the Chainlink testing framework to load the project configuration from build.toml and initialize a blockchain network and node set based on the provided configurations. This test validates the project setup and configurations.

skudasov avatar Dec 02 '24 18:12 skudasov

No longer needed.

skudasov avatar Jun 05 '25 12:06 skudasov