You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/scripts/cre/environment/README.md
+16-35Lines changed: 16 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,12 +186,9 @@ Builds that access private repositories require `GITHUB_TOKEN` to be set (e.g. `
186
186
# while in core/scripts/cre/environment
187
187
go run . env start [--auto-setup]
188
188
189
-
# to start environment with an example workflow web API-based workflow
189
+
# to start environment with the PoR v2 cron example workflow
190
190
go run . env start --with-example
191
191
192
-
# to start environment with an example workflow cron-based workflow (requires cron capability in your image)
193
-
go run . env start --with-example --example-workflow-trigger cron
194
-
195
192
# to start environment with local Beholder
196
193
go run . env start --with-beholder
197
194
@@ -209,7 +206,6 @@ Optional parameters:
209
206
-`-x`: Registers an example PoR workflow using CRE CLI and verifies it executed successfuly
210
207
-`-s`: Time to wait for example workflow to execute successfuly (defaults to `5m`)
211
208
-`-p`: **DEPRECATED** Use `image` in TOML config instead. See [Using a pre-built Chainlink image](#using-a-pre-built-chainlink-image).
212
-
-`-y`: Trigger for example workflow to deploy (web-trigger or cron). Default: `web-trigger`. **Important!**`cron` trigger requires the Chainlink image to include the cron capability (built from source or a pre-built image with plugins).
213
209
-`--with-contracts-version`: Version of workflow/capability registries to use (`v2` by default, use `v1` explicitly for legacy coverage)
214
210
215
211
## Purging environment state
@@ -434,12 +430,12 @@ go run . workflow delete-all [flags]
434
430
go run . workflow delete-all
435
431
```
436
432
437
-
### `workflow deploy-and-verify-example`
438
-
Deploys and verifies the example workflow.
433
+
### `workflow run-por-example`
434
+
Deploys and verifies the PoR v2 cron example workflow.
439
435
440
436
**Usage:**
441
437
```bash
442
-
go run . workflow deploy-and-verify-example
438
+
go run . workflow run-por-example
443
439
```
444
440
445
441
This command uses default values and is useful for testing the workflow deployment process.
@@ -886,58 +882,43 @@ The environment includes several example workflows located in `core/scripts/cre/
@@ -2121,4 +2102,4 @@ Once installed, configure it by running:
2121
2102
gh auth login
2122
2103
```
2123
2104
2124
-
For GH CLI to be used by the environment to download the CRE CLI you must have access to [smartcontract/dev-platform](https://github.com/smartcontractkit/dev-platform) repository.
2105
+
For GH CLI to be used by the environment to download the CRE CLI you must have access to [smartcontract/dev-platform](https://github.com/smartcontractkit/dev-platform) repository.
cmd.Flags().BoolVarP(&withExampleFlag, "with-example", "x", false, "Deploys and registers example workflow")
515
502
cmd.Flags().DurationVarP(&exampleWorkflowTimeout, "example-workflow-timeout", "u", 5*time.Minute, "Time to wait until example workflow succeeds (e.g. 10s, 1m, 1h)")
516
503
cmd.Flags().StringVarP(&withPluginsDockerImage, "with-plugins-docker-image", "p", "", "DEPRECATED:Docker image to use (set Docker image in TOML config instead)")
517
-
cmd.Flags().StringVarP(&exampleWorkflowTrigger, "example-workflow-trigger", "y", "web-trigger", "Trigger for example workflow to deploy (web-trigger or cron)")
0 commit comments