@redwoodjs/agent-ci 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/dist/cli.js +461 -302
- package/dist/commit-status.js +7 -3
- package/dist/config.js +42 -15
- package/dist/config.test.js +157 -0
- package/dist/docker/container-config.js +7 -5
- package/dist/docker/container-config.test.js +45 -2
- package/dist/docker/docker-socket.js +119 -0
- package/dist/docker/docker-socket.test.js +117 -0
- package/dist/output/cleanup.js +42 -6
- package/dist/output/cleanup.test.js +15 -0
- package/dist/runner/directory-setup.js +2 -3
- package/dist/runner/local-job.js +51 -19
- package/dist/runner/local-job.test.js +43 -0
- package/dist/runner/result-builder.js +2 -1
- package/dist/runner/workspace.js +3 -2
- package/dist/workflow/remote-workflow-fetch.js +110 -0
- package/dist/workflow/remote-workflow-fetch.test.js +310 -0
- package/dist/workflow/reusable-workflow.js +134 -0
- package/dist/workflow/reusable-workflow.test.js +655 -0
- package/dist/workflow/workflow-parser.js +33 -20
- package/dist/workflow/workflow-parser.test.js +95 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -64,13 +64,15 @@ When using a remote daemon (`DOCKER_HOST=ssh://...`), `host-gateway` resolves re
|
|
|
64
64
|
|
|
65
65
|
Run GitHub Actions workflow jobs locally.
|
|
66
66
|
|
|
67
|
-
| Flag
|
|
68
|
-
|
|
|
69
|
-
| `--workflow <path>`
|
|
70
|
-
| `--all`
|
|
71
|
-
| `--pause-on-failure`
|
|
72
|
-
| `--quiet`
|
|
73
|
-
| `--no-matrix`
|
|
67
|
+
| Flag | Short | Description |
|
|
68
|
+
| -------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
69
|
+
| `--workflow <path>` | `-w` | Path to the workflow file |
|
|
70
|
+
| `--all` | `-a` | Discover and run all relevant workflows for the current branch |
|
|
71
|
+
| `--pause-on-failure` | `-p` | Pause on step failure for interactive debugging |
|
|
72
|
+
| `--quiet` | `-q` | Suppress animated rendering (also enabled by `AI_AGENT=1`) |
|
|
73
|
+
| `--no-matrix` | | Collapse all matrix combinations into a single job (uses first value of each key) |
|
|
74
|
+
| `--github-token [<token>]` | | GitHub token for fetching remote reusable workflows (auto-resolves via `gh auth token` if no value given). Also available as `AGENT_CI_GITHUB_TOKEN` env var |
|
|
75
|
+
| `--commit-status` | | Post a GitHub commit status after the run (requires `--github-token`) |
|
|
74
76
|
|
|
75
77
|
### `agent-ci retry`
|
|
76
78
|
|