@automatify-au/cli 0.1.12 → 0.1.14
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 +5 -5
- package/dist/automatify.cjs +815 -226
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ automatify testops config set forgeEndpoint "<webtrigger-url>"
|
|
|
85
85
|
printf "%s" "$TESTOPS_FORGE_AUTH_TOKEN" | automatify testops config set forgeAuthToken --stdin
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
`forgeAuthToken` local storage
|
|
88
|
+
`forgeAuthToken` local storage uses macOS Keychain on macOS and current-user Windows DPAPI on Windows. Linux and CI should keep the token in `TESTOPS_FORGE_AUTH_TOKEN`. `.testops-cli.json` stores non-secret values plus, on Windows, only the DPAPI-protected blob. See [WINDOWS.md](./WINDOWS.md) for PowerShell setup and verification.
|
|
89
89
|
|
|
90
90
|
Optional:
|
|
91
91
|
- `TESTOPS_FORGE_TIMEOUT_MS`
|
|
@@ -261,7 +261,7 @@ Current authentication boundary:
|
|
|
261
261
|
- Setup does not turn this into an all-user auth model. Customer-admin packaging and any future user-level authentication remain separate work.
|
|
262
262
|
- The same callback key may be stored as a GitHub Actions repository secret only under the explicit `github-secrets` apply scope.
|
|
263
263
|
|
|
264
|
-
Azure DevOps
|
|
264
|
+
Azure DevOps setup uses the same plan/apply/doctor safety boundary. Generate a plan with `--provider azure-devops`, mapping `--organization`, `--azure-project`, `--pipeline-id`, and `--ref` into the existing `azureDevops` Forge profile. Callback pipeline variables are accepted only through stdin or `--secret-ref key=env:NAME`; dry-run, explicit approval, idempotency, and redaction are identical to GitHub setup. Doctor inspects pipeline metadata and variable names only; it never queues a pipeline run.
|
|
265
265
|
|
|
266
266
|
## Allure Evidence for Jira
|
|
267
267
|
|
|
@@ -308,7 +308,7 @@ Machine-readable output:
|
|
|
308
308
|
automatify testops allure upload ABC-123 ./allure-report.zip --dry-run --json
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
After a real upload, JSON output includes Jira attachment metadata when Jira returns
|
|
311
|
+
After a real upload, JSON output includes Jira attachment metadata when Jira returns them:
|
|
312
312
|
|
|
313
313
|
```json
|
|
314
314
|
{
|
|
@@ -427,7 +427,7 @@ export JIRA_BASE_URL="https://automatify-com-au.atlassian.net"
|
|
|
427
427
|
export JIRA_PROJECT_KEY="DEV"
|
|
428
428
|
```
|
|
429
429
|
|
|
430
|
-
Or store the non-secret values in `.testops-cli.json
|
|
430
|
+
Or store the non-secret values in `.testops-cli.json`; on macOS the token is stored in Keychain, and on Windows it is protected with current-user DPAPI:
|
|
431
431
|
```bash
|
|
432
432
|
automatify testops config set baseUrl https://automatify-com-au.atlassian.net
|
|
433
433
|
automatify testops config set projectKey DEV
|
|
@@ -435,7 +435,7 @@ automatify testops config set forgeEndpoint "<webtrigger-url>"
|
|
|
435
435
|
printf "%s" "$TESTOPS_FORGE_AUTH_TOKEN" | automatify testops config set forgeAuthToken --stdin
|
|
436
436
|
```
|
|
437
437
|
|
|
438
|
-
|
|
438
|
+
On Linux and CI, keep the token in environment variables. Windows users can use the same `config set forgeAuthToken --stdin` flow from PowerShell; see [WINDOWS.md](./WINDOWS.md).
|
|
439
439
|
```bash
|
|
440
440
|
export TESTOPS_FORGE_AUTH_TOKEN="<one-time-token-from-forge-ui>"
|
|
441
441
|
```
|