Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7baf4b2
wip
scheibinger Jun 24, 2025
8d8e993
notes
scheibinger Jun 24, 2025
f0210eb
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jun 25, 2025
fb23c24
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jun 27, 2025
c39d0e2
update go mods
scheibinger Jun 27, 2025
9db847a
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jun 30, 2025
f8ebbed
use blockchain component from crib v2
scheibinger Jun 30, 2025
562b83d
create namespace
scheibinger Jun 30, 2025
6bb7e3f
initial try to integrate with node v1 component
scheibinger Jun 30, 2025
0537625
rename
scheibinger Jun 30, 2025
2888377
deploy nodes via crib-sdk
scheibinger Jul 1, 2025
015fda6
fix anvil component name
scheibinger Jul 2, 2025
2eadf60
update api
scheibinger Jul 3, 2025
9814b4b
jd is working now
scheibinger Jul 4, 2025
01f6c90
move functions to crib.go
scheibinger Jul 4, 2025
d327b19
use nodeset component
scheibinger Jul 7, 2025
5e52a16
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jul 7, 2025
c011a19
fix crib deploys after refactor, pass namespace within infraInput
scheibinger Jul 7, 2025
269f802
set outputs from plan results
scheibinger Jul 7, 2025
c80d5f6
Add instructions about images and kubefwd
scheibinger Jul 8, 2025
fb0bab7
Merge node toml user config overrides
george-dorin Jul 8, 2025
791c0ee
Add port forward script
george-dorin Jul 9, 2025
5a89357
Rename forward script and update README.md
george-dorin Jul 9, 2025
e9c3de9
deploy individual nodes with each having its own DB
scheibinger Jul 14, 2025
f8c32cf
Remove TLS
george-dorin Jul 14, 2025
d3f2f24
replace kubefwd with telepresence
scheibinger Jul 15, 2025
adc5a2f
pass env vars from nodeSpec
scheibinger Jul 15, 2025
5463ede
update go.mods using gomod-local-update tool
scheibinger Jul 15, 2025
6ebcc98
update crib-sdk refs and go mod tidy
scheibinger Jul 15, 2025
e30c825
info about local replace
scheibinger Jul 15, 2025
f914752
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jul 15, 2025
d5ddfc8
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jul 21, 2025
a2c1fab
gomods -w gomod-local-update
scheibinger Jul 21, 2025
93382de
update go mods after making crib-sdk public
scheibinger Jul 21, 2025
e19d675
make gomodtidy
scheibinger Jul 21, 2025
e4537e5
make generate
scheibinger Jul 21, 2025
75759ed
fix golangci-lint
scheibinger Jul 21, 2025
9a4ba37
Added changeset
scheibinger Jul 21, 2025
94fc30c
fix fmt
scheibinger Jul 21, 2025
b6354ce
Switch crib-sdk to released version
scheibinger Jul 22, 2025
0698932
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
scheibinger Jul 22, 2025
a956ce8
make gomodtidy
scheibinger Jul 22, 2025
9bb3602
bump crib-sdk
scheibinger Jul 22, 2025
f40ac06
quit existing telepresence processess
scheibinger Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/yummy-toys-strive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#internal Replaced CRE devspace invocation with crib-sdk
1 change: 1 addition & 0 deletions core/scripts/cre/environment/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
helm 3.17.3
4 changes: 4 additions & 0 deletions core/scripts/cre/environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ The CLI manages CRE test environments. It is located in `core/scripts/cre/enviro
> [See more for configuring AWS in CLL](https://smartcontract-it.atlassian.net/wiki/spaces/INFRA/pages/1045495923/Configure+the+AWS+CLI)


## Prerequisites For CRIB ###
1. telepresence installed: `brew install telepresenceio/telepresence/telepresence-oss`
2. Telepresence will update the /etc/resolver configs and will require to enter sudo password the first time you run it

# QUICKSTART
```
# e.g. AWS_ECR=<PROD_ACCOUNT_ID>.dkr.ecr.<REGION>.amazonaws.com
Expand Down
46 changes: 46 additions & 0 deletions core/scripts/cre/environment/configs/single-don-crib.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[[blockchains]]
chain_id = "1337"
docker_cmd_params = ["-b", "5"]
type = "anvil"

[infra]
type = "crib"

[infra.crib]
folder_location = "/your/absolute/path/to/crib/deployments/cre"
namespace = "crib-local"
provider = "kind"

# Fields below are required, check guidelines.md for details
# [infra.crib.team_input]
# team = "your-team"
# product = "product-name"
# component = "crib"
# cost_center = "crib"

[jd]
csa_encryption_key = "d1093c0060d50a3c89c189b2e485da5a3ce57f3dcb38ab7e2c0d5f0bb2314a44"
image = "localhost:5001/job-distributor:0.12.7"

