Local Docker Image Builds
In addition to this common setup you can also provide your local image path and quickly rebuild it automatically before starting the test.
Create a configuration file smoke.toml
[blockchain_a]
type = "anvil"
docker_cmd_params = ["-b", "1"]
[[nodesets]]
name = "don"
nodes = 5
override_mode = "all"
[nodesets.db]
image = "postgres:12.0"
[[nodesets.node_specs]]
[nodesets.node_specs.node]
# Dockerfile path is relative to "docker_ctx"
docker_file = "core/chainlink.Dockerfile"
docker_ctx = "../.."
# Or pin the image after the first build and work on the test
image = "chainlink-tmp:latest"
These paths will work for e2e/capabilities
in our main repository
Also check how you can add rebuild to your components.
Summary:
- We learned how we can quickly re-build local docker image for CL node