Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion core/scripts/cre/environment/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
helm 3.17.3
bun 1.3.9
helm 3.17.3
6 changes: 4 additions & 2 deletions core/scripts/cre/environment/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions core/scripts/cre/environment/environment/localbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,29 @@ type capBuildSpec struct {
dir string
binary string
flags []string

// pkg is what to build inside dir, for a module that produces more than one
// binary. Empty builds the module itself.
pkg string
}

// knownCapabilities is the set of CRE capability plugins that can be built from
// the local capabilities repo. Keys accept both dash and underscore forms.
//
// cron builds two binaries from one module: the legacy LOOP the job spec names,
// and the v2 binary the node runs next to it instead when the capability's
// V2ActivePeriod CRE setting is active.
var knownCapabilities = map[string]capBuildSpec{
"cron": {dir: "cron", binary: "cron", flags: []string{"-tags", "timetzdata"}},
"cron": {dir: "scheduler/cron", binary: "cron", pkg: "./legacy", flags: []string{"-tags", "timetzdata"}},
"cronv2": {dir: "scheduler/cron", binary: "cronv2", flags: []string{"-tags", "timetzdata"}},
"consensus": {dir: "consensus", binary: "consensus"},
"http-action": {dir: "http_action", binary: "http_action"},
"http-trigger": {dir: "http_trigger", binary: "http_trigger"},
"evm": {dir: "chain_capabilities/evm", binary: "evm"},
}

// allCapabilities is the default set built when "all" is requested.
var allCapabilities = []string{"cron", "consensus", "http-action", "http-trigger", "evm"}
var allCapabilities = []string{"cron", "cronv2", "consensus", "http-action", "http-trigger", "evm"}

const localBuildContainerCapDir = "/usr/local/bin"

Expand Down Expand Up @@ -243,7 +252,13 @@ func (c *LocalBuildConfig) buildCapabilities(ctx context.Context, specs []capBui
binPath := filepath.Join(outDir, s.binary)
framework.L.Info().Msgf("Building capability %q (from %s)", s.binary, s.dir)
args := append([]string{"build"}, s.flags...)
args = append(args, "-o", binPath, ".")

pkg := s.pkg
if pkg == "" {
pkg = "."
}

args = append(args, "-o", binPath, pkg)
cmd := exec.CommandContext(ctx, "go", args...)
cmd.Dir = modDir
cmd.Env = append(os.Environ(), append([]string{"CGO_ENABLED=0"}, c.goEnv()...)...)
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/shopspring/decimal v1.4.0
github.com/smartcontractkit/chain-selectors v1.0.112
github.com/smartcontractkit/chainlink-ccip/chains/evm v0.0.0-20261001213322-a2d686f610ca
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb
github.com/smartcontractkit/chainlink-deployments-framework v0.126.0
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20261112211734-e640e1c12078
Expand Down
4 changes: 2 additions & 2 deletions core/scripts/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deployment/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ require (
github.com/smartcontractkit/chainlink-ccip/chains/solana/deployment v0.0.0-20260916222901-720a003dab50
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb
github.com/smartcontractkit/chainlink-data-streams v1.1.3
github.com/smartcontractkit/chainlink-deployments-framework v0.126.0
Expand Down
4 changes: 2 additions & 2 deletions deployment/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ require (
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260908155618-50f521d70e62
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260908155618-50f521d70e62
github.com/smartcontractkit/chainlink-ccv v0.16.0
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9
github.com/smartcontractkit/chainlink-data-streams v1.1.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require (
github.com/smartcontractkit/chainlink-ccip/chains/evm v0.0.0-20261001213322-a2d686f610ca
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb
github.com/smartcontractkit/chainlink-deployments-framework v0.126.0
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20261112211734-e640e1c12078
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration-tests/load/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/smartcontractkit/chainlink-ccip/chains/evm v0.0.0-20261001213322-a2d686f610ca
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-deployments-framework v0.126.0
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20261112211734-e640e1c12078
github.com/smartcontractkit/chainlink-testing-framework/framework v0.16.9
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions plugins/plugins.public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,17 @@ plugins:
installPath: "./pkg/cmd/chainlink-evm"

capability-cron:
- moduleURI: "github.com/smartcontractkit/capabilities/cron"
gitRef: "7eae8ad587274c02c5f6593c262a47892d2b7df5"
installPath: "."
- moduleURI: "github.com/smartcontractkit/capabilities/scheduler/cron"
gitRef: "9777ffcac0b966d2488cb1e63e155da8b98bd8d6"
installPath: "./legacy"
binaryName: "cron"
flags: "-tags timetzdata"

capability-cronv2:
- moduleURI: "github.com/smartcontractkit/capabilities/cron"
gitRef: "12ca7f9cba40dea8ad4ce1661e8459b05cbb1761"
installPath: "./cmd/cronv2"
- moduleURI: "github.com/smartcontractkit/capabilities/scheduler/cron"
gitRef: "9777ffcac0b966d2488cb1e63e155da8b98bd8d6"
installPath: "."
binaryName: "cronv2"
flags: "-tags timetzdata"

capability-consensus:
Expand Down
2 changes: 1 addition & 1 deletion system-tests/lib/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.112
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260923062809-ca886ade4d26
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb
github.com/smartcontractkit/chainlink-confidential-compute v1.3.0
github.com/smartcontractkit/chainlink-deployments-framework v0.126.0
Expand Down
4 changes: 2 additions & 2 deletions system-tests/lib/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion system-tests/tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.112
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260923062809-ca886ade4d26
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261109191636-419bd72008ad
github.com/smartcontractkit/chainlink-common v0.11.2-0.20261116213440-51f4bebad41d
github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9
github.com/smartcontractkit/chainlink-confidential-compute v1.3.0
Expand Down
4 changes: 2 additions & 2 deletions system-tests/tests/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading