Skip to content

Commit 5fe81da

Browse files
authored
Merge pull request #20 from JaredCE/remove-the-runner
Remove the runner
2 parents 74f3f66 + 44a55cb commit 5fe81da

File tree

14 files changed

+4
-1855
lines changed

14 files changed

+4
-1855
lines changed

README.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -407,40 +407,3 @@ However, you can configure your own rules from the [ruleset available on the Red
407407
## Running the Arazzo Specification
408408

409409
For now, I recommend using the [Redocly CLI](https://redocly.com/redocly-cli) to [run your Arazzo Workflows](https://redocly.com/learn/arazzo/testing-arazzo-workflows).
410-
411-
### Here be Dragons
412-
413-
To run the generated Arazzo Specification, you can call the plugin from the CLI like:
414-
415-
```bash
416-
serverless arazzo run
417-
```
418-
419-
Options:
420-
421-
```
422-
--source -s The default Arazzo Specification source file. Default: arazzo.json
423-
--input -i The file containign input variables to run the Workflow steps. Default: input.json
424-
```
425-
426-
### Input file
427-
428-
The input file is where you keep your variables that you wish to use within your workflow and should be a json file structured like:
429-
430-
```json
431-
{
432-
"worflowId1": {
433-
"name": "Jared"
434-
}
435-
}
436-
```
437-
438-
The file should contain objects for each workflow, by workflowId, with the variables matching up to the inputs that you defined in your workflow [inputs](#inputs) schema.
439-
440-
This file is likely to be comitted to your repository, so you should not store secrets in the file, instead you might use something like [jq](https://jqlang.org/) that can take repository variables and insert them into your input file:
441-
442-
```bash
443-
jq --arg password "$secret_password" '.workflowId1.password = $password' input.json
444-
```
445-
446-
Obviously, if you have a lot of secret variables that need adding as inputs, then you might need to write a script that can alter the `input.json` file for you within your CI/CD runner.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-arazzo-workflows",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"description": "Document your Serverless Framework API workflows with the OpenAPI Arazzo Workflow Spec",
55
"main": "index.js",
66
"scripts": {

resources/rules.peggy

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)