Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.05 KB

File metadata and controls

43 lines (29 loc) · 2.05 KB

CLD Changesets



This repository contains reusable common CLD Changesets such as MCMS, Datastore, JD and more which are used in CLD to perform deployments.

cre

Directory cre holds CRE-related changesets and operations.

cre_workflow_deploy: resolves pre-built workflow WASM, workflow config, and project.yaml (GitHub release, URL, or local), writes workflow.yaml and context.yaml, and runs cre workflow deploy via the framework operations API.

  • Changeset: cre/changesets.CREWorkflowDeployChangeset
  • Input: cre/operations.CREWorkflowDeployInput — pipeline YAML supplies project (cre/artifacts.ConfigSource), deploymentRegistry, and the workflow bundle (binary, config, name). RPCs and cre-cli settings live in the user-provided project.yaml.
  • Operation: cre/operations.CREWorkflowDeployOp

Domain resolvers can be pass-through; pipeline YAML must include donFamily, project, and the workflow bundle fields.

Package layout

Package Purpose
cre/changesets CLD changesets (e.g. CREWorkflowDeployChangeset)
cre/operations Idempotent CLD operations invoked by changesets; also defines shared CRE deploy types (CREWorkflowDeployInput, CREDeployDeps)

Usage

go get github.com/smartcontractkit/cld-changesets

Contributing

For instructions on how to contribute to cld-changesets and the release process, see CONTRIBUTING.md

Releasing

For instructions on how to release cld-changesets, see RELEASE.md