[[nodesets]]
http_port_range_start = 10100
name = "workflow"
nodes = 5
override_mode = "all"

[nodesets.db]
image = "postgres:12.0"
port = 13000

[[nodesets.node_specs]]

[nodesets.node_specs.node]
image = "localhost:5001/chainlink:nightly-20250624-plugins"
user_config_overrides = """
[Log]
Level = 'debug'
JSONConsole = true
"""

[nodesets.node_specs.node.env_vars]
CL_EVM_CMD = ""
50 changes: 32 additions & 18 deletions core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ replace github.com/smartcontractkit/chainlink/deployment => ../../deployment

replace github.com/smartcontractkit/chainlink/system-tests/lib => ../../system-tests/lib

// Uncomment to work with local version of crib-sdk
// replace github.com/smartcontractkit/crib-sdk => ../../../crib-sdk

// Using a separate `require` here to avoid surrounding line changes
// creating potential merge conflicts.
require (
github.com/smartcontractkit/chainlink/deployment v0.0.0-20250402195829-918b2a02a926
github.com/smartcontractkit/chainlink/v2 v2.22.1-por-beta.5.0.20250430150202-611699e34308
github.com/smartcontractkit/chainlink/deployment v0.0.0-20250718211650-37ca415e72a0
github.com/smartcontractkit/chainlink/v2 v2.0.0-20250718211650-37ca415e72a0
)

