Skip to content

Commit

Permalink
[chore] Add script to deploy CapabilityRegistry with hardcoded config (
Browse files Browse the repository at this point in the history
…#13621)

* [chore] Add script to deploy CapabilityRegistry with hardcoded config

* gomodtidy
  • Loading branch information
cedric-cordenier authored Jun 19, 2024
1 parent b7f4dc3 commit 3eb0a37
Show file tree
Hide file tree
Showing 5 changed files with 389 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-lemons-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#internal Add script to provision capability registry
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ require (
github.com/umbracle/fastrlp v0.0.0-20220527094140-59d5dd30e722
github.com/urfave/cli v1.22.14
go.dedis.ch/kyber/v3 v3.1.0
google.golang.org/protobuf v1.33.0
k8s.io/api v0.30.0
k8s.io/apimachinery v0.30.0
k8s.io/client-go v0.30.0
Expand Down Expand Up @@ -347,7 +348,6 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/guregu/null.v4 v4.0.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

go run main.go \
deploy-and-initialize-capabilities-registry \
--chainid=11155111 \
--ethurl=$ETH_URL \
--accountkey=$ACCOUNT_KEY \
--craddress=$CR_ADDRESS \ // 0x0d36aAC2Fd9d6d1C1F59251be6A2B337af27C52B
1 change: 1 addition & 0 deletions core/scripts/keystone/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func main() {
src.NewDeployJobSpecsCommand(),
src.NewGenerateCribClusterOverridesCommand(),
src.NewDeleteJobsCommand(),
src.NewDeployAndInitializeCapabilitiesRegistryCommand(),
}

commandsList := func(commands []command) string {
Expand Down
Loading

0 comments on commit 3eb0a37

Please sign in to comment.