chainlink-common
chainlink-common copied to clipboard
feat: loopinstall local plugins
Changes
- Refactor logic for readability
- Support local installs
Testing
I'm not sure how to fully test this.
I've tested that it at least installs with non-zero exit code when pointed at a local repo. For example:
cosmos:
- moduleURI: "/Users/erik/Documents/repos/chainlink-cosmos"
gitRef: "f740e9ae54e79762991bdaf8ad6b50363261c056"
installPath: "./pkg/cosmos/cmd/chainlink-cosmos"
libs:
- "/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v*/internal/api/libwasmvm.*.so"
DX-2113
@erikburt we should be able to test this by pointing /chainlink to use your branch/ref here for chainlink-common (in the root go.mod IIRC) and then trying to build a Docker image with the private plugins. Let me know if I can help 👍