Skip to content

Commit 7dd986b

Browse files
authored
Merge branch 'main' into ship-3979-remove-ws-validation
2 parents c0bbc71 + 7987e78 commit 7dd986b

File tree

119 files changed

+1512
-1443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+1512
-1443
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0 # Fetch all history for all tags
1919

2020
- name: Setup mdBook
21-
uses: peaceiris/actions-mdbook@v1
21+
uses: peaceiris/actions-mdbook@v2
2222
with:
2323
mdbook-version: '0.4.40'
2424

@@ -33,7 +33,7 @@ jobs:
3333
mdbook build
3434
3535
- name: Deploy to GitHub Pages
36-
uses: peaceiris/actions-gh-pages@v3
36+
uses: peaceiris/actions-gh-pages@v4
3737
with:
3838
github_token: ${{ secrets.GITHUB_TOKEN }}
3939
publish_dir: book

.github/workflows/framework-golden-tests.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Framework Golden Tests Examples
22
on:
33
push:
4-
concurrency:
5-
group: ${{ github.workflow }}-${{ github.ref }}-framework-golden-examples
6-
cancel-in-progress: true
74

85
jobs:
96
test:
@@ -18,20 +15,30 @@ jobs:
1815
id-token: write
1916
contents: read
2017
strategy:
18+
fail-fast: false
2119
matrix:
2220
test:
2321
- name: TestSmoke
2422
config: smoke.toml
2523
count: 1
2624
timeout: 10m
27-
- name: TestLoad
28-
config: load.toml
25+
- name: TestUpgrade
26+
config: upgrade.toml
27+
count: 1
28+
timeout: 10m
29+
- name: TestPerformanceBaseline
30+
config: performance_baseline.toml
2931
count: 1
3032
timeout: 10m
3133
- name: TestChaos
3234
config: chaos.toml
3335
count: 1
3436
timeout: 10m
37+
- name: TestScalability
38+
config: scalability.toml
39+
count: 1
40+
timeout: 10m
41+
name: ${{ matrix.test.name }}
3542
steps:
3643
- name: Checkout repo
3744
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
@@ -62,9 +69,10 @@ jobs:
6269
path: |
6370
~/.cache/go-build
6471
~/go/pkg/mod
65-
key: go-modules-${{ hashFiles('**/go.sum') }}-${{ runner.os }}-framework-golden-examples
72+
key: go-modules-${{ hashFiles('framework/examples/myproject/go.sum') }}-${{ runner.os }}-framework-golden-examples
6673
restore-keys: |
67-
go-modules-${{ hashFiles('**/go.sum') }}-${{ runner.os }}-framework-golden-examples
74+
go-modules-${{ runner.os }}-framework-golden-examples
75+
go-modules-${{ runner.os }}
6876
- name: Install dependencies
6977
run: go mod download
7078
- name: Run Docker Component Tests

.github/workflows/framework.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
go-version: 1.22.8
4040
- name: Cache Go modules
41-
uses: actions/cache@v3
41+
uses: actions/cache@v4
4242
with:
4343
path: |
4444
~/.cache/go-build

.github/workflows/modgraph.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Module graph
2+
on:
3+
pull_request:
4+
jobs:
5+
modgraph:
6+
runs-on: ubuntu-latest
7+
name: modgraph
8+
steps:
9+
- name: Checkout the Repo
10+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
11+
- name: Setup Go
12+
uses: actions/setup-go@v5
13+
- run: make modgraph
14+
- name: Ensure clean modgraph
15+
run: git diff --minimal --exit-code

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ suite/remote_runner_config.yaml
4646
*.csv
4747

4848
# docs
49-
docs/_site/
50-
docs/.sass-cache/
51-
docs/Gemfile.lock
49+
book/docs/
5250

5351
dist/
5452

@@ -78,4 +76,4 @@ __debug*
7876
.tool-versions
7977

8078
import_keys_test.go
81-
tag.py
79+
tag.py

.nancy-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ CVE-2023-48795 # Improper Validation of Integrity Check Value x/crypto, which is
1111
CVE-2024-24786 # CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') in indirect dependency
1212
CVE-2024-32972 # CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion') [still not fixed, not even in v1.13.8]
1313
CVE-2023-42319 # CWE-noinfo: lol... go-ethereum v1.13.8 again
14+
CVE-2024-10086 # Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
15+
CVE-2024-51744 # CWE-755: Improper Handling of Exceptional Conditions

CONTRIBUTING.md

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

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.PHONY: modgraph
2+
modgraph:
3+
go install github.com/jmank88/[email protected]
4+
go install github.com/jmank88/[email protected]
5+
./modgraph > go.md

book/README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
## MDBook
2-
Install [mdbook](https://github.com/rust-lang/mdBook)
3-
```
1+
# Chainlink Testing Framework Docs
2+
3+
We use [mdBook](https://github.com/rust-lang/mdBook) for our docs. They can be found [here](https://smartcontractkit.github.io/chainlink-testing-framework/).
4+
5+
## Development
6+
7+
First [install Rust](https://doc.rust-lang.org/cargo/getting-started/installation.html), then [mdbook](https://github.com/rust-lang/mdBook).
8+
9+
```sh
10+
# Install mdBook
411
cargo install mdbook && \
512
cargo install mdbook-alerts && \
613
cargo install mdbook-cmdrun
7-
```
8-
9-
Run it locally
10-
```
14+
# Run the mdBook
1115
make run
1216
```
13-
Open your browser [here](http://localhost:9999/)
1417

15-
GitHub hosted [version](https://smartcontractkit.github.io/chainlink-testing-framework/overview.html)
18+
Visit [localhost:9999](http://localhost:9999) to see your local version.

book/src/SUMMARY.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
- [CLI](./framework/cli.md)
1515
- [Configuration](./framework/configuration.md)
1616
- [Test Configuration](./framework/test_configuration_overrides.md)
17-
- [Caching](framework/components/caching.md)
17+
- [Components Persistence](framework/components/state.md)
18+
- [Components Cleanup](framework/components/cleanup.md)
19+
- [Components Caching](framework/components/caching.md)
20+
- [External Environment](framework/components/external.md)
1821
- [Secrets]()
1922
- [Observability Stack](framework/observability/observability_stack.md)
2023
- [Metrics](framework/observability/metrics.md)
@@ -36,12 +39,11 @@
3639
- [Chainlink]()
3740
- [RPC]()
3841
- [Loki]()
39-
- [Testing]()
42+
- [Testing Maturity Model](framework/testing.md)
4043
- [Smoke]()
4144
- [Performance]()
4245
- [Chaos]()
4346
- [Interactive](framework/interactive.md)
44-
- [Continuous Integration](ci/ci.md)
4547
- [Libraries](./libraries.md)
4648
- [Seth](./libs/seth.md)
4749
- [WASP](./libs/wasp.md)

0 commit comments

Comments
 (0)