Skip to content

Commit d4379fc

Browse files
authored
Move old docs, add deprecation notice (#1284)
move v1 docs to mdbook, stub old readmes and point them all in one place
1 parent 7437e46 commit d4379fc

34 files changed

+1122
-2388
lines changed

.github/workflows/release-go-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ jobs:
136136
goarch: ${{ matrix.goarch }}
137137
binary_name: ${{ env.PACKAGE_NAME }}
138138
release_name: ${{ env.PACKAGE_NAME }}
139-
release_tag: ${{ env.PACKAGE_NAME}}-${{ env.VERSION }}
139+
release_tag: ${{ env.PACKAGE_NAME}}/${{ env.VERSION }}
140140
project_path: ${{ env.PACKAGE_NAME }}/cmd
141141
asset_name: ${{ env.PACKAGE_NAME }}-${{ env.VERSION }}-${{ matrix.platform }}-${{ matrix.goarch }}

RELEASE.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

SECRETS.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

book/src/SUMMARY.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- [CLI](./framework/cli.md)
1515
- [Configuration](./framework/configuration.md)
1616
- [Test Configuration](./framework/test_configuration_overrides.md)
17+
- [Caching](framework/components/caching.md)
1718
- [Secrets]()
1819
- [Observability Stack](framework/observability/observability_stack.md)
1920
- [Metrics]()
@@ -34,16 +35,26 @@
3435
- [Chainlink]()
3536
- [RPC]()
3637
- [Loki]()
38+
- [Continuous Integration](ci/ci.md)
3739
- [Libraries](./libraries.md)
3840
- [Seth](./libs/seth.md)
3941
- [WASP](./libs/wasp.md)
4042
- [Havoc](./libs/havoc.md)
43+
- [K8s Test Runner](k8s-test-runner/k8s-test-runner.md)
4144

4245
---
4346

4447
- [Developing](developing.md)
4548
- [Components](developing/developing_components.md)
4649
- [Releasing modules](releasing_modules.md)
4750

51+
---
52+
- [Lib (*Deprecated*)](lib.md)
53+
- [Blockchain](lib/blockchain.md)
54+
- [Kubernetes](lib/k8s/KUBERNETES.md)
55+
- [K8s Remote Run](lib/k8s/REMOTE_RUN.md)
56+
- [K8s Tutorial](lib/k8s/TUTORIAL.md)
57+
- [Config](lib/config/config.md)
58+
- [CRIB Connector](lib/crib.md)
4859
---
4960
- [Build info](build_info.md)

book/src/ci/ci.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Continuous Integration
2+
3+
Here we describe our good practices for structuring different types of tests in Continuous Integration (GitHub Actions).
4+
5+
Follow [this](https://github.com/smartcontractkit/.github/tree/main/.github/workflows) guide.

book/src/developing/developing_components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ Each component can define inputs and outputs, following these rules:
4949

5050
### Docker components good practices for [testcontainers-go](https://golang.testcontainers.org/):
5151

52-
An example [simple component](../../../../framework/components/blockchain/anvil.go)
52+
An example [simple component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/blockchain/anvil.go)
5353

54-
An example of [complex component](../../../../framework/components/clnode/clnode.go)
54+
An example of [complex component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/clnode/clnode.go)
5555

56-
An example of [composite component](../../../../framework/components/simple_node_set/node_set.go)
56+
An example of [composite component](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/framework/components/simple_node_set/node_set.go)
5757

5858
- Inputs should include at least `image`, `tag` and `pull_image` field
5959
```golang

book/src/framework/components/caching.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
We use component caching to accelerate test development and enforce idempotent test actions.
44

5-
Each component is designed to be pure with defined inputs/outputs.
5+
Each component is isolated by means of inputs and outputs.
66

7-
You can use an environment variable to skip deployment steps and use cached outputs if your infrastructure is already running (locally or remotely):
7+
If cached config has any outputs with `use_cache = true` it will be used instead of deploying a component again.
88

99
```
1010
export CTF_CONFIGS=smoke-cache.toml
@@ -26,4 +26,4 @@ http_url = 'http://127.0.0.1:33447'
2626
docker_internal_ws_url = 'ws://anvil-3716a:8900'
2727
docker_internal_http_url = 'http://anvil-3716a:8900'
2828
```
29-
Set flag `use_cache = true` on any component output and run your test again
29+
Set flag `use_cache = true` on any component output, change output fields as needed and run your test again.

book/src/framework/getting_started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
To start writing tests create a directory for your project with `go.mod` and pull the framework
44
```
5-
go get github.com/smartcontractkit/chainlink-testing-framework/framework@ac819d889f97e0f5c04aee3212454ad1f8b6f4ef
5+
go get github.com/smartcontractkit/chainlink-testing-framework/framework
66
```
77

88
Then download the CLI (runs from directory where you have `go.mod`)
9+
Make sure you have your GOPATH set: `export GOPATH=$HOME/go && export PATH=$PATH:$GOPATH/bin`
910
```
1011
go get github.com/smartcontractkit/chainlink-testing-framework/framework/cmd && \
1112
go install github.com/smartcontractkit/chainlink-testing-framework/framework/cmd && \

book/src/framework/nodeset_capabilities.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Create a configuration file `smoke.toml`
1616
port = "8545"
1717
type = "anvil"
1818

19-
[contracts]
20-
2119
[data_provider]
2220
port = 9111
2321

book/src/framework/nodeset_compatibility.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,9 @@ package capabilities_test
8585
import (
8686
"fmt"
8787
"github.com/smartcontractkit/chainlink-testing-framework/framework"
88-
"github.com/smartcontractkit/chainlink-testing-framework/framework/clclient"
8988
"github.com/smartcontractkit/chainlink-testing-framework/framework/components/blockchain"
9089
"github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake"
9190
ns "github.com/smartcontractkit/chainlink-testing-framework/framework/components/simple_node_set"
92-
"github.com/smartcontractkit/chainlink-testing-framework/seth"
93-
burn_mint_erc677 "github.com/smartcontractkit/chainlink/e2e/capabilities/components/gethwrappers"
94-
"github.com/smartcontractkit/chainlink/e2e/capabilities/components/onchain"
9591
"github.com/stretchr/testify/require"
9692
"os"
9793
"testing"

0 commit comments

Comments
 (0)