You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/developing/developing_components.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,13 +47,13 @@ Each component can define inputs and outputs, following these rules:
47
47
- If your component is used for side effects output can be omitted.
48
48
-`input.Out.UseCache` should be added if you'd like to use caching, see more [here](caching)
49
49
50
-
### Docker components good practices for [testcontainers-go](https://golang.testcontainers.org/):
50
+
### Building Local Images
51
51
52
-
An example [simple component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/blockchain/anvil.go)
52
+
Use `framework.BuildImage` or `framework.BuildImageOnce` to build the docker image.
53
53
54
-
An example of [complex component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/clnode/clnode.go)
54
+
Do not use `testcontainers.NewDockerProvider()` methods, see issues: [#1](https://github.com/testcontainers/testcontainers-go/pull/2482), [#2](https://github.com/testcontainers/testcontainers-go/issues/1484)
55
55
56
-
An example of [composite component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/simple_node_set/node_set.go)
56
+
### Docker components good practices for [testcontainers-go](https://golang.testcontainers.org/):
57
57
58
58
- Inputs should include at least `image`, `tag` and `pull_image` field
59
59
```golang
@@ -94,3 +94,10 @@ An example of [composite component](https://github.com/smartcontractkit/chainlin
An example [simple component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/blockchain/anvil.go)
99
+
100
+
An example of [complex component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/clnode/clnode.go)
101
+
102
+
An example of [composite component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/simple_node_set/node_set.go)
Copy file name to clipboardExpand all lines: book/src/framework/nodeset_docker_rebuild.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,5 +25,7 @@ Create a configuration file `smoke.toml`
25
25
26
26
These paths will work for `e2e/capabilities` in our main [repository](https://github.com/smartcontractkit/chainlink/tree/ctf-v2-tests/e2e/capabilities)
27
27
28
+
Also check how you can add rebuild to your [components](../developing/developing_components.md#building-local-images).
29
+
28
30
Summary:
29
31
- We learned how we can quickly re-build local docker image for CL node
0 commit comments