require (
Expand All @@ -22,7 +25,7 @@ require (
github.com/docker/docker v28.1.1+incompatible
github.com/docker/go-connections v0.5.0
github.com/ethereum/go-ethereum v1.15.11
github.com/gkampitakis/go-snaps v0.5.4
github.com/gkampitakis/go-snaps v0.5.13
github.com/google/go-cmp v0.7.0
github.com/google/go-github/v72 v72.0.0
github.com/google/uuid v1.6.0
Expand All @@ -49,10 +52,10 @@ require (
github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.2
github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4
github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.2
github.com/smartcontractkit/chainlink/system-tests/lib v0.0.0-00010101000000-000000000000
github.com/smartcontractkit/chainlink/system-tests/lib v0.0.0-20250718211650-37ca415e72a0
github.com/smartcontractkit/libocr v0.0.0-20250703184212-d054fa589c01
github.com/spf13/cobra v1.9.1
github.com/spf13/viper v1.19.0
github.com/spf13/viper v1.20.1
github.com/stretchr/testify v1.10.0
github.com/tidwall/gjson v1.18.0
github.com/umbracle/ethgo v0.1.3
Expand All @@ -78,7 +81,7 @@ require (
cosmossdk.io/math v1.4.0 // indirect
cosmossdk.io/store v1.1.1 // indirect
cosmossdk.io/x/tx v0.13.7 // indirect
dario.cat/mergo v1.0.1 // indirect
dario.cat/mergo v1.0.2 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.1 // indirect
Expand All @@ -91,6 +94,8 @@ require (
github.com/Depado/ginprom v1.8.0 // indirect
github.com/Khan/genqlient v0.7.0 // indirect
github.com/MakeNowJust/heredoc v1.0.0 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/sprig/v3 v3.3.0 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/NethermindEth/juno v0.12.5 // indirect
github.com/NethermindEth/starknet.go v0.8.0 // indirect
Expand Down Expand Up @@ -121,7 +126,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.2 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.32.2 // indirect
github.com/aws/constructs-go/constructs/v10 v10.4.2 // indirect
github.com/aws/jsii-runtime-go v1.104.0 // indirect
github.com/aws/jsii-runtime-go v1.112.0 // indirect
github.com/aws/smithy-go v1.22.0 // indirect
github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
Expand All @@ -132,6 +137,7 @@ require (
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/blendle/zapdriver v1.3.1 // indirect
github.com/block-vision/sui-go-sdk v1.0.6 // indirect
github.com/brianvoe/gofakeit/v7 v7.3.0 // indirect
github.com/btcsuite/btcd v0.24.2 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
github.com/btcsuite/btcd/btcutil v1.1.6 // indirect
Expand All @@ -142,7 +148,8 @@ require (
github.com/bytecodealliance/wasmtime-go/v28 v28.0.0 // indirect
github.com/bytedance/sonic v1.12.3 // indirect
github.com/bytedance/sonic/loader v0.2.0 // indirect
github.com/cdk8s-team/cdk8s-core-go/cdk8s/v2 v2.7.5 // indirect
github.com/cdk8s-team/cdk8s-core-go/cdk8s/v2 v2.70.2 // indirect
github.com/cdk8s-team/cdk8s-plus-go/cdk8splus30/v2 v2.4.8 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
Expand Down Expand Up @@ -187,6 +194,7 @@ require (
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
github.com/crate-crypto/go-eth-kzg v1.3.0 // indirect
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
github.com/creasty/defaults v1.8.0 // indirect
github.com/danieljoos/wincred v1.2.1 // indirect
github.com/danielkov/gin-helmet v0.0.0-20171108135313-1387e224435e // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
Expand Down Expand Up @@ -216,6 +224,7 @@ require (
github.com/ethereum/go-verkle v0.2.2 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
github.com/expr-lang/expr v1.17.5 // indirect
github.com/fardream/go-bcs v0.7.0 // indirect
github.com/fatih/camelcase v1.0.0 // indirect
github.com/fatih/color v1.18.0 // indirect
Expand All @@ -225,7 +234,7 @@ require (
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/fvbommel/sortorder v1.1.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
github.com/gagliardetto/binary v0.8.0 // indirect
github.com/gagliardetto/solana-go v1.12.0 // indirect
github.com/gagliardetto/treeout v0.1.4 // indirect
Expand All @@ -238,7 +247,7 @@ require (
github.com/gin-contrib/size v0.0.0-20230212012657-e14a14094dc4 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/gin-gonic/gin v1.10.0 // indirect
github.com/gkampitakis/ciinfo v0.3.0 // indirect
github.com/gkampitakis/ciinfo v0.3.2 // indirect
github.com/gkampitakis/go-diff v1.3.2 // indirect
github.com/go-asn1-ber/asn1-ber v1.5.5 // indirect
github.com/go-chi/chi v1.5.5 // indirect
Expand All @@ -257,13 +266,13 @@ require (
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.25.0 // indirect
github.com/go-playground/validator/v10 v10.27.0 // indirect
github.com/go-resty/resty/v2 v2.16.5 // indirect
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
github.com/go-webauthn/webauthn v0.9.4 // indirect
github.com/go-webauthn/x v0.1.5 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/goccy/go-yaml v1.12.0 // indirect
github.com/goccy/go-yaml v1.18.0 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/gofrs/flock v0.12.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand Down Expand Up @@ -308,13 +317,13 @@ require (
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/hasura/go-graphql-client v0.13.1 // indirect
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 // indirect
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
github.com/holiman/uint256 v1.3.2 // indirect
github.com/huandu/xstrings v1.5.0 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
Expand Down Expand Up @@ -366,12 +375,14 @@ require (
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/minio-go/v7 v7.0.68 // indirect
github.com/minio/sha256-simd v1.0.1 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
github.com/mitchellh/mapstructure v1.5.1-0.20220423185008-bf980b35cac4 // indirect
github.com/mitchellh/pointerstructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/buildkit v0.20.1 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/go-archive v0.1.0 // indirect
Expand Down Expand Up @@ -425,13 +436,13 @@ require (
github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/rogpeppe/go-internal v1.14.1 // indirect
github.com/rs/cors v1.11.1 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sagikazarmark/locafero v0.7.0 // indirect
github.com/samber/lo v1.51.0 // indirect
github.com/sanity-io/litter v1.5.5 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
github.com/sasha-s/go-deadlock v0.3.5 // indirect
Expand Down Expand Up @@ -465,6 +476,7 @@ require (
github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect
github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect
github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect
github.com/smartcontractkit/crib-sdk v0.4.0 // indirect
github.com/smartcontractkit/freeport v0.1.1 // indirect
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
github.com/smartcontractkit/mcms v0.20.2 // indirect
Expand All @@ -473,8 +485,8 @@ require (
github.com/smartcontractkit/wsrpc v0.8.5-0.20250502134807-c57d3d995945 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.12.0 // indirect
github.com/spf13/cast v1.7.1 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/spf13/cast v1.9.2 // indirect
github.com/spf13/pflag v1.0.7 // indirect
github.com/stephenlacy/go-ethereum-hdwallet v0.0.0-20230913225845-a4fa94429863 // indirect
github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 // indirect
github.com/stretchr/objx v0.5.2 // indirect
Expand Down Expand Up @@ -514,6 +526,7 @@ require (
github.com/xlab/treeprint v1.2.0 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
github.com/xssnick/tonutils-go v1.13.0 // indirect
github.com/yuin/goldmark v1.7.12 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
github.com/zclconf/go-cty v1.16.0 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
Expand Down Expand Up @@ -556,6 +569,7 @@ require (
golang.org/x/arch v0.11.0 // indirect
golang.org/x/crypto v0.40.0 // indirect
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc // indirect
golang.org/x/lint v0.0.0-20241112194109-818c5a804067 // indirect
golang.org/x/mod v0.26.0 // indirect
golang.org/x/net v0.42.0 // indirect
golang.org/x/sync v0.16.0 // indirect
Expand Down
Loading
Loading