@simplysf/simply-cicd 0.22.0 → 0.22.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 +35 -35
- package/oclif.manifest.json +1472 -1472
- package/package.json +3 -3
package/oclif.manifest.json
CHANGED
|
@@ -277,13 +277,12 @@
|
|
|
277
277
|
"validate:deploy:cicd:simply"
|
|
278
278
|
]
|
|
279
279
|
},
|
|
280
|
-
"simply:cicd:
|
|
280
|
+
"simply:cicd:build:check-permission-sets": {
|
|
281
281
|
"aliases": [],
|
|
282
282
|
"args": {},
|
|
283
|
-
"description": "
|
|
283
|
+
"description": "Finds every permission set build file in the repo, meaning every file whose name ends in `.psbuild.json`, each of which defines one permission set (see `sf simply permissions build`). It checks each of those permission sets the same way `sf simply permissions build --check` does. Nothing is written. Files are found by walking the directory tree from the current directory, skipping `node_modules`, `.git`, `.sf`, and `.sfdx`, so `find . -name '*.psbuild.json'` lists what will be checked. Relative paths in a permission set build file resolve against the current directory, so run this from the repo root.\n\nEvery file is loaded and validated before any permission set is checked: a `.psbuild.json` file that fails validation, one in the old `permissionSets` list format, or two files that define the same permission set name fail the command immediately. Every permission set is then checked before the command fails, so one run lists every permission set that has drifted or is missing, with the file that defines it and the command that regenerates them. A repo with no `.psbuild.json` files is skipped with exit code 0, so the job is safe to include in a shared pipeline template. Formatting differences, such as indentation, line endings, or comments, don't count as drift.",
|
|
284
284
|
"examples": [
|
|
285
|
-
"
|
|
286
|
-
"Announce a package version with linked Jira stories:\n<%= config.bin %> <%= command.id %> --ci-job-status success --alm-base-url https://jira.example.com/browse --teams-webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
285
|
+
"<%= config.bin %> <%= command.id %>"
|
|
287
286
|
],
|
|
288
287
|
"flags": {
|
|
289
288
|
"json": {
|
|
@@ -301,109 +300,94 @@
|
|
|
301
300
|
"multiple": false,
|
|
302
301
|
"type": "option"
|
|
303
302
|
},
|
|
304
|
-
"
|
|
305
|
-
"env": "
|
|
306
|
-
"name": "
|
|
307
|
-
"summary": "
|
|
308
|
-
"hasDynamicHelp": false,
|
|
309
|
-
"multiple": false,
|
|
310
|
-
"type": "option"
|
|
311
|
-
},
|
|
312
|
-
"ci-job-name": {
|
|
313
|
-
"env": "SIMPLY_CICD_CI_JOB_NAME",
|
|
314
|
-
"name": "ci-job-name",
|
|
315
|
-
"summary": "The name of the current CI job.",
|
|
316
|
-
"hasDynamicHelp": false,
|
|
317
|
-
"multiple": false,
|
|
318
|
-
"type": "option"
|
|
319
|
-
},
|
|
320
|
-
"ci-job-stage": {
|
|
321
|
-
"env": "SIMPLY_CICD_CI_JOB_STAGE",
|
|
322
|
-
"name": "ci-job-stage",
|
|
323
|
-
"summary": "The stage of the current CI job.",
|
|
324
|
-
"hasDynamicHelp": false,
|
|
325
|
-
"multiple": false,
|
|
326
|
-
"type": "option"
|
|
327
|
-
},
|
|
328
|
-
"ci-job-status": {
|
|
329
|
-
"env": "SIMPLY_CICD_CI_JOB_STATUS",
|
|
330
|
-
"name": "ci-job-status",
|
|
331
|
-
"summary": "The status of the current CI job (e.g. success, failed, canceled).",
|
|
332
|
-
"hasDynamicHelp": false,
|
|
333
|
-
"multiple": false,
|
|
334
|
-
"type": "option"
|
|
335
|
-
},
|
|
336
|
-
"ci-pipeline-id": {
|
|
337
|
-
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
338
|
-
"name": "ci-pipeline-id",
|
|
339
|
-
"summary": "The ID of the current CI pipeline.",
|
|
340
|
-
"hasDynamicHelp": false,
|
|
341
|
-
"multiple": false,
|
|
342
|
-
"type": "option"
|
|
343
|
-
},
|
|
344
|
-
"ci-pipeline-url": {
|
|
345
|
-
"env": "SIMPLY_CICD_CI_PIPELINE_URL",
|
|
346
|
-
"name": "ci-pipeline-url",
|
|
347
|
-
"summary": "The URL of the current CI pipeline.",
|
|
348
|
-
"hasDynamicHelp": false,
|
|
349
|
-
"multiple": false,
|
|
350
|
-
"type": "option"
|
|
351
|
-
},
|
|
352
|
-
"ci-project-title": {
|
|
353
|
-
"env": "SIMPLY_CICD_CI_PROJECT_TITLE",
|
|
354
|
-
"name": "ci-project-title",
|
|
355
|
-
"summary": "The project title shown in the notification card's heading.",
|
|
356
|
-
"hasDynamicHelp": false,
|
|
357
|
-
"multiple": false,
|
|
358
|
-
"type": "option"
|
|
359
|
-
},
|
|
360
|
-
"subscriber-package-version-id": {
|
|
361
|
-
"env": "SIMPLY_CICD_SUBSCRIBER_PACKAGE_VERSION_ID",
|
|
362
|
-
"name": "subscriber-package-version-id",
|
|
363
|
-
"summary": "The subscriber package version ID (04t...) created by this job. Defaults to the one in subscriberPackageVersionId.env, written by build create-package-version.",
|
|
364
|
-
"hasDynamicHelp": false,
|
|
365
|
-
"multiple": false,
|
|
366
|
-
"type": "option"
|
|
367
|
-
},
|
|
368
|
-
"enabled": {
|
|
369
|
-
"env": "SIMPLY_CICD_ENABLED",
|
|
370
|
-
"name": "enabled",
|
|
371
|
-
"summary": "Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.",
|
|
303
|
+
"debug": {
|
|
304
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
305
|
+
"name": "debug",
|
|
306
|
+
"summary": "Enable verbose debug logging.",
|
|
372
307
|
"allowNo": false,
|
|
373
308
|
"type": "boolean"
|
|
374
309
|
},
|
|
375
|
-
"
|
|
376
|
-
"env": "
|
|
377
|
-
"name": "
|
|
378
|
-
"summary": "
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
310
|
+
"disabled": {
|
|
311
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
312
|
+
"name": "disabled",
|
|
313
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
314
|
+
"allowNo": false,
|
|
315
|
+
"type": "boolean"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"hasDynamicHelp": false,
|
|
319
|
+
"hiddenAliases": [],
|
|
320
|
+
"id": "simply:cicd:build:check-permission-sets",
|
|
321
|
+
"pluginAlias": "@simplysf/simply-cicd",
|
|
322
|
+
"pluginName": "@simplysf/simply-cicd",
|
|
323
|
+
"pluginType": "core",
|
|
324
|
+
"strict": true,
|
|
325
|
+
"summary": "Fail the pipeline when any generated permission set in the repo has drifted from its source metadata.",
|
|
326
|
+
"enableJsonFlag": true,
|
|
327
|
+
"isESM": true,
|
|
328
|
+
"relativePath": [
|
|
329
|
+
"lib",
|
|
330
|
+
"commands",
|
|
331
|
+
"simply",
|
|
332
|
+
"cicd",
|
|
333
|
+
"build",
|
|
334
|
+
"check-permission-sets.js"
|
|
335
|
+
],
|
|
336
|
+
"aliasPermutations": [],
|
|
337
|
+
"permutations": [
|
|
338
|
+
"simply:cicd:build:check-permission-sets",
|
|
339
|
+
"cicd:simply:build:check-permission-sets",
|
|
340
|
+
"cicd:build:simply:check-permission-sets",
|
|
341
|
+
"cicd:build:check-permission-sets:simply",
|
|
342
|
+
"simply:build:cicd:check-permission-sets",
|
|
343
|
+
"build:simply:cicd:check-permission-sets",
|
|
344
|
+
"build:cicd:simply:check-permission-sets",
|
|
345
|
+
"build:cicd:check-permission-sets:simply",
|
|
346
|
+
"simply:build:check-permission-sets:cicd",
|
|
347
|
+
"build:simply:check-permission-sets:cicd",
|
|
348
|
+
"build:check-permission-sets:simply:cicd",
|
|
349
|
+
"build:check-permission-sets:cicd:simply",
|
|
350
|
+
"simply:cicd:check-permission-sets:build",
|
|
351
|
+
"cicd:simply:check-permission-sets:build",
|
|
352
|
+
"cicd:check-permission-sets:simply:build",
|
|
353
|
+
"cicd:check-permission-sets:build:simply",
|
|
354
|
+
"simply:check-permission-sets:cicd:build",
|
|
355
|
+
"check-permission-sets:simply:cicd:build",
|
|
356
|
+
"check-permission-sets:cicd:simply:build",
|
|
357
|
+
"check-permission-sets:cicd:build:simply",
|
|
358
|
+
"simply:check-permission-sets:build:cicd",
|
|
359
|
+
"check-permission-sets:simply:build:cicd",
|
|
360
|
+
"check-permission-sets:build:simply:cicd",
|
|
361
|
+
"check-permission-sets:build:cicd:simply"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
"simply:cicd:build:cleanup-scratch-orgs": {
|
|
365
|
+
"aliases": [],
|
|
366
|
+
"args": {},
|
|
367
|
+
"description": "For each Dev Hub, queries `ActiveScratchOrg` records created more than 3 hours ago and bulk-deletes them. Useful for keeping a shared Dev Hub's scratch org allotment from being exhausted by abandoned CI runs. Every `--dev-hub` alias must already be authenticated.",
|
|
368
|
+
"examples": [
|
|
369
|
+
"<%= config.bin %> <%= command.id %> --dev-hub my-devhub"
|
|
370
|
+
],
|
|
371
|
+
"flags": {
|
|
372
|
+
"json": {
|
|
373
|
+
"description": "Format output as json.",
|
|
374
|
+
"helpGroup": "GLOBAL",
|
|
375
|
+
"name": "json",
|
|
376
|
+
"allowNo": false,
|
|
377
|
+
"type": "boolean"
|
|
390
378
|
},
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"name": "
|
|
394
|
-
"summary": "
|
|
395
|
-
"default": "jira",
|
|
379
|
+
"flags-dir": {
|
|
380
|
+
"helpGroup": "GLOBAL",
|
|
381
|
+
"name": "flags-dir",
|
|
382
|
+
"summary": "Import flag values from a directory.",
|
|
396
383
|
"hasDynamicHelp": false,
|
|
397
384
|
"multiple": false,
|
|
398
|
-
"options": [
|
|
399
|
-
"gitlab-issues",
|
|
400
|
-
"jira"
|
|
401
|
-
],
|
|
402
385
|
"type": "option"
|
|
403
386
|
},
|
|
404
|
-
"
|
|
405
|
-
"name": "
|
|
406
|
-
"
|
|
387
|
+
"dev-hub": {
|
|
388
|
+
"name": "dev-hub",
|
|
389
|
+
"required": true,
|
|
390
|
+
"summary": "Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev Hub to try, in order.",
|
|
407
391
|
"hasDynamicHelp": false,
|
|
408
392
|
"multiple": true,
|
|
409
393
|
"type": "option"
|
|
@@ -414,16 +398,23 @@
|
|
|
414
398
|
"summary": "Enable verbose debug logging.",
|
|
415
399
|
"allowNo": false,
|
|
416
400
|
"type": "boolean"
|
|
401
|
+
},
|
|
402
|
+
"disabled": {
|
|
403
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
404
|
+
"name": "disabled",
|
|
405
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
406
|
+
"allowNo": false,
|
|
407
|
+
"type": "boolean"
|
|
417
408
|
}
|
|
418
409
|
},
|
|
419
410
|
"hasDynamicHelp": false,
|
|
420
411
|
"hiddenAliases": [],
|
|
421
|
-
"id": "simply:cicd:
|
|
412
|
+
"id": "simply:cicd:build:cleanup-scratch-orgs",
|
|
422
413
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
423
414
|
"pluginName": "@simplysf/simply-cicd",
|
|
424
415
|
"pluginType": "core",
|
|
425
416
|
"strict": true,
|
|
426
|
-
"summary": "
|
|
417
|
+
"summary": "Delete scratch orgs older than 3 hours from every configured Dev Hub.",
|
|
427
418
|
"enableJsonFlag": true,
|
|
428
419
|
"isESM": true,
|
|
429
420
|
"relativePath": [
|
|
@@ -431,44 +422,43 @@
|
|
|
431
422
|
"commands",
|
|
432
423
|
"simply",
|
|
433
424
|
"cicd",
|
|
434
|
-
"
|
|
435
|
-
"
|
|
425
|
+
"build",
|
|
426
|
+
"cleanup-scratch-orgs.js"
|
|
436
427
|
],
|
|
437
428
|
"aliasPermutations": [],
|
|
438
429
|
"permutations": [
|
|
439
|
-
"simply:cicd:
|
|
440
|
-
"cicd:simply:
|
|
441
|
-
"cicd:
|
|
442
|
-
"cicd:
|
|
443
|
-
"simply:
|
|
444
|
-
"
|
|
445
|
-
"
|
|
446
|
-
"
|
|
447
|
-
"simply:
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"simply:cicd:build
|
|
452
|
-
"cicd:simply:build
|
|
453
|
-
"cicd:
|
|
454
|
-
"cicd:build:
|
|
455
|
-
"simply:
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"simply:build:
|
|
460
|
-
"
|
|
461
|
-
"build:
|
|
462
|
-
"build:
|
|
430
|
+
"simply:cicd:build:cleanup-scratch-orgs",
|
|
431
|
+
"cicd:simply:build:cleanup-scratch-orgs",
|
|
432
|
+
"cicd:build:simply:cleanup-scratch-orgs",
|
|
433
|
+
"cicd:build:cleanup-scratch-orgs:simply",
|
|
434
|
+
"simply:build:cicd:cleanup-scratch-orgs",
|
|
435
|
+
"build:simply:cicd:cleanup-scratch-orgs",
|
|
436
|
+
"build:cicd:simply:cleanup-scratch-orgs",
|
|
437
|
+
"build:cicd:cleanup-scratch-orgs:simply",
|
|
438
|
+
"simply:build:cleanup-scratch-orgs:cicd",
|
|
439
|
+
"build:simply:cleanup-scratch-orgs:cicd",
|
|
440
|
+
"build:cleanup-scratch-orgs:simply:cicd",
|
|
441
|
+
"build:cleanup-scratch-orgs:cicd:simply",
|
|
442
|
+
"simply:cicd:cleanup-scratch-orgs:build",
|
|
443
|
+
"cicd:simply:cleanup-scratch-orgs:build",
|
|
444
|
+
"cicd:cleanup-scratch-orgs:simply:build",
|
|
445
|
+
"cicd:cleanup-scratch-orgs:build:simply",
|
|
446
|
+
"simply:cleanup-scratch-orgs:cicd:build",
|
|
447
|
+
"cleanup-scratch-orgs:simply:cicd:build",
|
|
448
|
+
"cleanup-scratch-orgs:cicd:simply:build",
|
|
449
|
+
"cleanup-scratch-orgs:cicd:build:simply",
|
|
450
|
+
"simply:cleanup-scratch-orgs:build:cicd",
|
|
451
|
+
"cleanup-scratch-orgs:simply:build:cicd",
|
|
452
|
+
"cleanup-scratch-orgs:build:simply:cicd",
|
|
453
|
+
"cleanup-scratch-orgs:build:cicd:simply"
|
|
463
454
|
]
|
|
464
455
|
},
|
|
465
|
-
"simply:cicd:
|
|
456
|
+
"simply:cicd:build:create-fallback-tag": {
|
|
466
457
|
"aliases": [],
|
|
467
458
|
"args": {},
|
|
468
|
-
"description": "
|
|
459
|
+
"description": "Resolves the last tag to increment (either `--last-tag`, or the closest reachable tag matching the project's version prefix), extracts its annotated `04t` package version ID, and creates/pushes a new tag with an incremented numeric suffix (e.g. `v1.2.3.4` -> `v1.2.3.4-1` -> `v1.2.3.4-2`) annotated with that same package ID. Tags are matched and parsed in `SIMPLY_CICD_VERSION_TAG_FORMAT` or the project's `plugins.simply.versionTagFormat`, so only a counter after the formatted version is incremented — with `v{MAJOR}.{MINOR}.{PATCH}-{BUILD}`, `v1.2.3-4` becomes `v1.2.3-4-1`, never `v1.2.3-5`. Soft no-ops (does not error) when no last tag, or no valid package ID within it, can be found — a build with nothing to fall back to just has nothing to do here.\n\nAlso soft no-ops when HEAD already carries a tag matching the version prefix, e.g. because `build create-package-version` just created and tagged a real package version earlier in the same job. This also keeps a retried job from adding a second fallback tag to the same commit.\n\nSkipped automatically when `PACKAGE_CHANGED=TRUE` is set in the environment (see `build determine-package-changes`) — a real package version will be created instead.",
|
|
469
460
|
"examples": [
|
|
470
|
-
"<%= config.bin %> <%= command.id %> --
|
|
471
|
-
"<%= config.bin %> <%= command.id %> --after-script --is-final-job --notify-on-completion --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
461
|
+
"<%= config.bin %> <%= command.id %> --ci-commit-ref-name main --ci-project-path group/project --project-access-token glpat-... --ci-pipeline-id 123"
|
|
472
462
|
],
|
|
473
463
|
"flags": {
|
|
474
464
|
"json": {
|
|
@@ -486,62 +476,11 @@
|
|
|
486
476
|
"multiple": false,
|
|
487
477
|
"type": "option"
|
|
488
478
|
},
|
|
489
|
-
"after-script": {
|
|
490
|
-
"name": "after-script",
|
|
491
|
-
"summary": "Run the after-stage notification logic.",
|
|
492
|
-
"allowNo": false,
|
|
493
|
-
"type": "boolean"
|
|
494
|
-
},
|
|
495
|
-
"before-script": {
|
|
496
|
-
"name": "before-script",
|
|
497
|
-
"summary": "Run the before-stage (starting) notification logic.",
|
|
498
|
-
"allowNo": false,
|
|
499
|
-
"type": "boolean"
|
|
500
|
-
},
|
|
501
479
|
"ci-commit-ref-name": {
|
|
502
480
|
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
503
481
|
"name": "ci-commit-ref-name",
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
"multiple": false,
|
|
507
|
-
"type": "option"
|
|
508
|
-
},
|
|
509
|
-
"ci-environment-name": {
|
|
510
|
-
"env": "SIMPLY_CICD_CI_ENVIRONMENT_NAME",
|
|
511
|
-
"name": "ci-environment-name",
|
|
512
|
-
"summary": "The name of the target CI environment.",
|
|
513
|
-
"hasDynamicHelp": false,
|
|
514
|
-
"multiple": false,
|
|
515
|
-
"type": "option"
|
|
516
|
-
},
|
|
517
|
-
"ci-job-name": {
|
|
518
|
-
"env": "SIMPLY_CICD_CI_JOB_NAME",
|
|
519
|
-
"name": "ci-job-name",
|
|
520
|
-
"summary": "The name of the current CI job.",
|
|
521
|
-
"hasDynamicHelp": false,
|
|
522
|
-
"multiple": false,
|
|
523
|
-
"type": "option"
|
|
524
|
-
},
|
|
525
|
-
"ci-job-stage": {
|
|
526
|
-
"env": "SIMPLY_CICD_CI_JOB_STAGE",
|
|
527
|
-
"name": "ci-job-stage",
|
|
528
|
-
"summary": "The stage of the current CI job.",
|
|
529
|
-
"hasDynamicHelp": false,
|
|
530
|
-
"multiple": false,
|
|
531
|
-
"type": "option"
|
|
532
|
-
},
|
|
533
|
-
"ci-job-status": {
|
|
534
|
-
"env": "SIMPLY_CICD_CI_JOB_STATUS",
|
|
535
|
-
"name": "ci-job-status",
|
|
536
|
-
"summary": "The status of the current CI job (e.g. success, failed).",
|
|
537
|
-
"hasDynamicHelp": false,
|
|
538
|
-
"multiple": false,
|
|
539
|
-
"type": "option"
|
|
540
|
-
},
|
|
541
|
-
"ci-job-token": {
|
|
542
|
-
"env": "SIMPLY_CICD_CI_JOB_TOKEN",
|
|
543
|
-
"name": "ci-job-token",
|
|
544
|
-
"summary": "The CI job token to try first when looking up an upgraded package's origin commit history. Falls back to --project-access-token if the job token can't read that repository.",
|
|
482
|
+
"required": true,
|
|
483
|
+
"summary": "Git branch or ref name being built.",
|
|
545
484
|
"hasDynamicHelp": false,
|
|
546
485
|
"multiple": false,
|
|
547
486
|
"type": "option"
|
|
@@ -549,107 +488,89 @@
|
|
|
549
488
|
"ci-pipeline-id": {
|
|
550
489
|
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
551
490
|
"name": "ci-pipeline-id",
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
"multiple": false,
|
|
555
|
-
"type": "option"
|
|
556
|
-
},
|
|
557
|
-
"ci-pipeline-url": {
|
|
558
|
-
"env": "SIMPLY_CICD_CI_PIPELINE_URL",
|
|
559
|
-
"name": "ci-pipeline-url",
|
|
560
|
-
"summary": "The URL of the current CI pipeline.",
|
|
491
|
+
"required": true,
|
|
492
|
+
"summary": "CI pipeline ID, used to name the temporary authenticated git remote.",
|
|
561
493
|
"hasDynamicHelp": false,
|
|
562
494
|
"multiple": false,
|
|
563
495
|
"type": "option"
|
|
564
496
|
},
|
|
565
|
-
"
|
|
566
|
-
"env": "
|
|
567
|
-
"name": "
|
|
568
|
-
"
|
|
569
|
-
"
|
|
497
|
+
"ci-project-path": {
|
|
498
|
+
"env": "SIMPLY_CICD_CI_PROJECT_PATH",
|
|
499
|
+
"name": "ci-project-path",
|
|
500
|
+
"required": true,
|
|
501
|
+
"summary": "CI project's git path (e.g. group/project), used to build the authenticated git remote URL.",
|
|
570
502
|
"hasDynamicHelp": false,
|
|
571
503
|
"multiple": false,
|
|
572
504
|
"type": "option"
|
|
573
505
|
},
|
|
574
|
-
"
|
|
575
|
-
"env": "
|
|
576
|
-
"name": "
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"type": "boolean"
|
|
580
|
-
},
|
|
581
|
-
"alm-base-url": {
|
|
582
|
-
"env": "SIMPLY_CICD_ALM_BASE_URL",
|
|
583
|
-
"name": "alm-base-url",
|
|
584
|
-
"summary": "Base URL that an issue reference is appended to, e.g. https://jira.example.com/browse for Jira or https://gitlab.com/group/project/-/issues for GitLab Issues. References are shown without links if not provided.",
|
|
506
|
+
"project-access-token": {
|
|
507
|
+
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
508
|
+
"name": "project-access-token",
|
|
509
|
+
"required": true,
|
|
510
|
+
"summary": "Access token used to authenticate git remote operations (tagging, pushing).",
|
|
585
511
|
"hasDynamicHelp": false,
|
|
586
512
|
"multiple": false,
|
|
587
513
|
"type": "option"
|
|
588
514
|
},
|
|
589
|
-
"
|
|
590
|
-
"env": "
|
|
591
|
-
"name": "
|
|
592
|
-
"summary": "
|
|
515
|
+
"vcs-host": {
|
|
516
|
+
"env": "SIMPLY_CICD_VCS_HOST",
|
|
517
|
+
"name": "vcs-host",
|
|
518
|
+
"summary": "Hostname of the VCS instance hosting this project.",
|
|
593
519
|
"hasDynamicHelp": false,
|
|
594
520
|
"multiple": false,
|
|
595
521
|
"type": "option"
|
|
596
522
|
},
|
|
597
|
-
"
|
|
598
|
-
"env": "
|
|
599
|
-
"name": "
|
|
600
|
-
"summary": "The
|
|
601
|
-
"default": "
|
|
523
|
+
"vcs-provider": {
|
|
524
|
+
"env": "SIMPLY_CICD_VCS_PROVIDER",
|
|
525
|
+
"name": "vcs-provider",
|
|
526
|
+
"summary": "The VCS platform hosting this project.",
|
|
527
|
+
"default": "gitlab",
|
|
602
528
|
"hasDynamicHelp": false,
|
|
603
529
|
"multiple": false,
|
|
604
530
|
"options": [
|
|
605
|
-
"
|
|
606
|
-
"
|
|
531
|
+
"github",
|
|
532
|
+
"gitlab"
|
|
607
533
|
],
|
|
608
534
|
"type": "option"
|
|
609
535
|
},
|
|
610
|
-
"project-access-token": {
|
|
611
|
-
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
612
|
-
"name": "project-access-token",
|
|
613
|
-
"summary": "A personal or project access token, used to look up an upgraded package's origin commit history when --ci-job-token isn't provided or can't read that repository.",
|
|
614
|
-
"hasDynamicHelp": false,
|
|
615
|
-
"multiple": false,
|
|
616
|
-
"type": "option"
|
|
617
|
-
},
|
|
618
|
-
"teams-webhook-url": {
|
|
619
|
-
"name": "teams-webhook-url",
|
|
620
|
-
"summary": "One or more Teams webhook URLs to send the notification to.",
|
|
621
|
-
"hasDynamicHelp": false,
|
|
622
|
-
"multiple": true,
|
|
623
|
-
"type": "option"
|
|
624
|
-
},
|
|
625
|
-
"notify-on-completion": {
|
|
626
|
-
"name": "notify-on-completion",
|
|
627
|
-
"summary": "Only send a notification on the final job of the pipeline, suppressing per-stage notifications.",
|
|
628
|
-
"allowNo": false,
|
|
629
|
-
"type": "boolean"
|
|
630
|
-
},
|
|
631
|
-
"is-final-job": {
|
|
632
|
-
"name": "is-final-job",
|
|
633
|
-
"summary": "Marks this job as the final job in the pipeline. Combined with --after-script and --notify-on-completion, this is what actually triggers the final notification.",
|
|
634
|
-
"allowNo": false,
|
|
635
|
-
"type": "boolean"
|
|
636
|
-
},
|
|
637
536
|
"debug": {
|
|
638
537
|
"env": "SIMPLY_CICD_DEBUG",
|
|
639
538
|
"name": "debug",
|
|
640
539
|
"summary": "Enable verbose debug logging.",
|
|
641
540
|
"allowNo": false,
|
|
642
541
|
"type": "boolean"
|
|
542
|
+
},
|
|
543
|
+
"disabled": {
|
|
544
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
545
|
+
"name": "disabled",
|
|
546
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
547
|
+
"allowNo": false,
|
|
548
|
+
"type": "boolean"
|
|
549
|
+
},
|
|
550
|
+
"last-tag": {
|
|
551
|
+
"name": "last-tag",
|
|
552
|
+
"summary": "Manually specify the last tag to increment, instead of resolving it from git.",
|
|
553
|
+
"hasDynamicHelp": false,
|
|
554
|
+
"multiple": false,
|
|
555
|
+
"type": "option"
|
|
556
|
+
},
|
|
557
|
+
"out": {
|
|
558
|
+
"name": "out",
|
|
559
|
+
"summary": "Output dotenv file path.",
|
|
560
|
+
"default": "subscriberPackageVersionId.env",
|
|
561
|
+
"hasDynamicHelp": false,
|
|
562
|
+
"multiple": false,
|
|
563
|
+
"type": "option"
|
|
643
564
|
}
|
|
644
565
|
},
|
|
645
566
|
"hasDynamicHelp": false,
|
|
646
567
|
"hiddenAliases": [],
|
|
647
|
-
"id": "simply:cicd:
|
|
568
|
+
"id": "simply:cicd:build:create-fallback-tag",
|
|
648
569
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
649
570
|
"pluginName": "@simplysf/simply-cicd",
|
|
650
571
|
"pluginType": "core",
|
|
651
572
|
"strict": true,
|
|
652
|
-
"summary": "
|
|
573
|
+
"summary": "Create a fallback git tag carrying forward the previous package version's ID, for builds that didn't produce a new package version.",
|
|
653
574
|
"enableJsonFlag": true,
|
|
654
575
|
"isESM": true,
|
|
655
576
|
"relativePath": [
|
|
@@ -657,44 +578,43 @@
|
|
|
657
578
|
"commands",
|
|
658
579
|
"simply",
|
|
659
580
|
"cicd",
|
|
660
|
-
"
|
|
661
|
-
"
|
|
581
|
+
"build",
|
|
582
|
+
"create-fallback-tag.js"
|
|
662
583
|
],
|
|
663
584
|
"aliasPermutations": [],
|
|
664
585
|
"permutations": [
|
|
665
|
-
"simply:cicd:
|
|
666
|
-
"cicd:simply:
|
|
667
|
-
"cicd:
|
|
668
|
-
"cicd:
|
|
669
|
-
"simply:
|
|
670
|
-
"
|
|
671
|
-
"
|
|
672
|
-
"
|
|
673
|
-
"simply:
|
|
674
|
-
"
|
|
675
|
-
"
|
|
676
|
-
"
|
|
677
|
-
"simply:cicd:
|
|
678
|
-
"cicd:simply:
|
|
679
|
-
"cicd:
|
|
680
|
-
"cicd:
|
|
681
|
-
"simply:
|
|
682
|
-
"
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
"simply:
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
586
|
+
"simply:cicd:build:create-fallback-tag",
|
|
587
|
+
"cicd:simply:build:create-fallback-tag",
|
|
588
|
+
"cicd:build:simply:create-fallback-tag",
|
|
589
|
+
"cicd:build:create-fallback-tag:simply",
|
|
590
|
+
"simply:build:cicd:create-fallback-tag",
|
|
591
|
+
"build:simply:cicd:create-fallback-tag",
|
|
592
|
+
"build:cicd:simply:create-fallback-tag",
|
|
593
|
+
"build:cicd:create-fallback-tag:simply",
|
|
594
|
+
"simply:build:create-fallback-tag:cicd",
|
|
595
|
+
"build:simply:create-fallback-tag:cicd",
|
|
596
|
+
"build:create-fallback-tag:simply:cicd",
|
|
597
|
+
"build:create-fallback-tag:cicd:simply",
|
|
598
|
+
"simply:cicd:create-fallback-tag:build",
|
|
599
|
+
"cicd:simply:create-fallback-tag:build",
|
|
600
|
+
"cicd:create-fallback-tag:simply:build",
|
|
601
|
+
"cicd:create-fallback-tag:build:simply",
|
|
602
|
+
"simply:create-fallback-tag:cicd:build",
|
|
603
|
+
"create-fallback-tag:simply:cicd:build",
|
|
604
|
+
"create-fallback-tag:cicd:simply:build",
|
|
605
|
+
"create-fallback-tag:cicd:build:simply",
|
|
606
|
+
"simply:create-fallback-tag:build:cicd",
|
|
607
|
+
"create-fallback-tag:simply:build:cicd",
|
|
608
|
+
"create-fallback-tag:build:simply:cicd",
|
|
609
|
+
"create-fallback-tag:build:cicd:simply"
|
|
689
610
|
]
|
|
690
611
|
},
|
|
691
|
-
"simply:cicd:
|
|
612
|
+
"simply:cicd:build:create-package-version": {
|
|
692
613
|
"aliases": [],
|
|
693
614
|
"args": {},
|
|
694
|
-
"description": "
|
|
615
|
+
"description": "Skips entirely (without error) when the pipeline was triggered by a merge request, or when this isn't a release-branch build and `--always-create-package` wasn't passed. Otherwise, creates a new version of the default package directory's package, polls until creation finishes, verifies the resulting version's Apex code coverage meets `--code-coverage-minimum` (or the project's own `plugins.simply.coverageRequirement.minimumCoverageRequired`, if declared in `sfdx-project.json`), and creates/pushes a git tag annotated with the new package version's `04t` ID.\n\nThe tag is `v<major>.<minor>.<patch>.<build>` by default. A project can choose its own shape with a `plugins.simply.versionTagFormat` template in `sfdx-project.json`, or the `SIMPLY_CICD_VERSION_TAG_FORMAT` environment variable (which overrides it) — e.g. `{MAJOR}.{MINOR}.{PATCH}+{BUILD}` tags `1.2.3.4` as `1.2.3+4`. Each of `{MAJOR}`, `{MINOR}`, `{PATCH}`, and `{BUILD}` must appear exactly once, and the format is validated before any package version is created. Unless this is a release-branch build, the package directory's `branch` attribute or the CI ref is appended as `-<suffix>` after the formatted version.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
695
616
|
"examples": [
|
|
696
|
-
"<%= config.bin %> <%= command.id %> --
|
|
697
|
-
"<%= config.bin %> <%= command.id %> --after-script --ci-job-stage post-destructive --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
617
|
+
"<%= config.bin %> <%= command.id %> --ci-commit-ref-name main --ci-commit-sha a1b2c3d --ci-pipeline-id 123 --ci-pipeline-url https://gitlab.example.com/pipelines/123 --ci-project-path group/project --project-access-token glpat-... --packaging-devhub my-packaging-devhub"
|
|
698
618
|
],
|
|
699
619
|
"flags": {
|
|
700
620
|
"json": {
|
|
@@ -712,178 +632,142 @@
|
|
|
712
632
|
"multiple": false,
|
|
713
633
|
"type": "option"
|
|
714
634
|
},
|
|
715
|
-
"after-script": {
|
|
716
|
-
"name": "after-script",
|
|
717
|
-
"summary": "Run the after-deployment notification logic.",
|
|
718
|
-
"allowNo": false,
|
|
719
|
-
"type": "boolean"
|
|
720
|
-
},
|
|
721
|
-
"alias": {
|
|
722
|
-
"env": "SIMPLY_CICD_ALIAS",
|
|
723
|
-
"name": "alias",
|
|
724
|
-
"summary": "Alias of the target Salesforce org to query for the previously installed package version. Must already be authenticated.",
|
|
725
|
-
"hasDynamicHelp": false,
|
|
726
|
-
"multiple": false,
|
|
727
|
-
"type": "option"
|
|
728
|
-
},
|
|
729
|
-
"before-script": {
|
|
730
|
-
"name": "before-script",
|
|
731
|
-
"summary": "Run the before-deployment setup logic (resolves and records package versions).",
|
|
732
|
-
"allowNo": false,
|
|
733
|
-
"type": "boolean"
|
|
734
|
-
},
|
|
735
635
|
"ci-commit-ref-name": {
|
|
736
636
|
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
737
637
|
"name": "ci-commit-ref-name",
|
|
738
|
-
"
|
|
638
|
+
"required": true,
|
|
639
|
+
"summary": "Git branch or ref name being built.",
|
|
739
640
|
"hasDynamicHelp": false,
|
|
740
641
|
"multiple": false,
|
|
741
642
|
"type": "option"
|
|
742
643
|
},
|
|
743
|
-
"ci-
|
|
744
|
-
"env": "
|
|
745
|
-
"name": "ci-
|
|
746
|
-
"
|
|
644
|
+
"ci-pipeline-id": {
|
|
645
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
646
|
+
"name": "ci-pipeline-id",
|
|
647
|
+
"required": true,
|
|
648
|
+
"summary": "CI pipeline ID, used to name the temporary authenticated git remote.",
|
|
747
649
|
"hasDynamicHelp": false,
|
|
748
650
|
"multiple": false,
|
|
749
651
|
"type": "option"
|
|
750
652
|
},
|
|
751
|
-
"ci-
|
|
752
|
-
"env": "
|
|
753
|
-
"name": "ci-
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
"multiple": false,
|
|
757
|
-
"type": "option"
|
|
758
|
-
},
|
|
759
|
-
"ci-job-stage": {
|
|
760
|
-
"env": "SIMPLY_CICD_CI_JOB_STAGE",
|
|
761
|
-
"name": "ci-job-stage",
|
|
762
|
-
"summary": "The stage of the current CI job (e.g. pre-destructive, post-destructive).",
|
|
763
|
-
"hasDynamicHelp": false,
|
|
764
|
-
"multiple": false,
|
|
765
|
-
"type": "option"
|
|
766
|
-
},
|
|
767
|
-
"ci-job-status": {
|
|
768
|
-
"env": "SIMPLY_CICD_CI_JOB_STATUS",
|
|
769
|
-
"name": "ci-job-status",
|
|
770
|
-
"summary": "The status of the current CI job (e.g. success, failed, canceled).",
|
|
653
|
+
"ci-project-path": {
|
|
654
|
+
"env": "SIMPLY_CICD_CI_PROJECT_PATH",
|
|
655
|
+
"name": "ci-project-path",
|
|
656
|
+
"required": true,
|
|
657
|
+
"summary": "CI project's git path (e.g. group/project), used to build the authenticated git remote URL.",
|
|
771
658
|
"hasDynamicHelp": false,
|
|
772
659
|
"multiple": false,
|
|
773
660
|
"type": "option"
|
|
774
661
|
},
|
|
775
|
-
"
|
|
776
|
-
"env": "
|
|
777
|
-
"name": "
|
|
778
|
-
"
|
|
662
|
+
"project-access-token": {
|
|
663
|
+
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
664
|
+
"name": "project-access-token",
|
|
665
|
+
"required": true,
|
|
666
|
+
"summary": "Access token used to authenticate git remote operations (tagging, pushing).",
|
|
779
667
|
"hasDynamicHelp": false,
|
|
780
668
|
"multiple": false,
|
|
781
669
|
"type": "option"
|
|
782
670
|
},
|
|
783
|
-
"
|
|
784
|
-
"env": "
|
|
785
|
-
"name": "
|
|
786
|
-
"summary": "
|
|
671
|
+
"vcs-host": {
|
|
672
|
+
"env": "SIMPLY_CICD_VCS_HOST",
|
|
673
|
+
"name": "vcs-host",
|
|
674
|
+
"summary": "Hostname of the VCS instance hosting this project.",
|
|
787
675
|
"hasDynamicHelp": false,
|
|
788
676
|
"multiple": false,
|
|
789
677
|
"type": "option"
|
|
790
678
|
},
|
|
791
|
-
"
|
|
792
|
-
"env": "
|
|
793
|
-
"name": "
|
|
794
|
-
"summary": "The
|
|
679
|
+
"vcs-provider": {
|
|
680
|
+
"env": "SIMPLY_CICD_VCS_PROVIDER",
|
|
681
|
+
"name": "vcs-provider",
|
|
682
|
+
"summary": "The VCS platform hosting this project.",
|
|
683
|
+
"default": "gitlab",
|
|
795
684
|
"hasDynamicHelp": false,
|
|
796
685
|
"multiple": false,
|
|
686
|
+
"options": [
|
|
687
|
+
"github",
|
|
688
|
+
"gitlab"
|
|
689
|
+
],
|
|
797
690
|
"type": "option"
|
|
798
691
|
},
|
|
799
|
-
"
|
|
800
|
-
"env": "
|
|
801
|
-
"name": "
|
|
802
|
-
"summary": "
|
|
803
|
-
"
|
|
804
|
-
"
|
|
805
|
-
"type": "option"
|
|
692
|
+
"debug": {
|
|
693
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
694
|
+
"name": "debug",
|
|
695
|
+
"summary": "Enable verbose debug logging.",
|
|
696
|
+
"allowNo": false,
|
|
697
|
+
"type": "boolean"
|
|
806
698
|
},
|
|
807
|
-
"
|
|
808
|
-
"env": "
|
|
809
|
-
"name": "
|
|
810
|
-
"summary": "
|
|
699
|
+
"disabled": {
|
|
700
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
701
|
+
"name": "disabled",
|
|
702
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
811
703
|
"allowNo": false,
|
|
812
704
|
"type": "boolean"
|
|
813
705
|
},
|
|
814
|
-
"
|
|
815
|
-
"env": "
|
|
816
|
-
"name": "
|
|
817
|
-
"
|
|
706
|
+
"ci-commit-sha": {
|
|
707
|
+
"env": "SIMPLY_CICD_CI_COMMIT_SHA",
|
|
708
|
+
"name": "ci-commit-sha",
|
|
709
|
+
"required": true,
|
|
710
|
+
"summary": "Commit SHA to tag as the package version's source.",
|
|
818
711
|
"hasDynamicHelp": false,
|
|
819
712
|
"multiple": false,
|
|
820
713
|
"type": "option"
|
|
821
714
|
},
|
|
822
|
-
"
|
|
823
|
-
"env": "
|
|
824
|
-
"name": "
|
|
825
|
-
"summary": "
|
|
715
|
+
"ci-pipeline-source": {
|
|
716
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_SOURCE",
|
|
717
|
+
"name": "ci-pipeline-source",
|
|
718
|
+
"summary": "Source trigger of the CI pipeline (e.g. merge_request_event). When set to merge_request_event, package creation is skipped.",
|
|
826
719
|
"hasDynamicHelp": false,
|
|
827
720
|
"multiple": false,
|
|
828
721
|
"type": "option"
|
|
829
722
|
},
|
|
830
|
-
"
|
|
831
|
-
"env": "
|
|
832
|
-
"name": "
|
|
833
|
-
"
|
|
834
|
-
"
|
|
723
|
+
"ci-pipeline-url": {
|
|
724
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_URL",
|
|
725
|
+
"name": "ci-pipeline-url",
|
|
726
|
+
"required": true,
|
|
727
|
+
"summary": "URL of the CI pipeline, used as the package version's description.",
|
|
835
728
|
"hasDynamicHelp": false,
|
|
836
729
|
"multiple": false,
|
|
837
|
-
"options": [
|
|
838
|
-
"gitlab-issues",
|
|
839
|
-
"jira"
|
|
840
|
-
],
|
|
841
730
|
"type": "option"
|
|
842
731
|
},
|
|
843
|
-
"
|
|
844
|
-
"
|
|
845
|
-
"
|
|
732
|
+
"packaging-devhub": {
|
|
733
|
+
"env": "SIMPLY_CICD_PACKAGING_DEVHUB",
|
|
734
|
+
"name": "packaging-devhub",
|
|
735
|
+
"required": true,
|
|
736
|
+
"summary": "Alias of the Dev Hub used for packaging operations like package version creation. Must already be authenticated.",
|
|
846
737
|
"hasDynamicHelp": false,
|
|
847
738
|
"multiple": false,
|
|
848
739
|
"type": "option"
|
|
849
740
|
},
|
|
850
|
-
"
|
|
851
|
-
"name": "
|
|
852
|
-
"summary": "
|
|
853
|
-
"
|
|
854
|
-
"
|
|
855
|
-
"type": "option"
|
|
741
|
+
"always-create-package": {
|
|
742
|
+
"name": "always-create-package",
|
|
743
|
+
"summary": "Create a package version even when this isn't a release-branch build.",
|
|
744
|
+
"allowNo": false,
|
|
745
|
+
"type": "boolean"
|
|
856
746
|
},
|
|
857
|
-
"
|
|
858
|
-
"name": "
|
|
859
|
-
"summary": "
|
|
747
|
+
"code-coverage-minimum": {
|
|
748
|
+
"name": "code-coverage-minimum",
|
|
749
|
+
"summary": "Minimum Apex code coverage percentage required for the new package version.",
|
|
750
|
+
"default": "75",
|
|
860
751
|
"hasDynamicHelp": false,
|
|
861
752
|
"multiple": false,
|
|
862
753
|
"type": "option"
|
|
863
754
|
},
|
|
864
|
-
"
|
|
865
|
-
"name": "
|
|
866
|
-
"summary": "
|
|
755
|
+
"package-release-branch-prefix": {
|
|
756
|
+
"name": "package-release-branch-prefix",
|
|
757
|
+
"summary": "Prefix identifying release branches. Determines whether this build creates a package version and how the resulting git tag is named.",
|
|
867
758
|
"hasDynamicHelp": false,
|
|
868
|
-
"multiple":
|
|
759
|
+
"multiple": false,
|
|
869
760
|
"type": "option"
|
|
870
|
-
},
|
|
871
|
-
"debug": {
|
|
872
|
-
"env": "SIMPLY_CICD_DEBUG",
|
|
873
|
-
"name": "debug",
|
|
874
|
-
"summary": "Enable verbose debug logging.",
|
|
875
|
-
"allowNo": false,
|
|
876
|
-
"type": "boolean"
|
|
877
761
|
}
|
|
878
762
|
},
|
|
879
763
|
"hasDynamicHelp": false,
|
|
880
764
|
"hiddenAliases": [],
|
|
881
|
-
"id": "simply:cicd:
|
|
765
|
+
"id": "simply:cicd:build:create-package-version",
|
|
882
766
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
883
767
|
"pluginName": "@simplysf/simply-cicd",
|
|
884
768
|
"pluginType": "core",
|
|
885
769
|
"strict": true,
|
|
886
|
-
"summary": "
|
|
770
|
+
"summary": "Create a new package version, verify minimum code coverage, and create/push a version-tracking git tag.",
|
|
887
771
|
"enableJsonFlag": true,
|
|
888
772
|
"isESM": true,
|
|
889
773
|
"relativePath": [
|
|
@@ -891,43 +775,43 @@
|
|
|
891
775
|
"commands",
|
|
892
776
|
"simply",
|
|
893
777
|
"cicd",
|
|
894
|
-
"
|
|
895
|
-
"
|
|
778
|
+
"build",
|
|
779
|
+
"create-package-version.js"
|
|
896
780
|
],
|
|
897
781
|
"aliasPermutations": [],
|
|
898
782
|
"permutations": [
|
|
899
|
-
"simply:cicd:
|
|
900
|
-
"cicd:simply:
|
|
901
|
-
"cicd:
|
|
902
|
-
"cicd:
|
|
903
|
-
"simply:
|
|
904
|
-
"
|
|
905
|
-
"
|
|
906
|
-
"
|
|
907
|
-
"simply:
|
|
908
|
-
"
|
|
909
|
-
"
|
|
910
|
-
"
|
|
911
|
-
"simply:cicd:
|
|
912
|
-
"cicd:simply:
|
|
913
|
-
"cicd:
|
|
914
|
-
"cicd:
|
|
915
|
-
"simply:
|
|
916
|
-
"
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"simply:
|
|
920
|
-
"
|
|
921
|
-
"
|
|
922
|
-
"
|
|
783
|
+
"simply:cicd:build:create-package-version",
|
|
784
|
+
"cicd:simply:build:create-package-version",
|
|
785
|
+
"cicd:build:simply:create-package-version",
|
|
786
|
+
"cicd:build:create-package-version:simply",
|
|
787
|
+
"simply:build:cicd:create-package-version",
|
|
788
|
+
"build:simply:cicd:create-package-version",
|
|
789
|
+
"build:cicd:simply:create-package-version",
|
|
790
|
+
"build:cicd:create-package-version:simply",
|
|
791
|
+
"simply:build:create-package-version:cicd",
|
|
792
|
+
"build:simply:create-package-version:cicd",
|
|
793
|
+
"build:create-package-version:simply:cicd",
|
|
794
|
+
"build:create-package-version:cicd:simply",
|
|
795
|
+
"simply:cicd:create-package-version:build",
|
|
796
|
+
"cicd:simply:create-package-version:build",
|
|
797
|
+
"cicd:create-package-version:simply:build",
|
|
798
|
+
"cicd:create-package-version:build:simply",
|
|
799
|
+
"simply:create-package-version:cicd:build",
|
|
800
|
+
"create-package-version:simply:cicd:build",
|
|
801
|
+
"create-package-version:cicd:simply:build",
|
|
802
|
+
"create-package-version:cicd:build:simply",
|
|
803
|
+
"simply:create-package-version:build:cicd",
|
|
804
|
+
"create-package-version:simply:build:cicd",
|
|
805
|
+
"create-package-version:build:simply:cicd",
|
|
806
|
+
"create-package-version:build:cicd:simply"
|
|
923
807
|
]
|
|
924
808
|
},
|
|
925
|
-
"simply:cicd:
|
|
809
|
+
"simply:cicd:build:create-scratch": {
|
|
926
810
|
"aliases": [],
|
|
927
811
|
"args": {},
|
|
928
|
-
"description": "
|
|
812
|
+
"description": "Reads the default package directory's `definitionFile` from `sfdx-project.json` (falling back to `--scratch-definition-file`), and attempts creation against each `--dev-hub` alias in order (each must already be authenticated). A Dev Hub that has hit its daily scratch org limit is skipped in favor of the next one. Writes the resulting org's auth fields to `SCRATCH_ORG_INFO.json` for later build steps, best-effort sets a default `CountryCode`, and assigns any permission sets/licenses declared under the default package directory's `packageMetadataAccess`.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
929
813
|
"examples": [
|
|
930
|
-
"<%= config.bin %> <%= command.id %> --
|
|
814
|
+
"<%= config.bin %> <%= command.id %> --dev-hub my-devhub"
|
|
931
815
|
],
|
|
932
816
|
"flags": {
|
|
933
817
|
"json": {
|
|
@@ -945,46 +829,52 @@
|
|
|
945
829
|
"multiple": false,
|
|
946
830
|
"type": "option"
|
|
947
831
|
},
|
|
948
|
-
"
|
|
949
|
-
"name": "
|
|
950
|
-
"required": true,
|
|
951
|
-
"summary": "The JSON payload to send to Teams, as a serialized string.",
|
|
952
|
-
"hasDynamicHelp": false,
|
|
953
|
-
"multiple": false,
|
|
954
|
-
"type": "option"
|
|
955
|
-
},
|
|
956
|
-
"webhook-url": {
|
|
957
|
-
"env": "SIMPLY_CICD_WEBHOOK_URL",
|
|
958
|
-
"name": "webhook-url",
|
|
832
|
+
"dev-hub": {
|
|
833
|
+
"name": "dev-hub",
|
|
959
834
|
"required": true,
|
|
960
|
-
"summary": "
|
|
835
|
+
"summary": "Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev Hub to try, in order.",
|
|
961
836
|
"hasDynamicHelp": false,
|
|
962
|
-
"multiple":
|
|
837
|
+
"multiple": true,
|
|
963
838
|
"type": "option"
|
|
964
839
|
},
|
|
965
|
-
"enabled": {
|
|
966
|
-
"env": "SIMPLY_CICD_ENABLED",
|
|
967
|
-
"name": "enabled",
|
|
968
|
-
"summary": "Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.",
|
|
969
|
-
"allowNo": false,
|
|
970
|
-
"type": "boolean"
|
|
971
|
-
},
|
|
972
840
|
"debug": {
|
|
973
841
|
"env": "SIMPLY_CICD_DEBUG",
|
|
974
842
|
"name": "debug",
|
|
975
843
|
"summary": "Enable verbose debug logging.",
|
|
976
844
|
"allowNo": false,
|
|
977
845
|
"type": "boolean"
|
|
846
|
+
},
|
|
847
|
+
"disabled": {
|
|
848
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
849
|
+
"name": "disabled",
|
|
850
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
851
|
+
"allowNo": false,
|
|
852
|
+
"type": "boolean"
|
|
853
|
+
},
|
|
854
|
+
"scratch-definition-file": {
|
|
855
|
+
"name": "scratch-definition-file",
|
|
856
|
+
"summary": "Definition file used to create the scratch org, if not specified in sfdx-project.json.",
|
|
857
|
+
"hasDynamicHelp": false,
|
|
858
|
+
"multiple": false,
|
|
859
|
+
"type": "option"
|
|
860
|
+
},
|
|
861
|
+
"scratch-duration-days": {
|
|
862
|
+
"name": "scratch-duration-days",
|
|
863
|
+
"summary": "Duration of the scratch org in days.",
|
|
864
|
+
"default": "1",
|
|
865
|
+
"hasDynamicHelp": false,
|
|
866
|
+
"multiple": false,
|
|
867
|
+
"type": "option"
|
|
978
868
|
}
|
|
979
869
|
},
|
|
980
870
|
"hasDynamicHelp": false,
|
|
981
871
|
"hiddenAliases": [],
|
|
982
|
-
"id": "simply:cicd:
|
|
872
|
+
"id": "simply:cicd:build:create-scratch",
|
|
983
873
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
984
874
|
"pluginName": "@simplysf/simply-cicd",
|
|
985
875
|
"pluginType": "core",
|
|
986
876
|
"strict": true,
|
|
987
|
-
"summary": "
|
|
877
|
+
"summary": "Create a scratch org, trying each configured Dev Hub in order.",
|
|
988
878
|
"enableJsonFlag": true,
|
|
989
879
|
"isESM": true,
|
|
990
880
|
"relativePath": [
|
|
@@ -992,43 +882,43 @@
|
|
|
992
882
|
"commands",
|
|
993
883
|
"simply",
|
|
994
884
|
"cicd",
|
|
995
|
-
"
|
|
996
|
-
"
|
|
885
|
+
"build",
|
|
886
|
+
"create-scratch.js"
|
|
997
887
|
],
|
|
998
888
|
"aliasPermutations": [],
|
|
999
889
|
"permutations": [
|
|
1000
|
-
"simply:cicd:
|
|
1001
|
-
"cicd:simply:
|
|
1002
|
-
"cicd:
|
|
1003
|
-
"cicd:
|
|
1004
|
-
"simply:
|
|
1005
|
-
"
|
|
1006
|
-
"
|
|
1007
|
-
"
|
|
1008
|
-
"simply:
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1012
|
-
"simply:cicd:
|
|
1013
|
-
"cicd:simply:
|
|
1014
|
-
"cicd:
|
|
1015
|
-
"cicd:
|
|
1016
|
-
"simply:
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"simply:
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1023
|
-
"
|
|
890
|
+
"simply:cicd:build:create-scratch",
|
|
891
|
+
"cicd:simply:build:create-scratch",
|
|
892
|
+
"cicd:build:simply:create-scratch",
|
|
893
|
+
"cicd:build:create-scratch:simply",
|
|
894
|
+
"simply:build:cicd:create-scratch",
|
|
895
|
+
"build:simply:cicd:create-scratch",
|
|
896
|
+
"build:cicd:simply:create-scratch",
|
|
897
|
+
"build:cicd:create-scratch:simply",
|
|
898
|
+
"simply:build:create-scratch:cicd",
|
|
899
|
+
"build:simply:create-scratch:cicd",
|
|
900
|
+
"build:create-scratch:simply:cicd",
|
|
901
|
+
"build:create-scratch:cicd:simply",
|
|
902
|
+
"simply:cicd:create-scratch:build",
|
|
903
|
+
"cicd:simply:create-scratch:build",
|
|
904
|
+
"cicd:create-scratch:simply:build",
|
|
905
|
+
"cicd:create-scratch:build:simply",
|
|
906
|
+
"simply:create-scratch:cicd:build",
|
|
907
|
+
"create-scratch:simply:cicd:build",
|
|
908
|
+
"create-scratch:cicd:simply:build",
|
|
909
|
+
"create-scratch:cicd:build:simply",
|
|
910
|
+
"simply:create-scratch:build:cicd",
|
|
911
|
+
"create-scratch:simply:build:cicd",
|
|
912
|
+
"create-scratch:build:simply:cicd",
|
|
913
|
+
"create-scratch:build:cicd:simply"
|
|
1024
914
|
]
|
|
1025
915
|
},
|
|
1026
|
-
"simply:cicd:build:
|
|
916
|
+
"simply:cicd:build:delete-scratch": {
|
|
1027
917
|
"aliases": [],
|
|
1028
918
|
"args": {},
|
|
1029
|
-
"description": "
|
|
919
|
+
"description": "Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`) to confirm `--dev-hub` is the Dev Hub that owns the scratch org, re-authenticates to it and the scratch org as needed, and deletes it. Deletion failures are logged rather than thrown, since a scratch org left behind after a failed deletion just needs manual cleanup and shouldn't fail an otherwise-successful pipeline run.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
1030
920
|
"examples": [
|
|
1031
|
-
"<%= config.bin %> <%= command.id %>"
|
|
921
|
+
"<%= config.bin %> <%= command.id %> --dev-hub my-devhub"
|
|
1032
922
|
],
|
|
1033
923
|
"flags": {
|
|
1034
924
|
"json": {
|
|
@@ -1046,6 +936,22 @@
|
|
|
1046
936
|
"multiple": false,
|
|
1047
937
|
"type": "option"
|
|
1048
938
|
},
|
|
939
|
+
"dev-hub": {
|
|
940
|
+
"name": "dev-hub",
|
|
941
|
+
"required": true,
|
|
942
|
+
"summary": "Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev Hub to try, in order.",
|
|
943
|
+
"hasDynamicHelp": false,
|
|
944
|
+
"multiple": false,
|
|
945
|
+
"type": "option"
|
|
946
|
+
},
|
|
947
|
+
"jwt-key-file": {
|
|
948
|
+
"env": "SIMPLY_CICD_JWT_KEY_FILE",
|
|
949
|
+
"name": "jwt-key-file",
|
|
950
|
+
"summary": "Path to the JWT private key file used to re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used instead.",
|
|
951
|
+
"hasDynamicHelp": false,
|
|
952
|
+
"multiple": false,
|
|
953
|
+
"type": "option"
|
|
954
|
+
},
|
|
1049
955
|
"debug": {
|
|
1050
956
|
"env": "SIMPLY_CICD_DEBUG",
|
|
1051
957
|
"name": "debug",
|
|
@@ -1063,12 +969,12 @@
|
|
|
1063
969
|
},
|
|
1064
970
|
"hasDynamicHelp": false,
|
|
1065
971
|
"hiddenAliases": [],
|
|
1066
|
-
"id": "simply:cicd:build:
|
|
972
|
+
"id": "simply:cicd:build:delete-scratch",
|
|
1067
973
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1068
974
|
"pluginName": "@simplysf/simply-cicd",
|
|
1069
975
|
"pluginType": "core",
|
|
1070
976
|
"strict": true,
|
|
1071
|
-
"summary": "
|
|
977
|
+
"summary": "Delete the scratch org created by `build create-scratch`.",
|
|
1072
978
|
"enableJsonFlag": true,
|
|
1073
979
|
"isESM": true,
|
|
1074
980
|
"relativePath": [
|
|
@@ -1077,42 +983,42 @@
|
|
|
1077
983
|
"simply",
|
|
1078
984
|
"cicd",
|
|
1079
985
|
"build",
|
|
1080
|
-
"
|
|
986
|
+
"delete-scratch.js"
|
|
1081
987
|
],
|
|
1082
988
|
"aliasPermutations": [],
|
|
1083
989
|
"permutations": [
|
|
1084
|
-
"simply:cicd:build:
|
|
1085
|
-
"cicd:simply:build:
|
|
1086
|
-
"cicd:build:simply:
|
|
1087
|
-
"cicd:build:
|
|
1088
|
-
"simply:build:cicd:
|
|
1089
|
-
"build:simply:cicd:
|
|
1090
|
-
"build:cicd:simply:
|
|
1091
|
-
"build:cicd:
|
|
1092
|
-
"simply:build:
|
|
1093
|
-
"build:simply:
|
|
1094
|
-
"build:
|
|
1095
|
-
"build:
|
|
1096
|
-
"simply:cicd:
|
|
1097
|
-
"cicd:simply:
|
|
1098
|
-
"cicd:
|
|
1099
|
-
"cicd:
|
|
1100
|
-
"simply:
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1103
|
-
"
|
|
1104
|
-
"simply:
|
|
1105
|
-
"
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
990
|
+
"simply:cicd:build:delete-scratch",
|
|
991
|
+
"cicd:simply:build:delete-scratch",
|
|
992
|
+
"cicd:build:simply:delete-scratch",
|
|
993
|
+
"cicd:build:delete-scratch:simply",
|
|
994
|
+
"simply:build:cicd:delete-scratch",
|
|
995
|
+
"build:simply:cicd:delete-scratch",
|
|
996
|
+
"build:cicd:simply:delete-scratch",
|
|
997
|
+
"build:cicd:delete-scratch:simply",
|
|
998
|
+
"simply:build:delete-scratch:cicd",
|
|
999
|
+
"build:simply:delete-scratch:cicd",
|
|
1000
|
+
"build:delete-scratch:simply:cicd",
|
|
1001
|
+
"build:delete-scratch:cicd:simply",
|
|
1002
|
+
"simply:cicd:delete-scratch:build",
|
|
1003
|
+
"cicd:simply:delete-scratch:build",
|
|
1004
|
+
"cicd:delete-scratch:simply:build",
|
|
1005
|
+
"cicd:delete-scratch:build:simply",
|
|
1006
|
+
"simply:delete-scratch:cicd:build",
|
|
1007
|
+
"delete-scratch:simply:cicd:build",
|
|
1008
|
+
"delete-scratch:cicd:simply:build",
|
|
1009
|
+
"delete-scratch:cicd:build:simply",
|
|
1010
|
+
"simply:delete-scratch:build:cicd",
|
|
1011
|
+
"delete-scratch:simply:build:cicd",
|
|
1012
|
+
"delete-scratch:build:simply:cicd",
|
|
1013
|
+
"delete-scratch:build:cicd:simply"
|
|
1108
1014
|
]
|
|
1109
1015
|
},
|
|
1110
|
-
"simply:cicd:build:
|
|
1016
|
+
"simply:cicd:build:determine-package-changes": {
|
|
1111
1017
|
"aliases": [],
|
|
1112
1018
|
"args": {},
|
|
1113
|
-
"description": "
|
|
1019
|
+
"description": "Reads the default package directory from `sfdx-project.json`, finds the closest reachable git tag for its `major.minor.patch` (in `SIMPLY_CICD_VERSION_TAG_FORMAT` or the project's `plugins.simply.versionTagFormat`, `v<major>.<minor>.<patch>.*` by default), and diffs that tag against `HEAD` for the package directory and `sfdx-project.json` itself. Writes `PACKAGE_CHANGED=TRUE|FALSE` and `LAST_TAG=<tag>` to the output file. Any failure during detection (missing/invalid sfdx-project.json, git errors) defaults to `PACKAGE_CHANGED=TRUE`, so a build never silently skips work it should have done.",
|
|
1114
1020
|
"examples": [
|
|
1115
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1021
|
+
"<%= config.bin %> <%= command.id %> --out changes.env"
|
|
1116
1022
|
],
|
|
1117
1023
|
"flags": {
|
|
1118
1024
|
"json": {
|
|
@@ -1130,14 +1036,6 @@
|
|
|
1130
1036
|
"multiple": false,
|
|
1131
1037
|
"type": "option"
|
|
1132
1038
|
},
|
|
1133
|
-
"dev-hub": {
|
|
1134
|
-
"name": "dev-hub",
|
|
1135
|
-
"required": true,
|
|
1136
|
-
"summary": "Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev Hub to try, in order.",
|
|
1137
|
-
"hasDynamicHelp": false,
|
|
1138
|
-
"multiple": true,
|
|
1139
|
-
"type": "option"
|
|
1140
|
-
},
|
|
1141
1039
|
"debug": {
|
|
1142
1040
|
"env": "SIMPLY_CICD_DEBUG",
|
|
1143
1041
|
"name": "debug",
|
|
@@ -1151,16 +1049,24 @@
|
|
|
1151
1049
|
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1152
1050
|
"allowNo": false,
|
|
1153
1051
|
"type": "boolean"
|
|
1052
|
+
},
|
|
1053
|
+
"out": {
|
|
1054
|
+
"name": "out",
|
|
1055
|
+
"summary": "Output dotenv file path.",
|
|
1056
|
+
"default": "changes.env",
|
|
1057
|
+
"hasDynamicHelp": false,
|
|
1058
|
+
"multiple": false,
|
|
1059
|
+
"type": "option"
|
|
1154
1060
|
}
|
|
1155
1061
|
},
|
|
1156
1062
|
"hasDynamicHelp": false,
|
|
1157
1063
|
"hiddenAliases": [],
|
|
1158
|
-
"id": "simply:cicd:build:
|
|
1064
|
+
"id": "simply:cicd:build:determine-package-changes",
|
|
1159
1065
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1160
1066
|
"pluginName": "@simplysf/simply-cicd",
|
|
1161
1067
|
"pluginType": "core",
|
|
1162
1068
|
"strict": true,
|
|
1163
|
-
"summary": "
|
|
1069
|
+
"summary": "Determine if any package-relevant files have changed since the last release tag.",
|
|
1164
1070
|
"enableJsonFlag": true,
|
|
1165
1071
|
"isESM": true,
|
|
1166
1072
|
"relativePath": [
|
|
@@ -1169,42 +1075,43 @@
|
|
|
1169
1075
|
"simply",
|
|
1170
1076
|
"cicd",
|
|
1171
1077
|
"build",
|
|
1172
|
-
"
|
|
1078
|
+
"determine-package-changes.js"
|
|
1173
1079
|
],
|
|
1174
1080
|
"aliasPermutations": [],
|
|
1175
1081
|
"permutations": [
|
|
1176
|
-
"simply:cicd:build:
|
|
1177
|
-
"cicd:simply:build:
|
|
1178
|
-
"cicd:build:simply:
|
|
1179
|
-
"cicd:build:
|
|
1180
|
-
"simply:build:cicd:
|
|
1181
|
-
"build:simply:cicd:
|
|
1182
|
-
"build:cicd:simply:
|
|
1183
|
-
"build:cicd:
|
|
1184
|
-
"simply:build:
|
|
1185
|
-
"build:simply:
|
|
1186
|
-
"build:
|
|
1187
|
-
"build:
|
|
1188
|
-
"simply:cicd:
|
|
1189
|
-
"cicd:simply:
|
|
1190
|
-
"cicd:
|
|
1191
|
-
"cicd:
|
|
1192
|
-
"simply:
|
|
1193
|
-
"
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1196
|
-
"simply:
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1199
|
-
"
|
|
1082
|
+
"simply:cicd:build:determine-package-changes",
|
|
1083
|
+
"cicd:simply:build:determine-package-changes",
|
|
1084
|
+
"cicd:build:simply:determine-package-changes",
|
|
1085
|
+
"cicd:build:determine-package-changes:simply",
|
|
1086
|
+
"simply:build:cicd:determine-package-changes",
|
|
1087
|
+
"build:simply:cicd:determine-package-changes",
|
|
1088
|
+
"build:cicd:simply:determine-package-changes",
|
|
1089
|
+
"build:cicd:determine-package-changes:simply",
|
|
1090
|
+
"simply:build:determine-package-changes:cicd",
|
|
1091
|
+
"build:simply:determine-package-changes:cicd",
|
|
1092
|
+
"build:determine-package-changes:simply:cicd",
|
|
1093
|
+
"build:determine-package-changes:cicd:simply",
|
|
1094
|
+
"simply:cicd:determine-package-changes:build",
|
|
1095
|
+
"cicd:simply:determine-package-changes:build",
|
|
1096
|
+
"cicd:determine-package-changes:simply:build",
|
|
1097
|
+
"cicd:determine-package-changes:build:simply",
|
|
1098
|
+
"simply:determine-package-changes:cicd:build",
|
|
1099
|
+
"determine-package-changes:simply:cicd:build",
|
|
1100
|
+
"determine-package-changes:cicd:simply:build",
|
|
1101
|
+
"determine-package-changes:cicd:build:simply",
|
|
1102
|
+
"simply:determine-package-changes:build:cicd",
|
|
1103
|
+
"determine-package-changes:simply:build:cicd",
|
|
1104
|
+
"determine-package-changes:build:simply:cicd",
|
|
1105
|
+
"determine-package-changes:build:cicd:simply"
|
|
1200
1106
|
]
|
|
1201
1107
|
},
|
|
1202
|
-
"simply:cicd:build:
|
|
1108
|
+
"simply:cicd:build:generate-flexipage-diff": {
|
|
1203
1109
|
"aliases": [],
|
|
1204
1110
|
"args": {},
|
|
1205
|
-
"description": "
|
|
1111
|
+
"description": "Runs the upstream `flexipage-delta` binary to diff `**/*.flexipage-meta.xml` files between `--from` and `--to`, then the reporter binary for the platform `--vcs-provider` selects — `flexipage-delta-gitlab` or `flexipage-delta-github` — to post the results back to the merge or pull request. Failures are logged, not thrown — a diff-posting step shouldn't fail the build.",
|
|
1206
1112
|
"examples": [
|
|
1207
|
-
"<%= config.bin %> <%= command.id %> --ci-
|
|
1113
|
+
"<%= config.bin %> <%= command.id %> --ci-project-id 123 --ci-merge-request-iid 45 --from abc123 --to def456 --project-access-token glpat-...",
|
|
1114
|
+
"<%= config.bin %> <%= command.id %> --vcs-provider github --ci-repository my-org/my-repo --ci-pull-request-number 45 --ci-run-id 987 --from abc123 --to def456 --project-access-token ghp-..."
|
|
1208
1115
|
],
|
|
1209
1116
|
"flags": {
|
|
1210
1117
|
"json": {
|
|
@@ -1222,42 +1129,6 @@
|
|
|
1222
1129
|
"multiple": false,
|
|
1223
1130
|
"type": "option"
|
|
1224
1131
|
},
|
|
1225
|
-
"ci-commit-ref-name": {
|
|
1226
|
-
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
1227
|
-
"name": "ci-commit-ref-name",
|
|
1228
|
-
"required": true,
|
|
1229
|
-
"summary": "Git branch or ref name being built.",
|
|
1230
|
-
"hasDynamicHelp": false,
|
|
1231
|
-
"multiple": false,
|
|
1232
|
-
"type": "option"
|
|
1233
|
-
},
|
|
1234
|
-
"ci-pipeline-id": {
|
|
1235
|
-
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
1236
|
-
"name": "ci-pipeline-id",
|
|
1237
|
-
"required": true,
|
|
1238
|
-
"summary": "CI pipeline ID, used to name the temporary authenticated git remote.",
|
|
1239
|
-
"hasDynamicHelp": false,
|
|
1240
|
-
"multiple": false,
|
|
1241
|
-
"type": "option"
|
|
1242
|
-
},
|
|
1243
|
-
"ci-project-path": {
|
|
1244
|
-
"env": "SIMPLY_CICD_CI_PROJECT_PATH",
|
|
1245
|
-
"name": "ci-project-path",
|
|
1246
|
-
"required": true,
|
|
1247
|
-
"summary": "CI project's git path (e.g. group/project), used to build the authenticated git remote URL.",
|
|
1248
|
-
"hasDynamicHelp": false,
|
|
1249
|
-
"multiple": false,
|
|
1250
|
-
"type": "option"
|
|
1251
|
-
},
|
|
1252
|
-
"project-access-token": {
|
|
1253
|
-
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
1254
|
-
"name": "project-access-token",
|
|
1255
|
-
"required": true,
|
|
1256
|
-
"summary": "Access token used to authenticate git remote operations (tagging, pushing).",
|
|
1257
|
-
"hasDynamicHelp": false,
|
|
1258
|
-
"multiple": false,
|
|
1259
|
-
"type": "option"
|
|
1260
|
-
},
|
|
1261
1132
|
"vcs-host": {
|
|
1262
1133
|
"env": "SIMPLY_CICD_VCS_HOST",
|
|
1263
1134
|
"name": "vcs-host",
|
|
@@ -1279,44 +1150,117 @@
|
|
|
1279
1150
|
],
|
|
1280
1151
|
"type": "option"
|
|
1281
1152
|
},
|
|
1282
|
-
"
|
|
1283
|
-
"env": "
|
|
1284
|
-
"name": "
|
|
1285
|
-
"summary": "
|
|
1286
|
-
"
|
|
1287
|
-
"
|
|
1288
|
-
|
|
1289
|
-
"disabled": {
|
|
1290
|
-
"env": "SIMPLY_CICD_DISABLED",
|
|
1291
|
-
"name": "disabled",
|
|
1292
|
-
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1293
|
-
"allowNo": false,
|
|
1294
|
-
"type": "boolean"
|
|
1153
|
+
"ci-project-id": {
|
|
1154
|
+
"env": "SIMPLY_CICD_CI_PROJECT_ID",
|
|
1155
|
+
"name": "ci-project-id",
|
|
1156
|
+
"summary": "GitLab only: numeric CI project ID of the project to post the diff to.",
|
|
1157
|
+
"hasDynamicHelp": false,
|
|
1158
|
+
"multiple": false,
|
|
1159
|
+
"type": "option"
|
|
1295
1160
|
},
|
|
1296
|
-
"
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1161
|
+
"ci-merge-request-iid": {
|
|
1162
|
+
"env": "SIMPLY_CICD_CI_MERGE_REQUEST_IID",
|
|
1163
|
+
"name": "ci-merge-request-iid",
|
|
1164
|
+
"summary": "GitLab only: internal ID of the merge request to post the diff to.",
|
|
1165
|
+
"hasDynamicHelp": false,
|
|
1166
|
+
"multiple": false,
|
|
1167
|
+
"type": "option"
|
|
1168
|
+
},
|
|
1169
|
+
"ci-repository": {
|
|
1170
|
+
"env": "SIMPLY_CICD_CI_REPOSITORY",
|
|
1171
|
+
"name": "ci-repository",
|
|
1172
|
+
"summary": "GitHub only: repository to post the diff to, as owner/repo.",
|
|
1173
|
+
"hasDynamicHelp": false,
|
|
1174
|
+
"multiple": false,
|
|
1175
|
+
"type": "option"
|
|
1176
|
+
},
|
|
1177
|
+
"ci-pull-request-number": {
|
|
1178
|
+
"env": "SIMPLY_CICD_CI_PULL_REQUEST_NUMBER",
|
|
1179
|
+
"name": "ci-pull-request-number",
|
|
1180
|
+
"summary": "GitHub only: number of the pull request to post the diff to.",
|
|
1181
|
+
"hasDynamicHelp": false,
|
|
1182
|
+
"multiple": false,
|
|
1183
|
+
"type": "option"
|
|
1184
|
+
},
|
|
1185
|
+
"ci-run-id": {
|
|
1186
|
+
"env": "SIMPLY_CICD_CI_RUN_ID",
|
|
1187
|
+
"name": "ci-run-id",
|
|
1188
|
+
"summary": "GitHub only: Actions run ID, used to build links back to the run's artifacts.",
|
|
1189
|
+
"hasDynamicHelp": false,
|
|
1190
|
+
"multiple": false,
|
|
1191
|
+
"type": "option"
|
|
1192
|
+
},
|
|
1193
|
+
"ci-server-url": {
|
|
1194
|
+
"env": "SIMPLY_CICD_CI_SERVER_URL",
|
|
1195
|
+
"name": "ci-server-url",
|
|
1196
|
+
"summary": "GitHub only: server URL, for instances other than github.com.",
|
|
1197
|
+
"hasDynamicHelp": false,
|
|
1198
|
+
"multiple": false,
|
|
1199
|
+
"type": "option"
|
|
1200
|
+
},
|
|
1201
|
+
"ci-commit-sha": {
|
|
1202
|
+
"env": "SIMPLY_CICD_CI_COMMIT_SHA",
|
|
1203
|
+
"name": "ci-commit-sha",
|
|
1204
|
+
"summary": "Commit SHA to attribute the posted diff to.",
|
|
1205
|
+
"hasDynamicHelp": false,
|
|
1206
|
+
"multiple": false,
|
|
1207
|
+
"type": "option"
|
|
1208
|
+
},
|
|
1209
|
+
"from": {
|
|
1210
|
+
"name": "from",
|
|
1211
|
+
"required": true,
|
|
1212
|
+
"summary": "Base commit SHA to diff from.",
|
|
1213
|
+
"hasDynamicHelp": false,
|
|
1214
|
+
"multiple": false,
|
|
1215
|
+
"type": "option"
|
|
1216
|
+
},
|
|
1217
|
+
"to": {
|
|
1218
|
+
"name": "to",
|
|
1219
|
+
"required": true,
|
|
1220
|
+
"summary": "Head commit SHA to diff to.",
|
|
1221
|
+
"hasDynamicHelp": false,
|
|
1222
|
+
"multiple": false,
|
|
1223
|
+
"type": "option"
|
|
1224
|
+
},
|
|
1225
|
+
"project-access-token": {
|
|
1226
|
+
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
1227
|
+
"name": "project-access-token",
|
|
1228
|
+
"required": true,
|
|
1229
|
+
"summary": "Project access token used to post the diff results back to the merge request.",
|
|
1299
1230
|
"hasDynamicHelp": false,
|
|
1300
1231
|
"multiple": false,
|
|
1301
1232
|
"type": "option"
|
|
1302
1233
|
},
|
|
1303
1234
|
"out": {
|
|
1304
1235
|
"name": "out",
|
|
1305
|
-
"summary": "Output
|
|
1306
|
-
"default": "subscriberPackageVersionId.env",
|
|
1236
|
+
"summary": "Output directory or file path for the delta results.",
|
|
1307
1237
|
"hasDynamicHelp": false,
|
|
1308
1238
|
"multiple": false,
|
|
1309
1239
|
"type": "option"
|
|
1240
|
+
},
|
|
1241
|
+
"debug": {
|
|
1242
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
1243
|
+
"name": "debug",
|
|
1244
|
+
"summary": "Enable verbose debug logging.",
|
|
1245
|
+
"allowNo": false,
|
|
1246
|
+
"type": "boolean"
|
|
1247
|
+
},
|
|
1248
|
+
"disabled": {
|
|
1249
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
1250
|
+
"name": "disabled",
|
|
1251
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1252
|
+
"allowNo": false,
|
|
1253
|
+
"type": "boolean"
|
|
1310
1254
|
}
|
|
1311
1255
|
},
|
|
1312
1256
|
"hasDynamicHelp": false,
|
|
1313
1257
|
"hiddenAliases": [],
|
|
1314
|
-
"id": "simply:cicd:build:
|
|
1258
|
+
"id": "simply:cicd:build:generate-flexipage-diff",
|
|
1315
1259
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1316
1260
|
"pluginName": "@simplysf/simply-cicd",
|
|
1317
1261
|
"pluginType": "core",
|
|
1318
1262
|
"strict": true,
|
|
1319
|
-
"summary": "
|
|
1263
|
+
"summary": "Generate a Flexipage delta between two commits and post the results to the change request.",
|
|
1320
1264
|
"enableJsonFlag": true,
|
|
1321
1265
|
"isESM": true,
|
|
1322
1266
|
"relativePath": [
|
|
@@ -1325,42 +1269,43 @@
|
|
|
1325
1269
|
"simply",
|
|
1326
1270
|
"cicd",
|
|
1327
1271
|
"build",
|
|
1328
|
-
"
|
|
1272
|
+
"generate-flexipage-diff.js"
|
|
1329
1273
|
],
|
|
1330
1274
|
"aliasPermutations": [],
|
|
1331
1275
|
"permutations": [
|
|
1332
|
-
"simply:cicd:build:
|
|
1333
|
-
"cicd:simply:build:
|
|
1334
|
-
"cicd:build:simply:
|
|
1335
|
-
"cicd:build:
|
|
1336
|
-
"simply:build:cicd:
|
|
1337
|
-
"build:simply:cicd:
|
|
1338
|
-
"build:cicd:simply:
|
|
1339
|
-
"build:cicd:
|
|
1340
|
-
"simply:build:
|
|
1341
|
-
"build:simply:
|
|
1342
|
-
"build:
|
|
1343
|
-
"build:
|
|
1344
|
-
"simply:cicd:
|
|
1345
|
-
"cicd:simply:
|
|
1346
|
-
"cicd:
|
|
1347
|
-
"cicd:
|
|
1348
|
-
"simply:
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"simply:
|
|
1353
|
-
"
|
|
1354
|
-
"
|
|
1355
|
-
"
|
|
1276
|
+
"simply:cicd:build:generate-flexipage-diff",
|
|
1277
|
+
"cicd:simply:build:generate-flexipage-diff",
|
|
1278
|
+
"cicd:build:simply:generate-flexipage-diff",
|
|
1279
|
+
"cicd:build:generate-flexipage-diff:simply",
|
|
1280
|
+
"simply:build:cicd:generate-flexipage-diff",
|
|
1281
|
+
"build:simply:cicd:generate-flexipage-diff",
|
|
1282
|
+
"build:cicd:simply:generate-flexipage-diff",
|
|
1283
|
+
"build:cicd:generate-flexipage-diff:simply",
|
|
1284
|
+
"simply:build:generate-flexipage-diff:cicd",
|
|
1285
|
+
"build:simply:generate-flexipage-diff:cicd",
|
|
1286
|
+
"build:generate-flexipage-diff:simply:cicd",
|
|
1287
|
+
"build:generate-flexipage-diff:cicd:simply",
|
|
1288
|
+
"simply:cicd:generate-flexipage-diff:build",
|
|
1289
|
+
"cicd:simply:generate-flexipage-diff:build",
|
|
1290
|
+
"cicd:generate-flexipage-diff:simply:build",
|
|
1291
|
+
"cicd:generate-flexipage-diff:build:simply",
|
|
1292
|
+
"simply:generate-flexipage-diff:cicd:build",
|
|
1293
|
+
"generate-flexipage-diff:simply:cicd:build",
|
|
1294
|
+
"generate-flexipage-diff:cicd:simply:build",
|
|
1295
|
+
"generate-flexipage-diff:cicd:build:simply",
|
|
1296
|
+
"simply:generate-flexipage-diff:build:cicd",
|
|
1297
|
+
"generate-flexipage-diff:simply:build:cicd",
|
|
1298
|
+
"generate-flexipage-diff:build:simply:cicd",
|
|
1299
|
+
"generate-flexipage-diff:build:cicd:simply"
|
|
1356
1300
|
]
|
|
1357
1301
|
},
|
|
1358
|
-
"simply:cicd:build:
|
|
1302
|
+
"simply:cicd:build:generate-flow-diff": {
|
|
1359
1303
|
"aliases": [],
|
|
1360
1304
|
"args": {},
|
|
1361
|
-
"description": "
|
|
1305
|
+
"description": "Runs the upstream `flow-delta` binary to diff `**/*.flow-meta.xml` files between `--from` and `--to`, then the reporter binary for the platform `--vcs-provider` selects — `flow-delta-gitlab` or `flow-delta-github` — to post the results back to the merge or pull request. Failures are logged, not thrown — a diff-posting step shouldn't fail the build.",
|
|
1362
1306
|
"examples": [
|
|
1363
|
-
"<%= config.bin %> <%= command.id %> --ci-
|
|
1307
|
+
"<%= config.bin %> <%= command.id %> --ci-project-id 123 --ci-merge-request-iid 45 --from abc123 --to def456 --project-access-token glpat-...",
|
|
1308
|
+
"<%= config.bin %> <%= command.id %> --vcs-provider github --ci-repository my-org/my-repo --ci-pull-request-number 45 --ci-run-id 987 --from abc123 --to def456 --project-access-token ghp-..."
|
|
1364
1309
|
],
|
|
1365
1310
|
"flags": {
|
|
1366
1311
|
"json": {
|
|
@@ -1378,42 +1323,6 @@
|
|
|
1378
1323
|
"multiple": false,
|
|
1379
1324
|
"type": "option"
|
|
1380
1325
|
},
|
|
1381
|
-
"ci-commit-ref-name": {
|
|
1382
|
-
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
1383
|
-
"name": "ci-commit-ref-name",
|
|
1384
|
-
"required": true,
|
|
1385
|
-
"summary": "Git branch or ref name being built.",
|
|
1386
|
-
"hasDynamicHelp": false,
|
|
1387
|
-
"multiple": false,
|
|
1388
|
-
"type": "option"
|
|
1389
|
-
},
|
|
1390
|
-
"ci-pipeline-id": {
|
|
1391
|
-
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
1392
|
-
"name": "ci-pipeline-id",
|
|
1393
|
-
"required": true,
|
|
1394
|
-
"summary": "CI pipeline ID, used to name the temporary authenticated git remote.",
|
|
1395
|
-
"hasDynamicHelp": false,
|
|
1396
|
-
"multiple": false,
|
|
1397
|
-
"type": "option"
|
|
1398
|
-
},
|
|
1399
|
-
"ci-project-path": {
|
|
1400
|
-
"env": "SIMPLY_CICD_CI_PROJECT_PATH",
|
|
1401
|
-
"name": "ci-project-path",
|
|
1402
|
-
"required": true,
|
|
1403
|
-
"summary": "CI project's git path (e.g. group/project), used to build the authenticated git remote URL.",
|
|
1404
|
-
"hasDynamicHelp": false,
|
|
1405
|
-
"multiple": false,
|
|
1406
|
-
"type": "option"
|
|
1407
|
-
},
|
|
1408
|
-
"project-access-token": {
|
|
1409
|
-
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
1410
|
-
"name": "project-access-token",
|
|
1411
|
-
"required": true,
|
|
1412
|
-
"summary": "Access token used to authenticate git remote operations (tagging, pushing).",
|
|
1413
|
-
"hasDynamicHelp": false,
|
|
1414
|
-
"multiple": false,
|
|
1415
|
-
"type": "option"
|
|
1416
|
-
},
|
|
1417
1326
|
"vcs-host": {
|
|
1418
1327
|
"env": "SIMPLY_CICD_VCS_HOST",
|
|
1419
1328
|
"name": "vcs-host",
|
|
@@ -1435,85 +1344,117 @@
|
|
|
1435
1344
|
],
|
|
1436
1345
|
"type": "option"
|
|
1437
1346
|
},
|
|
1438
|
-
"
|
|
1439
|
-
"env": "
|
|
1440
|
-
"name": "
|
|
1441
|
-
"summary": "
|
|
1442
|
-
"
|
|
1443
|
-
"
|
|
1444
|
-
|
|
1445
|
-
"disabled": {
|
|
1446
|
-
"env": "SIMPLY_CICD_DISABLED",
|
|
1447
|
-
"name": "disabled",
|
|
1448
|
-
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1449
|
-
"allowNo": false,
|
|
1450
|
-
"type": "boolean"
|
|
1347
|
+
"ci-project-id": {
|
|
1348
|
+
"env": "SIMPLY_CICD_CI_PROJECT_ID",
|
|
1349
|
+
"name": "ci-project-id",
|
|
1350
|
+
"summary": "GitLab only: numeric CI project ID of the project to post the diff to.",
|
|
1351
|
+
"hasDynamicHelp": false,
|
|
1352
|
+
"multiple": false,
|
|
1353
|
+
"type": "option"
|
|
1451
1354
|
},
|
|
1452
|
-
"ci-
|
|
1453
|
-
"env": "
|
|
1454
|
-
"name": "ci-
|
|
1455
|
-
"
|
|
1456
|
-
"summary": "Commit SHA to tag as the package version's source.",
|
|
1355
|
+
"ci-merge-request-iid": {
|
|
1356
|
+
"env": "SIMPLY_CICD_CI_MERGE_REQUEST_IID",
|
|
1357
|
+
"name": "ci-merge-request-iid",
|
|
1358
|
+
"summary": "GitLab only: internal ID of the merge request to post the diff to.",
|
|
1457
1359
|
"hasDynamicHelp": false,
|
|
1458
1360
|
"multiple": false,
|
|
1459
1361
|
"type": "option"
|
|
1460
1362
|
},
|
|
1461
|
-
"ci-
|
|
1462
|
-
"env": "
|
|
1463
|
-
"name": "ci-
|
|
1464
|
-
"summary": "
|
|
1363
|
+
"ci-repository": {
|
|
1364
|
+
"env": "SIMPLY_CICD_CI_REPOSITORY",
|
|
1365
|
+
"name": "ci-repository",
|
|
1366
|
+
"summary": "GitHub only: repository to post the diff to, as owner/repo.",
|
|
1465
1367
|
"hasDynamicHelp": false,
|
|
1466
1368
|
"multiple": false,
|
|
1467
1369
|
"type": "option"
|
|
1468
1370
|
},
|
|
1469
|
-
"ci-
|
|
1470
|
-
"env": "
|
|
1471
|
-
"name": "ci-
|
|
1472
|
-
"
|
|
1473
|
-
"summary": "URL of the CI pipeline, used as the package version's description.",
|
|
1371
|
+
"ci-pull-request-number": {
|
|
1372
|
+
"env": "SIMPLY_CICD_CI_PULL_REQUEST_NUMBER",
|
|
1373
|
+
"name": "ci-pull-request-number",
|
|
1374
|
+
"summary": "GitHub only: number of the pull request to post the diff to.",
|
|
1474
1375
|
"hasDynamicHelp": false,
|
|
1475
1376
|
"multiple": false,
|
|
1476
1377
|
"type": "option"
|
|
1477
1378
|
},
|
|
1478
|
-
"
|
|
1479
|
-
"env": "
|
|
1480
|
-
"name": "
|
|
1481
|
-
"
|
|
1482
|
-
"summary": "Alias of the Dev Hub used for packaging operations like package version creation. Must already be authenticated.",
|
|
1379
|
+
"ci-run-id": {
|
|
1380
|
+
"env": "SIMPLY_CICD_CI_RUN_ID",
|
|
1381
|
+
"name": "ci-run-id",
|
|
1382
|
+
"summary": "GitHub only: Actions run ID, used to build links back to the run's artifacts.",
|
|
1483
1383
|
"hasDynamicHelp": false,
|
|
1484
1384
|
"multiple": false,
|
|
1485
1385
|
"type": "option"
|
|
1486
1386
|
},
|
|
1487
|
-
"
|
|
1488
|
-
"
|
|
1489
|
-
"
|
|
1490
|
-
"
|
|
1491
|
-
"
|
|
1387
|
+
"ci-server-url": {
|
|
1388
|
+
"env": "SIMPLY_CICD_CI_SERVER_URL",
|
|
1389
|
+
"name": "ci-server-url",
|
|
1390
|
+
"summary": "GitHub only: server URL, for instances other than github.com.",
|
|
1391
|
+
"hasDynamicHelp": false,
|
|
1392
|
+
"multiple": false,
|
|
1393
|
+
"type": "option"
|
|
1492
1394
|
},
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1495
|
-
"
|
|
1496
|
-
"
|
|
1395
|
+
"ci-commit-sha": {
|
|
1396
|
+
"env": "SIMPLY_CICD_CI_COMMIT_SHA",
|
|
1397
|
+
"name": "ci-commit-sha",
|
|
1398
|
+
"summary": "Commit SHA to attribute the posted diff to.",
|
|
1497
1399
|
"hasDynamicHelp": false,
|
|
1498
1400
|
"multiple": false,
|
|
1499
1401
|
"type": "option"
|
|
1500
1402
|
},
|
|
1501
|
-
"
|
|
1502
|
-
"name": "
|
|
1503
|
-
"
|
|
1403
|
+
"from": {
|
|
1404
|
+
"name": "from",
|
|
1405
|
+
"required": true,
|
|
1406
|
+
"summary": "Base commit SHA to diff from.",
|
|
1407
|
+
"hasDynamicHelp": false,
|
|
1408
|
+
"multiple": false,
|
|
1409
|
+
"type": "option"
|
|
1410
|
+
},
|
|
1411
|
+
"to": {
|
|
1412
|
+
"name": "to",
|
|
1413
|
+
"required": true,
|
|
1414
|
+
"summary": "Head commit SHA to diff to.",
|
|
1415
|
+
"hasDynamicHelp": false,
|
|
1416
|
+
"multiple": false,
|
|
1417
|
+
"type": "option"
|
|
1418
|
+
},
|
|
1419
|
+
"project-access-token": {
|
|
1420
|
+
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
1421
|
+
"name": "project-access-token",
|
|
1422
|
+
"required": true,
|
|
1423
|
+
"summary": "Project access token used to post the diff results back to the merge request.",
|
|
1424
|
+
"hasDynamicHelp": false,
|
|
1425
|
+
"multiple": false,
|
|
1426
|
+
"type": "option"
|
|
1427
|
+
},
|
|
1428
|
+
"out": {
|
|
1429
|
+
"name": "out",
|
|
1430
|
+
"summary": "Output directory or file path for the delta results.",
|
|
1504
1431
|
"hasDynamicHelp": false,
|
|
1505
1432
|
"multiple": false,
|
|
1506
1433
|
"type": "option"
|
|
1434
|
+
},
|
|
1435
|
+
"debug": {
|
|
1436
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
1437
|
+
"name": "debug",
|
|
1438
|
+
"summary": "Enable verbose debug logging.",
|
|
1439
|
+
"allowNo": false,
|
|
1440
|
+
"type": "boolean"
|
|
1441
|
+
},
|
|
1442
|
+
"disabled": {
|
|
1443
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
1444
|
+
"name": "disabled",
|
|
1445
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1446
|
+
"allowNo": false,
|
|
1447
|
+
"type": "boolean"
|
|
1507
1448
|
}
|
|
1508
1449
|
},
|
|
1509
1450
|
"hasDynamicHelp": false,
|
|
1510
1451
|
"hiddenAliases": [],
|
|
1511
|
-
"id": "simply:cicd:build:
|
|
1452
|
+
"id": "simply:cicd:build:generate-flow-diff",
|
|
1512
1453
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1513
1454
|
"pluginName": "@simplysf/simply-cicd",
|
|
1514
1455
|
"pluginType": "core",
|
|
1515
1456
|
"strict": true,
|
|
1516
|
-
"summary": "
|
|
1457
|
+
"summary": "Generate a Flow delta between two commits and post the results to the change request.",
|
|
1517
1458
|
"enableJsonFlag": true,
|
|
1518
1459
|
"isESM": true,
|
|
1519
1460
|
"relativePath": [
|
|
@@ -1522,42 +1463,42 @@
|
|
|
1522
1463
|
"simply",
|
|
1523
1464
|
"cicd",
|
|
1524
1465
|
"build",
|
|
1525
|
-
"
|
|
1466
|
+
"generate-flow-diff.js"
|
|
1526
1467
|
],
|
|
1527
1468
|
"aliasPermutations": [],
|
|
1528
1469
|
"permutations": [
|
|
1529
|
-
"simply:cicd:build:
|
|
1530
|
-
"cicd:simply:build:
|
|
1531
|
-
"cicd:build:simply:
|
|
1532
|
-
"cicd:build:
|
|
1533
|
-
"simply:build:cicd:
|
|
1534
|
-
"build:simply:cicd:
|
|
1535
|
-
"build:cicd:simply:
|
|
1536
|
-
"build:cicd:
|
|
1537
|
-
"simply:build:
|
|
1538
|
-
"build:simply:
|
|
1539
|
-
"build:
|
|
1540
|
-
"build:
|
|
1541
|
-
"simply:cicd:
|
|
1542
|
-
"cicd:simply:
|
|
1543
|
-
"cicd:
|
|
1544
|
-
"cicd:
|
|
1545
|
-
"simply:
|
|
1546
|
-
"
|
|
1547
|
-
"
|
|
1548
|
-
"
|
|
1549
|
-
"simply:
|
|
1550
|
-
"
|
|
1551
|
-
"
|
|
1552
|
-
"
|
|
1470
|
+
"simply:cicd:build:generate-flow-diff",
|
|
1471
|
+
"cicd:simply:build:generate-flow-diff",
|
|
1472
|
+
"cicd:build:simply:generate-flow-diff",
|
|
1473
|
+
"cicd:build:generate-flow-diff:simply",
|
|
1474
|
+
"simply:build:cicd:generate-flow-diff",
|
|
1475
|
+
"build:simply:cicd:generate-flow-diff",
|
|
1476
|
+
"build:cicd:simply:generate-flow-diff",
|
|
1477
|
+
"build:cicd:generate-flow-diff:simply",
|
|
1478
|
+
"simply:build:generate-flow-diff:cicd",
|
|
1479
|
+
"build:simply:generate-flow-diff:cicd",
|
|
1480
|
+
"build:generate-flow-diff:simply:cicd",
|
|
1481
|
+
"build:generate-flow-diff:cicd:simply",
|
|
1482
|
+
"simply:cicd:generate-flow-diff:build",
|
|
1483
|
+
"cicd:simply:generate-flow-diff:build",
|
|
1484
|
+
"cicd:generate-flow-diff:simply:build",
|
|
1485
|
+
"cicd:generate-flow-diff:build:simply",
|
|
1486
|
+
"simply:generate-flow-diff:cicd:build",
|
|
1487
|
+
"generate-flow-diff:simply:cicd:build",
|
|
1488
|
+
"generate-flow-diff:cicd:simply:build",
|
|
1489
|
+
"generate-flow-diff:cicd:build:simply",
|
|
1490
|
+
"simply:generate-flow-diff:build:cicd",
|
|
1491
|
+
"generate-flow-diff:simply:build:cicd",
|
|
1492
|
+
"generate-flow-diff:build:simply:cicd",
|
|
1493
|
+
"generate-flow-diff:build:cicd:simply"
|
|
1553
1494
|
]
|
|
1554
1495
|
},
|
|
1555
|
-
"simply:cicd:build:
|
|
1496
|
+
"simply:cicd:build:install-dependencies": {
|
|
1556
1497
|
"aliases": [],
|
|
1557
1498
|
"args": {},
|
|
1558
|
-
"description": "Reads
|
|
1499
|
+
"description": "Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, and installs its packaged dependencies.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
1559
1500
|
"examples": [
|
|
1560
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1501
|
+
"<%= config.bin %> <%= command.id %> --jwt-key-file ./server.key"
|
|
1561
1502
|
],
|
|
1562
1503
|
"flags": {
|
|
1563
1504
|
"json": {
|
|
@@ -1575,12 +1516,12 @@
|
|
|
1575
1516
|
"multiple": false,
|
|
1576
1517
|
"type": "option"
|
|
1577
1518
|
},
|
|
1578
|
-
"
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1581
|
-
"summary": "
|
|
1519
|
+
"jwt-key-file": {
|
|
1520
|
+
"env": "SIMPLY_CICD_JWT_KEY_FILE",
|
|
1521
|
+
"name": "jwt-key-file",
|
|
1522
|
+
"summary": "Path to the JWT private key file used to re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used instead.",
|
|
1582
1523
|
"hasDynamicHelp": false,
|
|
1583
|
-
"multiple":
|
|
1524
|
+
"multiple": false,
|
|
1584
1525
|
"type": "option"
|
|
1585
1526
|
},
|
|
1586
1527
|
"debug": {
|
|
@@ -1597,30 +1538,42 @@
|
|
|
1597
1538
|
"allowNo": false,
|
|
1598
1539
|
"type": "boolean"
|
|
1599
1540
|
},
|
|
1600
|
-
"
|
|
1601
|
-
"name": "
|
|
1602
|
-
"summary": "
|
|
1541
|
+
"install-type": {
|
|
1542
|
+
"name": "install-type",
|
|
1543
|
+
"summary": "The type of dependency installation to perform.",
|
|
1544
|
+
"default": "Upgrade",
|
|
1603
1545
|
"hasDynamicHelp": false,
|
|
1604
1546
|
"multiple": false,
|
|
1547
|
+
"options": [
|
|
1548
|
+
"All",
|
|
1549
|
+
"Delta",
|
|
1550
|
+
"Upgrade"
|
|
1551
|
+
],
|
|
1605
1552
|
"type": "option"
|
|
1606
1553
|
},
|
|
1607
|
-
"
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1610
|
-
"
|
|
1554
|
+
"upgrade-type": {
|
|
1555
|
+
"description": "For package upgrades, specifies whether to mark all removed components as deprecated (DeprecateOnly), to delete removed components that can be safely deleted and deprecate the others (Mixed), or to delete all removed components, except for custom objects and custom fields, that don't have dependencies (Delete). The default is Mixed. DeprecateOnly and Delete only apply to unlocked package upgrades. Delete is not confirmed first: like every other prompt in a pipeline, it is auto-approved.",
|
|
1556
|
+
"name": "upgrade-type",
|
|
1557
|
+
"summary": "Upgrade type for the dependency installs; available only for unlocked packages.",
|
|
1558
|
+
"default": "Mixed",
|
|
1611
1559
|
"hasDynamicHelp": false,
|
|
1612
1560
|
"multiple": false,
|
|
1561
|
+
"options": [
|
|
1562
|
+
"DeprecateOnly",
|
|
1563
|
+
"Mixed",
|
|
1564
|
+
"Delete"
|
|
1565
|
+
],
|
|
1613
1566
|
"type": "option"
|
|
1614
1567
|
}
|
|
1615
1568
|
},
|
|
1616
1569
|
"hasDynamicHelp": false,
|
|
1617
1570
|
"hiddenAliases": [],
|
|
1618
|
-
"id": "simply:cicd:build:
|
|
1571
|
+
"id": "simply:cicd:build:install-dependencies",
|
|
1619
1572
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1620
1573
|
"pluginName": "@simplysf/simply-cicd",
|
|
1621
1574
|
"pluginType": "core",
|
|
1622
1575
|
"strict": true,
|
|
1623
|
-
"summary": "
|
|
1576
|
+
"summary": "Install packaged dependencies into the scratch org created by `build create-scratch`.",
|
|
1624
1577
|
"enableJsonFlag": true,
|
|
1625
1578
|
"isESM": true,
|
|
1626
1579
|
"relativePath": [
|
|
@@ -1629,42 +1582,43 @@
|
|
|
1629
1582
|
"simply",
|
|
1630
1583
|
"cicd",
|
|
1631
1584
|
"build",
|
|
1632
|
-
"
|
|
1585
|
+
"install-dependencies.js"
|
|
1633
1586
|
],
|
|
1634
1587
|
"aliasPermutations": [],
|
|
1635
1588
|
"permutations": [
|
|
1636
|
-
"simply:cicd:build:
|
|
1637
|
-
"cicd:simply:build:
|
|
1638
|
-
"cicd:build:simply:
|
|
1639
|
-
"cicd:build:
|
|
1640
|
-
"simply:build:cicd:
|
|
1641
|
-
"build:simply:cicd:
|
|
1642
|
-
"build:cicd:simply:
|
|
1643
|
-
"build:cicd:
|
|
1644
|
-
"simply:build:
|
|
1645
|
-
"build:simply:
|
|
1646
|
-
"build:
|
|
1647
|
-
"build:
|
|
1648
|
-
"simply:cicd:
|
|
1649
|
-
"cicd:simply:
|
|
1650
|
-
"cicd:
|
|
1651
|
-
"cicd:
|
|
1652
|
-
"simply:
|
|
1653
|
-
"
|
|
1654
|
-
"
|
|
1655
|
-
"
|
|
1656
|
-
"simply:
|
|
1657
|
-
"
|
|
1658
|
-
"
|
|
1659
|
-
"
|
|
1589
|
+
"simply:cicd:build:install-dependencies",
|
|
1590
|
+
"cicd:simply:build:install-dependencies",
|
|
1591
|
+
"cicd:build:simply:install-dependencies",
|
|
1592
|
+
"cicd:build:install-dependencies:simply",
|
|
1593
|
+
"simply:build:cicd:install-dependencies",
|
|
1594
|
+
"build:simply:cicd:install-dependencies",
|
|
1595
|
+
"build:cicd:simply:install-dependencies",
|
|
1596
|
+
"build:cicd:install-dependencies:simply",
|
|
1597
|
+
"simply:build:install-dependencies:cicd",
|
|
1598
|
+
"build:simply:install-dependencies:cicd",
|
|
1599
|
+
"build:install-dependencies:simply:cicd",
|
|
1600
|
+
"build:install-dependencies:cicd:simply",
|
|
1601
|
+
"simply:cicd:install-dependencies:build",
|
|
1602
|
+
"cicd:simply:install-dependencies:build",
|
|
1603
|
+
"cicd:install-dependencies:simply:build",
|
|
1604
|
+
"cicd:install-dependencies:build:simply",
|
|
1605
|
+
"simply:install-dependencies:cicd:build",
|
|
1606
|
+
"install-dependencies:simply:cicd:build",
|
|
1607
|
+
"install-dependencies:cicd:simply:build",
|
|
1608
|
+
"install-dependencies:cicd:build:simply",
|
|
1609
|
+
"simply:install-dependencies:build:cicd",
|
|
1610
|
+
"install-dependencies:simply:build:cicd",
|
|
1611
|
+
"install-dependencies:build:simply:cicd",
|
|
1612
|
+
"install-dependencies:build:cicd:simply"
|
|
1660
1613
|
]
|
|
1661
1614
|
},
|
|
1662
|
-
"simply:cicd:build:
|
|
1615
|
+
"simply:cicd:build:lwc-jest": {
|
|
1663
1616
|
"aliases": [],
|
|
1664
1617
|
"args": {},
|
|
1665
|
-
"description": "
|
|
1618
|
+
"description": "Installs `@salesforce/sfdx-lwc-jest`, `@sa11y/jest`, and `jest-junit`, then runs `sfdx-lwc-jest --coverage -- --passWithNoTests` with the `jest-junit` reporter added to any reporters the project's own Jest config sets, writing a JUnit report to `./test-results/lwc/test-result.xml` for the pipeline to upload as an artifact. By default failures are logged, not thrown, so they don't fail the pipeline; pass `--lwc-jest-fail-on-test-failure` to make them exit non-zero.",
|
|
1666
1619
|
"examples": [
|
|
1667
|
-
"<%= config.bin %> <%= command.id %>
|
|
1620
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1621
|
+
"Fail the pipeline when a test fails:\n<%= config.bin %> <%= command.id %> --lwc-jest-fail-on-test-failure"
|
|
1668
1622
|
],
|
|
1669
1623
|
"flags": {
|
|
1670
1624
|
"json": {
|
|
@@ -1682,22 +1636,6 @@
|
|
|
1682
1636
|
"multiple": false,
|
|
1683
1637
|
"type": "option"
|
|
1684
1638
|
},
|
|
1685
|
-
"dev-hub": {
|
|
1686
|
-
"name": "dev-hub",
|
|
1687
|
-
"required": true,
|
|
1688
|
-
"summary": "Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev Hub to try, in order.",
|
|
1689
|
-
"hasDynamicHelp": false,
|
|
1690
|
-
"multiple": false,
|
|
1691
|
-
"type": "option"
|
|
1692
|
-
},
|
|
1693
|
-
"jwt-key-file": {
|
|
1694
|
-
"env": "SIMPLY_CICD_JWT_KEY_FILE",
|
|
1695
|
-
"name": "jwt-key-file",
|
|
1696
|
-
"summary": "Path to the JWT private key file used to re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used instead.",
|
|
1697
|
-
"hasDynamicHelp": false,
|
|
1698
|
-
"multiple": false,
|
|
1699
|
-
"type": "option"
|
|
1700
|
-
},
|
|
1701
1639
|
"debug": {
|
|
1702
1640
|
"env": "SIMPLY_CICD_DEBUG",
|
|
1703
1641
|
"name": "debug",
|
|
@@ -1711,16 +1649,23 @@
|
|
|
1711
1649
|
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1712
1650
|
"allowNo": false,
|
|
1713
1651
|
"type": "boolean"
|
|
1652
|
+
},
|
|
1653
|
+
"lwc-jest-fail-on-test-failure": {
|
|
1654
|
+
"env": "SIMPLY_CICD_LWC_JEST_FAIL_ON_TEST_FAILURE",
|
|
1655
|
+
"name": "lwc-jest-fail-on-test-failure",
|
|
1656
|
+
"summary": "Exit non-zero when the LWC Jest tests (or their install) fail, failing the pipeline. By default failures are only logged.",
|
|
1657
|
+
"allowNo": false,
|
|
1658
|
+
"type": "boolean"
|
|
1714
1659
|
}
|
|
1715
1660
|
},
|
|
1716
1661
|
"hasDynamicHelp": false,
|
|
1717
1662
|
"hiddenAliases": [],
|
|
1718
|
-
"id": "simply:cicd:build:
|
|
1663
|
+
"id": "simply:cicd:build:lwc-jest",
|
|
1719
1664
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1720
1665
|
"pluginName": "@simplysf/simply-cicd",
|
|
1721
1666
|
"pluginType": "core",
|
|
1722
1667
|
"strict": true,
|
|
1723
|
-
"summary": "
|
|
1668
|
+
"summary": "Install the LWC Jest test libraries and run the project's LWC Jest tests with coverage.",
|
|
1724
1669
|
"enableJsonFlag": true,
|
|
1725
1670
|
"isESM": true,
|
|
1726
1671
|
"relativePath": [
|
|
@@ -1729,42 +1674,44 @@
|
|
|
1729
1674
|
"simply",
|
|
1730
1675
|
"cicd",
|
|
1731
1676
|
"build",
|
|
1732
|
-
"
|
|
1677
|
+
"lwc-jest.js"
|
|
1733
1678
|
],
|
|
1734
1679
|
"aliasPermutations": [],
|
|
1735
1680
|
"permutations": [
|
|
1736
|
-
"simply:cicd:build:
|
|
1737
|
-
"cicd:simply:build:
|
|
1738
|
-
"cicd:build:simply:
|
|
1739
|
-
"cicd:build:
|
|
1740
|
-
"simply:build:cicd:
|
|
1741
|
-
"build:simply:cicd:
|
|
1742
|
-
"build:cicd:simply:
|
|
1743
|
-
"build:cicd:
|
|
1744
|
-
"simply:build:
|
|
1745
|
-
"build:simply:
|
|
1746
|
-
"build:
|
|
1747
|
-
"build:
|
|
1748
|
-
"simply:cicd:
|
|
1749
|
-
"cicd:simply:
|
|
1750
|
-
"cicd:
|
|
1751
|
-
"cicd:
|
|
1752
|
-
"simply:
|
|
1753
|
-
"
|
|
1754
|
-
"
|
|
1755
|
-
"
|
|
1756
|
-
"simply:
|
|
1757
|
-
"
|
|
1758
|
-
"
|
|
1759
|
-
"
|
|
1681
|
+
"simply:cicd:build:lwc-jest",
|
|
1682
|
+
"cicd:simply:build:lwc-jest",
|
|
1683
|
+
"cicd:build:simply:lwc-jest",
|
|
1684
|
+
"cicd:build:lwc-jest:simply",
|
|
1685
|
+
"simply:build:cicd:lwc-jest",
|
|
1686
|
+
"build:simply:cicd:lwc-jest",
|
|
1687
|
+
"build:cicd:simply:lwc-jest",
|
|
1688
|
+
"build:cicd:lwc-jest:simply",
|
|
1689
|
+
"simply:build:lwc-jest:cicd",
|
|
1690
|
+
"build:simply:lwc-jest:cicd",
|
|
1691
|
+
"build:lwc-jest:simply:cicd",
|
|
1692
|
+
"build:lwc-jest:cicd:simply",
|
|
1693
|
+
"simply:cicd:lwc-jest:build",
|
|
1694
|
+
"cicd:simply:lwc-jest:build",
|
|
1695
|
+
"cicd:lwc-jest:simply:build",
|
|
1696
|
+
"cicd:lwc-jest:build:simply",
|
|
1697
|
+
"simply:lwc-jest:cicd:build",
|
|
1698
|
+
"lwc-jest:simply:cicd:build",
|
|
1699
|
+
"lwc-jest:cicd:simply:build",
|
|
1700
|
+
"lwc-jest:cicd:build:simply",
|
|
1701
|
+
"simply:lwc-jest:build:cicd",
|
|
1702
|
+
"lwc-jest:simply:build:cicd",
|
|
1703
|
+
"lwc-jest:build:simply:cicd",
|
|
1704
|
+
"lwc-jest:build:cicd:simply"
|
|
1760
1705
|
]
|
|
1761
1706
|
},
|
|
1762
|
-
"simply:cicd:build:
|
|
1707
|
+
"simply:cicd:build:publish-utam-page-objects": {
|
|
1763
1708
|
"aliases": [],
|
|
1764
1709
|
"args": {},
|
|
1765
|
-
"description": "
|
|
1710
|
+
"description": "Gives every Salesforce Unlocked Package version a matching npm package of compiled UTAM page objects, so a UI-test suite can install exactly the page objects that describe the package version it is testing against.\n\nRuns after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It compiles every `**/__utam__/**/*.utam.json` under the default package directory with the UTAM compiler, in a staging directory outside the repo, and publishes the result.\n\nThe npm version is derived from the Salesforce version number the same way `sfdx-project.json` writes a dependency pin: `1.2.3.4` becomes `1.2.3-4`, with the git tag's suffix carried as a second prerelease identifier and as the dist-tag, so `1.2.3.4` built from a `beta` package branch is `1.2.3-4.beta` at `beta`, and a release build is `1.2.3-4` at `latest`.\n\nThe compiler is installed at run time rather than shipped with this plugin, so nothing is downloaded unless the command actually runs.\n\nSkips (without failing) when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job: a missing page-object package would silently break every UI test pinned to that version.\n\nOn success, appends `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION` to `--out`, so a downstream job can install the package without knowing the mapping rule.\n\nConfigure the package name, the compiler's type aliases, extra peer dependencies, and a project-owned compiler config under `plugins.simply.utam` in `sfdx-project.json`.",
|
|
1766
1711
|
"examples": [
|
|
1767
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1712
|
+
"Publish page objects for the version this pipeline just created, reading its ID from the dotenv file:\n<%= config.bin %> <%= command.id %> --packaging-devhub my-packaging-devhub",
|
|
1713
|
+
"Publish to a GitLab project registry on a release-branch build:\n<%= config.bin %> <%= command.id %> --packaging-devhub my-packaging-devhub --ci-commit-ref-name release/1.2 --package-release-branch-prefix release/ --npm-registry https://gitlab.example.com/api/v4/projects/42/packages/npm/ --npm-token $CI_JOB_TOKEN",
|
|
1714
|
+
"Compile and pack without publishing, to inspect what would be produced:\n<%= config.bin %> <%= command.id %> --packaging-devhub my-packaging-devhub --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --dry-run"
|
|
1768
1715
|
],
|
|
1769
1716
|
"flags": {
|
|
1770
1717
|
"json": {
|
|
@@ -1796,10 +1743,107 @@
|
|
|
1796
1743
|
"allowNo": false,
|
|
1797
1744
|
"type": "boolean"
|
|
1798
1745
|
},
|
|
1746
|
+
"packaging-devhub": {
|
|
1747
|
+
"env": "SIMPLY_CICD_PACKAGING_DEVHUB",
|
|
1748
|
+
"name": "packaging-devhub",
|
|
1749
|
+
"required": true,
|
|
1750
|
+
"summary": "Alias of the Dev Hub that owns the package version. Must already be authenticated.",
|
|
1751
|
+
"hasDynamicHelp": false,
|
|
1752
|
+
"multiple": false,
|
|
1753
|
+
"type": "option"
|
|
1754
|
+
},
|
|
1755
|
+
"subscriber-package-version-id": {
|
|
1756
|
+
"name": "subscriber-package-version-id",
|
|
1757
|
+
"summary": "Subscriber package version ID (04t) to publish page objects for. Falls back to SUBSCRIBER_PACKAGE_VERSION_ID in the environment, then to the same key in --env-file.",
|
|
1758
|
+
"hasDynamicHelp": false,
|
|
1759
|
+
"multiple": false,
|
|
1760
|
+
"type": "option"
|
|
1761
|
+
},
|
|
1762
|
+
"npm-package-name": {
|
|
1763
|
+
"env": "SIMPLY_CICD_NPM_PACKAGE_NAME",
|
|
1764
|
+
"name": "npm-package-name",
|
|
1765
|
+
"summary": "npm package name to publish the page objects under. Required unless `plugins.simply.utam.packageName` is set in sfdx-project.json; the flag wins when both are present.",
|
|
1766
|
+
"hasDynamicHelp": false,
|
|
1767
|
+
"multiple": false,
|
|
1768
|
+
"type": "option"
|
|
1769
|
+
},
|
|
1770
|
+
"npm-registry": {
|
|
1771
|
+
"env": "SIMPLY_CICD_NPM_REGISTRY",
|
|
1772
|
+
"name": "npm-registry",
|
|
1773
|
+
"summary": "Registry to publish to. Defaults to whatever npm itself is configured to use.",
|
|
1774
|
+
"hasDynamicHelp": false,
|
|
1775
|
+
"multiple": false,
|
|
1776
|
+
"type": "option"
|
|
1777
|
+
},
|
|
1778
|
+
"npm-token": {
|
|
1779
|
+
"env": "SIMPLY_CICD_NPM_TOKEN",
|
|
1780
|
+
"name": "npm-token",
|
|
1781
|
+
"summary": "Auth token for the registry. Written to an .npmrc inside the staging directory only — the repo's own .npmrc is never touched.",
|
|
1782
|
+
"hasDynamicHelp": false,
|
|
1783
|
+
"multiple": false,
|
|
1784
|
+
"type": "option"
|
|
1785
|
+
},
|
|
1786
|
+
"npm-access": {
|
|
1787
|
+
"env": "SIMPLY_CICD_NPM_ACCESS",
|
|
1788
|
+
"name": "npm-access",
|
|
1789
|
+
"summary": "Passed through to npm publish --access. Needed on npmjs.com to publish a scoped package publicly.",
|
|
1790
|
+
"hasDynamicHelp": false,
|
|
1791
|
+
"multiple": false,
|
|
1792
|
+
"options": [
|
|
1793
|
+
"public",
|
|
1794
|
+
"restricted"
|
|
1795
|
+
],
|
|
1796
|
+
"type": "option"
|
|
1797
|
+
},
|
|
1798
|
+
"npm-dist-tag": {
|
|
1799
|
+
"name": "npm-dist-tag",
|
|
1800
|
+
"summary": "Dist-tag to publish under, overriding the one derived from the git tag's suffix.",
|
|
1801
|
+
"hasDynamicHelp": false,
|
|
1802
|
+
"multiple": false,
|
|
1803
|
+
"type": "option"
|
|
1804
|
+
},
|
|
1805
|
+
"ci-commit-ref-name": {
|
|
1806
|
+
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
1807
|
+
"name": "ci-commit-ref-name",
|
|
1808
|
+
"summary": "Git branch or ref name being built. With --package-release-branch-prefix, reproduces the suffix `create-package-version` put on the git tag, so the npm version mirrors it.",
|
|
1809
|
+
"hasDynamicHelp": false,
|
|
1810
|
+
"multiple": false,
|
|
1811
|
+
"type": "option"
|
|
1812
|
+
},
|
|
1813
|
+
"package-release-branch-prefix": {
|
|
1814
|
+
"name": "package-release-branch-prefix",
|
|
1815
|
+
"summary": "Prefix identifying release branches. Determines whether the npm version and dist-tag carry a branch suffix.",
|
|
1816
|
+
"hasDynamicHelp": false,
|
|
1817
|
+
"multiple": false,
|
|
1818
|
+
"type": "option"
|
|
1819
|
+
},
|
|
1820
|
+
"utam-version": {
|
|
1821
|
+
"env": "SIMPLY_CICD_UTAM_VERSION",
|
|
1822
|
+
"name": "utam-version",
|
|
1823
|
+
"summary": "npm version spec of the UTAM compiler to install and compile with.",
|
|
1824
|
+
"default": "^3",
|
|
1825
|
+
"hasDynamicHelp": false,
|
|
1826
|
+
"multiple": false,
|
|
1827
|
+
"type": "option"
|
|
1828
|
+
},
|
|
1829
|
+
"dry-run": {
|
|
1830
|
+
"name": "dry-run",
|
|
1831
|
+
"summary": "Compile and pack the package without publishing it, copying the tarball into the project directory.",
|
|
1832
|
+
"allowNo": false,
|
|
1833
|
+
"type": "boolean"
|
|
1834
|
+
},
|
|
1799
1835
|
"out": {
|
|
1800
1836
|
"name": "out",
|
|
1801
|
-
"summary": "
|
|
1802
|
-
"default": "
|
|
1837
|
+
"summary": "Dotenv file to append the published package name and version to.",
|
|
1838
|
+
"default": "subscriberPackageVersionId.env",
|
|
1839
|
+
"hasDynamicHelp": false,
|
|
1840
|
+
"multiple": false,
|
|
1841
|
+
"type": "option"
|
|
1842
|
+
},
|
|
1843
|
+
"env-file": {
|
|
1844
|
+
"name": "env-file",
|
|
1845
|
+
"summary": "Dotenv file to read SUBSCRIBER_PACKAGE_VERSION_ID from when it isn't passed as a flag or set in the environment.",
|
|
1846
|
+
"default": "subscriberPackageVersionId.env",
|
|
1803
1847
|
"hasDynamicHelp": false,
|
|
1804
1848
|
"multiple": false,
|
|
1805
1849
|
"type": "option"
|
|
@@ -1807,12 +1851,12 @@
|
|
|
1807
1851
|
},
|
|
1808
1852
|
"hasDynamicHelp": false,
|
|
1809
1853
|
"hiddenAliases": [],
|
|
1810
|
-
"id": "simply:cicd:build:
|
|
1854
|
+
"id": "simply:cicd:build:publish-utam-page-objects",
|
|
1811
1855
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
1812
1856
|
"pluginName": "@simplysf/simply-cicd",
|
|
1813
1857
|
"pluginType": "core",
|
|
1814
1858
|
"strict": true,
|
|
1815
|
-
"summary": "
|
|
1859
|
+
"summary": "Compile the project's UTAM page objects for a package version and publish them to an npm registry.",
|
|
1816
1860
|
"enableJsonFlag": true,
|
|
1817
1861
|
"isESM": true,
|
|
1818
1862
|
"relativePath": [
|
|
@@ -1821,43 +1865,42 @@
|
|
|
1821
1865
|
"simply",
|
|
1822
1866
|
"cicd",
|
|
1823
1867
|
"build",
|
|
1824
|
-
"
|
|
1868
|
+
"publish-utam-page-objects.js"
|
|
1825
1869
|
],
|
|
1826
1870
|
"aliasPermutations": [],
|
|
1827
1871
|
"permutations": [
|
|
1828
|
-
"simply:cicd:build:
|
|
1829
|
-
"cicd:simply:build:
|
|
1830
|
-
"cicd:build:simply:
|
|
1831
|
-
"cicd:build:
|
|
1832
|
-
"simply:build:cicd:
|
|
1833
|
-
"build:simply:cicd:
|
|
1834
|
-
"build:cicd:simply:
|
|
1835
|
-
"build:cicd:
|
|
1836
|
-
"simply:build:
|
|
1837
|
-
"build:simply:
|
|
1838
|
-
"build:
|
|
1839
|
-
"build:
|
|
1840
|
-
"simply:cicd:
|
|
1841
|
-
"cicd:simply:
|
|
1842
|
-
"cicd:
|
|
1843
|
-
"cicd:
|
|
1844
|
-
"simply:
|
|
1845
|
-
"
|
|
1846
|
-
"
|
|
1847
|
-
"
|
|
1848
|
-
"simply:
|
|
1849
|
-
"
|
|
1850
|
-
"
|
|
1851
|
-
"
|
|
1872
|
+
"simply:cicd:build:publish-utam-page-objects",
|
|
1873
|
+
"cicd:simply:build:publish-utam-page-objects",
|
|
1874
|
+
"cicd:build:simply:publish-utam-page-objects",
|
|
1875
|
+
"cicd:build:publish-utam-page-objects:simply",
|
|
1876
|
+
"simply:build:cicd:publish-utam-page-objects",
|
|
1877
|
+
"build:simply:cicd:publish-utam-page-objects",
|
|
1878
|
+
"build:cicd:simply:publish-utam-page-objects",
|
|
1879
|
+
"build:cicd:publish-utam-page-objects:simply",
|
|
1880
|
+
"simply:build:publish-utam-page-objects:cicd",
|
|
1881
|
+
"build:simply:publish-utam-page-objects:cicd",
|
|
1882
|
+
"build:publish-utam-page-objects:simply:cicd",
|
|
1883
|
+
"build:publish-utam-page-objects:cicd:simply",
|
|
1884
|
+
"simply:cicd:publish-utam-page-objects:build",
|
|
1885
|
+
"cicd:simply:publish-utam-page-objects:build",
|
|
1886
|
+
"cicd:publish-utam-page-objects:simply:build",
|
|
1887
|
+
"cicd:publish-utam-page-objects:build:simply",
|
|
1888
|
+
"simply:publish-utam-page-objects:cicd:build",
|
|
1889
|
+
"publish-utam-page-objects:simply:cicd:build",
|
|
1890
|
+
"publish-utam-page-objects:cicd:simply:build",
|
|
1891
|
+
"publish-utam-page-objects:cicd:build:simply",
|
|
1892
|
+
"simply:publish-utam-page-objects:build:cicd",
|
|
1893
|
+
"publish-utam-page-objects:simply:build:cicd",
|
|
1894
|
+
"publish-utam-page-objects:build:simply:cicd",
|
|
1895
|
+
"publish-utam-page-objects:build:cicd:simply"
|
|
1852
1896
|
]
|
|
1853
1897
|
},
|
|
1854
|
-
"simply:cicd:build:
|
|
1898
|
+
"simply:cicd:build:push-scratch": {
|
|
1855
1899
|
"aliases": [],
|
|
1856
1900
|
"args": {},
|
|
1857
|
-
"description": "
|
|
1901
|
+
"description": "Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, strips metadata types the scratch org push doesn't support (Einstein Conversation Agent file types), and runs `sf project deploy start`. When `--scratch-org-source-dir` is given, also deploys the default package directory's `seedMetadata.path`, if declared in `sfdx-project.json`.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
1858
1902
|
"examples": [
|
|
1859
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1860
|
-
"<%= config.bin %> <%= command.id %> --vcs-provider github --ci-repository my-org/my-repo --ci-pull-request-number 45 --ci-run-id 987 --from abc123 --to def456 --project-access-token ghp-..."
|
|
1903
|
+
"<%= config.bin %> <%= command.id %> --jwt-key-file ./server.key"
|
|
1861
1904
|
],
|
|
1862
1905
|
"flags": {
|
|
1863
1906
|
"json": {
|
|
@@ -1875,111 +1918,115 @@
|
|
|
1875
1918
|
"multiple": false,
|
|
1876
1919
|
"type": "option"
|
|
1877
1920
|
},
|
|
1878
|
-
"
|
|
1879
|
-
"env": "
|
|
1880
|
-
"name": "
|
|
1881
|
-
"summary": "
|
|
1921
|
+
"jwt-key-file": {
|
|
1922
|
+
"env": "SIMPLY_CICD_JWT_KEY_FILE",
|
|
1923
|
+
"name": "jwt-key-file",
|
|
1924
|
+
"summary": "Path to the JWT private key file used to re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used instead.",
|
|
1882
1925
|
"hasDynamicHelp": false,
|
|
1883
1926
|
"multiple": false,
|
|
1884
1927
|
"type": "option"
|
|
1885
1928
|
},
|
|
1886
|
-
"
|
|
1887
|
-
"env": "
|
|
1888
|
-
"name": "
|
|
1889
|
-
"summary": "
|
|
1890
|
-
"
|
|
1891
|
-
"
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
"
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
"name": "
|
|
1902
|
-
"summary": "
|
|
1903
|
-
"
|
|
1904
|
-
"
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
"
|
|
1909
|
-
"name": "ci-merge-request-iid",
|
|
1910
|
-
"summary": "GitLab only: internal ID of the merge request to post the diff to.",
|
|
1911
|
-
"hasDynamicHelp": false,
|
|
1912
|
-
"multiple": false,
|
|
1913
|
-
"type": "option"
|
|
1914
|
-
},
|
|
1915
|
-
"ci-repository": {
|
|
1916
|
-
"env": "SIMPLY_CICD_CI_REPOSITORY",
|
|
1917
|
-
"name": "ci-repository",
|
|
1918
|
-
"summary": "GitHub only: repository to post the diff to, as owner/repo.",
|
|
1919
|
-
"hasDynamicHelp": false,
|
|
1920
|
-
"multiple": false,
|
|
1921
|
-
"type": "option"
|
|
1922
|
-
},
|
|
1923
|
-
"ci-pull-request-number": {
|
|
1924
|
-
"env": "SIMPLY_CICD_CI_PULL_REQUEST_NUMBER",
|
|
1925
|
-
"name": "ci-pull-request-number",
|
|
1926
|
-
"summary": "GitHub only: number of the pull request to post the diff to.",
|
|
1927
|
-
"hasDynamicHelp": false,
|
|
1928
|
-
"multiple": false,
|
|
1929
|
-
"type": "option"
|
|
1930
|
-
},
|
|
1931
|
-
"ci-run-id": {
|
|
1932
|
-
"env": "SIMPLY_CICD_CI_RUN_ID",
|
|
1933
|
-
"name": "ci-run-id",
|
|
1934
|
-
"summary": "GitHub only: Actions run ID, used to build links back to the run's artifacts.",
|
|
1935
|
-
"hasDynamicHelp": false,
|
|
1936
|
-
"multiple": false,
|
|
1937
|
-
"type": "option"
|
|
1938
|
-
},
|
|
1939
|
-
"ci-server-url": {
|
|
1940
|
-
"env": "SIMPLY_CICD_CI_SERVER_URL",
|
|
1941
|
-
"name": "ci-server-url",
|
|
1942
|
-
"summary": "GitHub only: server URL, for instances other than github.com.",
|
|
1943
|
-
"hasDynamicHelp": false,
|
|
1944
|
-
"multiple": false,
|
|
1945
|
-
"type": "option"
|
|
1946
|
-
},
|
|
1947
|
-
"ci-commit-sha": {
|
|
1948
|
-
"env": "SIMPLY_CICD_CI_COMMIT_SHA",
|
|
1949
|
-
"name": "ci-commit-sha",
|
|
1950
|
-
"summary": "Commit SHA to attribute the posted diff to.",
|
|
1951
|
-
"hasDynamicHelp": false,
|
|
1952
|
-
"multiple": false,
|
|
1953
|
-
"type": "option"
|
|
1954
|
-
},
|
|
1955
|
-
"from": {
|
|
1956
|
-
"name": "from",
|
|
1957
|
-
"required": true,
|
|
1958
|
-
"summary": "Base commit SHA to diff from.",
|
|
1959
|
-
"hasDynamicHelp": false,
|
|
1960
|
-
"multiple": false,
|
|
1961
|
-
"type": "option"
|
|
1962
|
-
},
|
|
1963
|
-
"to": {
|
|
1964
|
-
"name": "to",
|
|
1965
|
-
"required": true,
|
|
1966
|
-
"summary": "Head commit SHA to diff to.",
|
|
1929
|
+
"debug": {
|
|
1930
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
1931
|
+
"name": "debug",
|
|
1932
|
+
"summary": "Enable verbose debug logging.",
|
|
1933
|
+
"allowNo": false,
|
|
1934
|
+
"type": "boolean"
|
|
1935
|
+
},
|
|
1936
|
+
"disabled": {
|
|
1937
|
+
"env": "SIMPLY_CICD_DISABLED",
|
|
1938
|
+
"name": "disabled",
|
|
1939
|
+
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1940
|
+
"allowNo": false,
|
|
1941
|
+
"type": "boolean"
|
|
1942
|
+
},
|
|
1943
|
+
"ignore-warnings": {
|
|
1944
|
+
"name": "ignore-warnings",
|
|
1945
|
+
"summary": "Append --ignore-warnings to the underlying sf project deploy start call.",
|
|
1946
|
+
"allowNo": false,
|
|
1947
|
+
"type": "boolean"
|
|
1948
|
+
},
|
|
1949
|
+
"scratch-org-source-dir": {
|
|
1950
|
+
"name": "scratch-org-source-dir",
|
|
1951
|
+
"summary": "Source directory to push to the scratch org, in addition to the default package directory.",
|
|
1967
1952
|
"hasDynamicHelp": false,
|
|
1968
1953
|
"multiple": false,
|
|
1969
1954
|
"type": "option"
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
"hasDynamicHelp": false,
|
|
1958
|
+
"hiddenAliases": [],
|
|
1959
|
+
"id": "simply:cicd:build:push-scratch",
|
|
1960
|
+
"pluginAlias": "@simplysf/simply-cicd",
|
|
1961
|
+
"pluginName": "@simplysf/simply-cicd",
|
|
1962
|
+
"pluginType": "core",
|
|
1963
|
+
"strict": true,
|
|
1964
|
+
"summary": "Push source to the scratch org created by `build create-scratch`.",
|
|
1965
|
+
"enableJsonFlag": true,
|
|
1966
|
+
"isESM": true,
|
|
1967
|
+
"relativePath": [
|
|
1968
|
+
"lib",
|
|
1969
|
+
"commands",
|
|
1970
|
+
"simply",
|
|
1971
|
+
"cicd",
|
|
1972
|
+
"build",
|
|
1973
|
+
"push-scratch.js"
|
|
1974
|
+
],
|
|
1975
|
+
"aliasPermutations": [],
|
|
1976
|
+
"permutations": [
|
|
1977
|
+
"simply:cicd:build:push-scratch",
|
|
1978
|
+
"cicd:simply:build:push-scratch",
|
|
1979
|
+
"cicd:build:simply:push-scratch",
|
|
1980
|
+
"cicd:build:push-scratch:simply",
|
|
1981
|
+
"simply:build:cicd:push-scratch",
|
|
1982
|
+
"build:simply:cicd:push-scratch",
|
|
1983
|
+
"build:cicd:simply:push-scratch",
|
|
1984
|
+
"build:cicd:push-scratch:simply",
|
|
1985
|
+
"simply:build:push-scratch:cicd",
|
|
1986
|
+
"build:simply:push-scratch:cicd",
|
|
1987
|
+
"build:push-scratch:simply:cicd",
|
|
1988
|
+
"build:push-scratch:cicd:simply",
|
|
1989
|
+
"simply:cicd:push-scratch:build",
|
|
1990
|
+
"cicd:simply:push-scratch:build",
|
|
1991
|
+
"cicd:push-scratch:simply:build",
|
|
1992
|
+
"cicd:push-scratch:build:simply",
|
|
1993
|
+
"simply:push-scratch:cicd:build",
|
|
1994
|
+
"push-scratch:simply:cicd:build",
|
|
1995
|
+
"push-scratch:cicd:simply:build",
|
|
1996
|
+
"push-scratch:cicd:build:simply",
|
|
1997
|
+
"simply:push-scratch:build:cicd",
|
|
1998
|
+
"push-scratch:simply:build:cicd",
|
|
1999
|
+
"push-scratch:build:simply:cicd",
|
|
2000
|
+
"push-scratch:build:cicd:simply"
|
|
2001
|
+
]
|
|
2002
|
+
},
|
|
2003
|
+
"simply:cicd:build:test-scratch": {
|
|
2004
|
+
"aliases": [],
|
|
2005
|
+
"args": {},
|
|
2006
|
+
"description": "Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, and runs its Apex tests with `RunLocalTests`.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
2007
|
+
"examples": [
|
|
2008
|
+
"<%= config.bin %> <%= command.id %> --jwt-key-file ./server.key"
|
|
2009
|
+
],
|
|
2010
|
+
"flags": {
|
|
2011
|
+
"json": {
|
|
2012
|
+
"description": "Format output as json.",
|
|
2013
|
+
"helpGroup": "GLOBAL",
|
|
2014
|
+
"name": "json",
|
|
2015
|
+
"allowNo": false,
|
|
2016
|
+
"type": "boolean"
|
|
1970
2017
|
},
|
|
1971
|
-
"
|
|
1972
|
-
"
|
|
1973
|
-
"name": "
|
|
1974
|
-
"
|
|
1975
|
-
"summary": "Project access token used to post the diff results back to the merge request.",
|
|
2018
|
+
"flags-dir": {
|
|
2019
|
+
"helpGroup": "GLOBAL",
|
|
2020
|
+
"name": "flags-dir",
|
|
2021
|
+
"summary": "Import flag values from a directory.",
|
|
1976
2022
|
"hasDynamicHelp": false,
|
|
1977
2023
|
"multiple": false,
|
|
1978
2024
|
"type": "option"
|
|
1979
2025
|
},
|
|
1980
|
-
"
|
|
1981
|
-
"
|
|
1982
|
-
"
|
|
2026
|
+
"jwt-key-file": {
|
|
2027
|
+
"env": "SIMPLY_CICD_JWT_KEY_FILE",
|
|
2028
|
+
"name": "jwt-key-file",
|
|
2029
|
+
"summary": "Path to the JWT private key file used to re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used instead.",
|
|
1983
2030
|
"hasDynamicHelp": false,
|
|
1984
2031
|
"multiple": false,
|
|
1985
2032
|
"type": "option"
|
|
@@ -1997,16 +2044,22 @@
|
|
|
1997
2044
|
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
1998
2045
|
"allowNo": false,
|
|
1999
2046
|
"type": "boolean"
|
|
2047
|
+
},
|
|
2048
|
+
"disable-apex-tests": {
|
|
2049
|
+
"name": "disable-apex-tests",
|
|
2050
|
+
"summary": "Skip running Apex tests, without skipping the rest of the job.",
|
|
2051
|
+
"allowNo": false,
|
|
2052
|
+
"type": "boolean"
|
|
2000
2053
|
}
|
|
2001
2054
|
},
|
|
2002
2055
|
"hasDynamicHelp": false,
|
|
2003
2056
|
"hiddenAliases": [],
|
|
2004
|
-
"id": "simply:cicd:build:
|
|
2057
|
+
"id": "simply:cicd:build:test-scratch",
|
|
2005
2058
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
2006
2059
|
"pluginName": "@simplysf/simply-cicd",
|
|
2007
2060
|
"pluginType": "core",
|
|
2008
2061
|
"strict": true,
|
|
2009
|
-
"summary": "
|
|
2062
|
+
"summary": "Run Apex tests against the scratch org created by `build create-scratch`.",
|
|
2010
2063
|
"enableJsonFlag": true,
|
|
2011
2064
|
"isESM": true,
|
|
2012
2065
|
"relativePath": [
|
|
@@ -2015,43 +2068,43 @@
|
|
|
2015
2068
|
"simply",
|
|
2016
2069
|
"cicd",
|
|
2017
2070
|
"build",
|
|
2018
|
-
"
|
|
2071
|
+
"test-scratch.js"
|
|
2019
2072
|
],
|
|
2020
2073
|
"aliasPermutations": [],
|
|
2021
2074
|
"permutations": [
|
|
2022
|
-
"simply:cicd:build:
|
|
2023
|
-
"cicd:simply:build:
|
|
2024
|
-
"cicd:build:simply:
|
|
2025
|
-
"cicd:build:
|
|
2026
|
-
"simply:build:cicd:
|
|
2027
|
-
"build:simply:cicd:
|
|
2028
|
-
"build:cicd:simply:
|
|
2029
|
-
"build:cicd:
|
|
2030
|
-
"simply:build:
|
|
2031
|
-
"build:simply:
|
|
2032
|
-
"build:
|
|
2033
|
-
"build:
|
|
2034
|
-
"simply:cicd:
|
|
2035
|
-
"cicd:simply:
|
|
2036
|
-
"cicd:
|
|
2037
|
-
"cicd:
|
|
2038
|
-
"simply:
|
|
2039
|
-
"
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2042
|
-
"simply:
|
|
2043
|
-
"
|
|
2044
|
-
"
|
|
2045
|
-
"
|
|
2075
|
+
"simply:cicd:build:test-scratch",
|
|
2076
|
+
"cicd:simply:build:test-scratch",
|
|
2077
|
+
"cicd:build:simply:test-scratch",
|
|
2078
|
+
"cicd:build:test-scratch:simply",
|
|
2079
|
+
"simply:build:cicd:test-scratch",
|
|
2080
|
+
"build:simply:cicd:test-scratch",
|
|
2081
|
+
"build:cicd:simply:test-scratch",
|
|
2082
|
+
"build:cicd:test-scratch:simply",
|
|
2083
|
+
"simply:build:test-scratch:cicd",
|
|
2084
|
+
"build:simply:test-scratch:cicd",
|
|
2085
|
+
"build:test-scratch:simply:cicd",
|
|
2086
|
+
"build:test-scratch:cicd:simply",
|
|
2087
|
+
"simply:cicd:test-scratch:build",
|
|
2088
|
+
"cicd:simply:test-scratch:build",
|
|
2089
|
+
"cicd:test-scratch:simply:build",
|
|
2090
|
+
"cicd:test-scratch:build:simply",
|
|
2091
|
+
"simply:test-scratch:cicd:build",
|
|
2092
|
+
"test-scratch:simply:cicd:build",
|
|
2093
|
+
"test-scratch:cicd:simply:build",
|
|
2094
|
+
"test-scratch:cicd:build:simply",
|
|
2095
|
+
"simply:test-scratch:build:cicd",
|
|
2096
|
+
"test-scratch:simply:build:cicd",
|
|
2097
|
+
"test-scratch:build:simply:cicd",
|
|
2098
|
+
"test-scratch:build:cicd:simply"
|
|
2046
2099
|
]
|
|
2047
2100
|
},
|
|
2048
|
-
"simply:cicd:build
|
|
2101
|
+
"simply:cicd:notify:build": {
|
|
2049
2102
|
"aliases": [],
|
|
2050
2103
|
"args": {},
|
|
2051
|
-
"description": "
|
|
2104
|
+
"description": "Run in every build job's `after_script`. Which card it posts depends on `--ci-job-status`:\n\n- `failed`: a failure card with the job, stage, branch, and pipeline, whichever build job failed.\n- `success`: a package version card, but only when the job created a package version. The card shows the new version tag, its `04t` ID, and the issue references in the commits since the previous version tag. Every other successful job sends nothing.\n- Anything else (e.g. `canceled`): nothing.\n\nThe `04t` ID comes from `--subscriber-package-version-id`, or else from the `subscriberPackageVersionId.env` file that `build create-package-version` writes to the working directory. The new version's tag is the tag at `HEAD` annotated with that ID. The previous version's tag is the nearest earlier tag in the project's version tag format (`plugins.simply.versionTagFormat` or `SIMPLY_CICD_VERSION_TAG_FORMAT`). The command fetches tags, and the full history when the clone is shallow. If a tag or the history can't be found, the card shows `N/A` instead of failing the job.",
|
|
2052
2105
|
"examples": [
|
|
2053
|
-
"<%= config.bin %> <%= command.id %> --ci-
|
|
2054
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2106
|
+
"Post a card from a build job's after_script; it only sends one when the job failed or created a package version:\n<%= config.bin %> <%= command.id %> --ci-job-name push-scratch --ci-job-status \"$CI_JOB_STATUS\" --teams-webhook-url https://outlook.office.com/webhook/... --enabled",
|
|
2107
|
+
"Announce a package version with linked Jira stories:\n<%= config.bin %> <%= command.id %> --ci-job-status success --alm-base-url https://jira.example.com/browse --teams-webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
2055
2108
|
],
|
|
2056
2109
|
"flags": {
|
|
2057
2110
|
"json": {
|
|
@@ -2069,113 +2122,111 @@
|
|
|
2069
2122
|
"multiple": false,
|
|
2070
2123
|
"type": "option"
|
|
2071
2124
|
},
|
|
2072
|
-
"
|
|
2073
|
-
"env": "
|
|
2074
|
-
"name": "
|
|
2075
|
-
"summary": "
|
|
2125
|
+
"ci-commit-ref-name": {
|
|
2126
|
+
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
2127
|
+
"name": "ci-commit-ref-name",
|
|
2128
|
+
"summary": "The git branch or tag ref for this pipeline run.",
|
|
2076
2129
|
"hasDynamicHelp": false,
|
|
2077
2130
|
"multiple": false,
|
|
2078
2131
|
"type": "option"
|
|
2079
2132
|
},
|
|
2080
|
-
"
|
|
2081
|
-
"env": "
|
|
2082
|
-
"name": "
|
|
2083
|
-
"summary": "The
|
|
2084
|
-
"default": "gitlab",
|
|
2133
|
+
"ci-job-name": {
|
|
2134
|
+
"env": "SIMPLY_CICD_CI_JOB_NAME",
|
|
2135
|
+
"name": "ci-job-name",
|
|
2136
|
+
"summary": "The name of the current CI job.",
|
|
2085
2137
|
"hasDynamicHelp": false,
|
|
2086
2138
|
"multiple": false,
|
|
2087
|
-
"options": [
|
|
2088
|
-
"github",
|
|
2089
|
-
"gitlab"
|
|
2090
|
-
],
|
|
2091
2139
|
"type": "option"
|
|
2092
2140
|
},
|
|
2093
|
-
"ci-
|
|
2094
|
-
"env": "
|
|
2095
|
-
"name": "ci-
|
|
2096
|
-
"summary": "
|
|
2141
|
+
"ci-job-stage": {
|
|
2142
|
+
"env": "SIMPLY_CICD_CI_JOB_STAGE",
|
|
2143
|
+
"name": "ci-job-stage",
|
|
2144
|
+
"summary": "The stage of the current CI job.",
|
|
2097
2145
|
"hasDynamicHelp": false,
|
|
2098
2146
|
"multiple": false,
|
|
2099
2147
|
"type": "option"
|
|
2100
2148
|
},
|
|
2101
|
-
"ci-
|
|
2102
|
-
"env": "
|
|
2103
|
-
"name": "ci-
|
|
2104
|
-
"summary": "
|
|
2149
|
+
"ci-job-status": {
|
|
2150
|
+
"env": "SIMPLY_CICD_CI_JOB_STATUS",
|
|
2151
|
+
"name": "ci-job-status",
|
|
2152
|
+
"summary": "The status of the current CI job (e.g. success, failed, canceled).",
|
|
2105
2153
|
"hasDynamicHelp": false,
|
|
2106
2154
|
"multiple": false,
|
|
2107
2155
|
"type": "option"
|
|
2108
2156
|
},
|
|
2109
|
-
"ci-
|
|
2110
|
-
"env": "
|
|
2111
|
-
"name": "ci-
|
|
2112
|
-
"summary": "
|
|
2113
|
-
"hasDynamicHelp": false,
|
|
2114
|
-
"multiple": false,
|
|
2115
|
-
"type": "option"
|
|
2116
|
-
},
|
|
2117
|
-
"ci-pull-request-number": {
|
|
2118
|
-
"env": "SIMPLY_CICD_CI_PULL_REQUEST_NUMBER",
|
|
2119
|
-
"name": "ci-pull-request-number",
|
|
2120
|
-
"summary": "GitHub only: number of the pull request to post the diff to.",
|
|
2157
|
+
"ci-pipeline-id": {
|
|
2158
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
2159
|
+
"name": "ci-pipeline-id",
|
|
2160
|
+
"summary": "The ID of the current CI pipeline.",
|
|
2121
2161
|
"hasDynamicHelp": false,
|
|
2122
2162
|
"multiple": false,
|
|
2123
2163
|
"type": "option"
|
|
2124
2164
|
},
|
|
2125
|
-
"ci-
|
|
2126
|
-
"env": "
|
|
2127
|
-
"name": "ci-
|
|
2128
|
-
"summary": "
|
|
2165
|
+
"ci-pipeline-url": {
|
|
2166
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_URL",
|
|
2167
|
+
"name": "ci-pipeline-url",
|
|
2168
|
+
"summary": "The URL of the current CI pipeline.",
|
|
2129
2169
|
"hasDynamicHelp": false,
|
|
2130
2170
|
"multiple": false,
|
|
2131
2171
|
"type": "option"
|
|
2132
2172
|
},
|
|
2133
|
-
"ci-
|
|
2134
|
-
"env": "
|
|
2135
|
-
"name": "ci-
|
|
2136
|
-
"summary": "
|
|
2173
|
+
"ci-project-title": {
|
|
2174
|
+
"env": "SIMPLY_CICD_CI_PROJECT_TITLE",
|
|
2175
|
+
"name": "ci-project-title",
|
|
2176
|
+
"summary": "The project title shown in the notification card's heading.",
|
|
2137
2177
|
"hasDynamicHelp": false,
|
|
2138
2178
|
"multiple": false,
|
|
2139
2179
|
"type": "option"
|
|
2140
2180
|
},
|
|
2141
|
-
"
|
|
2142
|
-
"env": "
|
|
2143
|
-
"name": "
|
|
2144
|
-
"summary": "
|
|
2181
|
+
"subscriber-package-version-id": {
|
|
2182
|
+
"env": "SIMPLY_CICD_SUBSCRIBER_PACKAGE_VERSION_ID",
|
|
2183
|
+
"name": "subscriber-package-version-id",
|
|
2184
|
+
"summary": "The subscriber package version ID (04t...) created by this job. Defaults to the one in subscriberPackageVersionId.env, written by build create-package-version.",
|
|
2145
2185
|
"hasDynamicHelp": false,
|
|
2146
2186
|
"multiple": false,
|
|
2147
2187
|
"type": "option"
|
|
2148
2188
|
},
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2151
|
-
"
|
|
2152
|
-
"summary": "
|
|
2189
|
+
"enabled": {
|
|
2190
|
+
"env": "SIMPLY_CICD_ENABLED",
|
|
2191
|
+
"name": "enabled",
|
|
2192
|
+
"summary": "Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.",
|
|
2193
|
+
"allowNo": false,
|
|
2194
|
+
"type": "boolean"
|
|
2195
|
+
},
|
|
2196
|
+
"alm-base-url": {
|
|
2197
|
+
"env": "SIMPLY_CICD_ALM_BASE_URL",
|
|
2198
|
+
"name": "alm-base-url",
|
|
2199
|
+
"summary": "Base URL that an issue reference is appended to, e.g. https://jira.example.com/browse for Jira or https://gitlab.com/group/project/-/issues for GitLab Issues. References are shown without links if not provided.",
|
|
2153
2200
|
"hasDynamicHelp": false,
|
|
2154
2201
|
"multiple": false,
|
|
2155
2202
|
"type": "option"
|
|
2156
2203
|
},
|
|
2157
|
-
"
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2160
|
-
"summary": "
|
|
2204
|
+
"alm-project-key": {
|
|
2205
|
+
"env": "SIMPLY_CICD_ALM_PROJECT_KEY",
|
|
2206
|
+
"name": "alm-project-key",
|
|
2207
|
+
"summary": "Fallback project key(s) used to search commit messages for issue references, if none are configured in .sfdevrc.json. Only used by prefix-keyed trackers such as Jira.",
|
|
2161
2208
|
"hasDynamicHelp": false,
|
|
2162
2209
|
"multiple": false,
|
|
2163
2210
|
"type": "option"
|
|
2164
2211
|
},
|
|
2165
|
-
"
|
|
2166
|
-
"env": "
|
|
2167
|
-
"name": "
|
|
2168
|
-
"
|
|
2169
|
-
"
|
|
2212
|
+
"alm-provider": {
|
|
2213
|
+
"env": "SIMPLY_CICD_ALM_PROVIDER",
|
|
2214
|
+
"name": "alm-provider",
|
|
2215
|
+
"summary": "The issue tracker whose reference format to look for in commit messages.",
|
|
2216
|
+
"default": "jira",
|
|
2170
2217
|
"hasDynamicHelp": false,
|
|
2171
2218
|
"multiple": false,
|
|
2219
|
+
"options": [
|
|
2220
|
+
"gitlab-issues",
|
|
2221
|
+
"jira"
|
|
2222
|
+
],
|
|
2172
2223
|
"type": "option"
|
|
2173
2224
|
},
|
|
2174
|
-
"
|
|
2175
|
-
"name": "
|
|
2176
|
-
"summary": "
|
|
2225
|
+
"teams-webhook-url": {
|
|
2226
|
+
"name": "teams-webhook-url",
|
|
2227
|
+
"summary": "One or more Teams webhook URLs to send the notification to.",
|
|
2177
2228
|
"hasDynamicHelp": false,
|
|
2178
|
-
"multiple":
|
|
2229
|
+
"multiple": true,
|
|
2179
2230
|
"type": "option"
|
|
2180
2231
|
},
|
|
2181
2232
|
"debug": {
|
|
@@ -2184,23 +2235,16 @@
|
|
|
2184
2235
|
"summary": "Enable verbose debug logging.",
|
|
2185
2236
|
"allowNo": false,
|
|
2186
2237
|
"type": "boolean"
|
|
2187
|
-
},
|
|
2188
|
-
"disabled": {
|
|
2189
|
-
"env": "SIMPLY_CICD_DISABLED",
|
|
2190
|
-
"name": "disabled",
|
|
2191
|
-
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
2192
|
-
"allowNo": false,
|
|
2193
|
-
"type": "boolean"
|
|
2194
2238
|
}
|
|
2195
2239
|
},
|
|
2196
2240
|
"hasDynamicHelp": false,
|
|
2197
2241
|
"hiddenAliases": [],
|
|
2198
|
-
"id": "simply:cicd:build
|
|
2242
|
+
"id": "simply:cicd:notify:build",
|
|
2199
2243
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
2200
2244
|
"pluginName": "@simplysf/simply-cicd",
|
|
2201
2245
|
"pluginType": "core",
|
|
2202
2246
|
"strict": true,
|
|
2203
|
-
"summary": "
|
|
2247
|
+
"summary": "Send a build job's failure, or the package version it created, to Microsoft Teams, with issue-tracker integration.",
|
|
2204
2248
|
"enableJsonFlag": true,
|
|
2205
2249
|
"isESM": true,
|
|
2206
2250
|
"relativePath": [
|
|
@@ -2208,43 +2252,44 @@
|
|
|
2208
2252
|
"commands",
|
|
2209
2253
|
"simply",
|
|
2210
2254
|
"cicd",
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
2255
|
+
"notify",
|
|
2256
|
+
"build.js"
|
|
2213
2257
|
],
|
|
2214
2258
|
"aliasPermutations": [],
|
|
2215
2259
|
"permutations": [
|
|
2216
|
-
"simply:cicd:build
|
|
2217
|
-
"cicd:simply:build
|
|
2218
|
-
"cicd:
|
|
2219
|
-
"cicd:build:
|
|
2220
|
-
"simply:
|
|
2221
|
-
"
|
|
2222
|
-
"
|
|
2223
|
-
"
|
|
2224
|
-
"simply:build:
|
|
2225
|
-
"
|
|
2226
|
-
"build:
|
|
2227
|
-
"build:
|
|
2228
|
-
"simply:cicd:
|
|
2229
|
-
"cicd:simply:
|
|
2230
|
-
"cicd:
|
|
2231
|
-
"cicd:
|
|
2232
|
-
"simply:
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2235
|
-
"
|
|
2236
|
-
"simply:
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2260
|
+
"simply:cicd:notify:build",
|
|
2261
|
+
"cicd:simply:notify:build",
|
|
2262
|
+
"cicd:notify:simply:build",
|
|
2263
|
+
"cicd:notify:build:simply",
|
|
2264
|
+
"simply:notify:cicd:build",
|
|
2265
|
+
"notify:simply:cicd:build",
|
|
2266
|
+
"notify:cicd:simply:build",
|
|
2267
|
+
"notify:cicd:build:simply",
|
|
2268
|
+
"simply:notify:build:cicd",
|
|
2269
|
+
"notify:simply:build:cicd",
|
|
2270
|
+
"notify:build:simply:cicd",
|
|
2271
|
+
"notify:build:cicd:simply",
|
|
2272
|
+
"simply:cicd:build:notify",
|
|
2273
|
+
"cicd:simply:build:notify",
|
|
2274
|
+
"cicd:build:simply:notify",
|
|
2275
|
+
"cicd:build:notify:simply",
|
|
2276
|
+
"simply:build:cicd:notify",
|
|
2277
|
+
"build:simply:cicd:notify",
|
|
2278
|
+
"build:cicd:simply:notify",
|
|
2279
|
+
"build:cicd:notify:simply",
|
|
2280
|
+
"simply:build:notify:cicd",
|
|
2281
|
+
"build:simply:notify:cicd",
|
|
2282
|
+
"build:notify:simply:cicd",
|
|
2283
|
+
"build:notify:cicd:simply"
|
|
2240
2284
|
]
|
|
2241
2285
|
},
|
|
2242
|
-
"simply:cicd:
|
|
2286
|
+
"simply:cicd:notify:happy-soup": {
|
|
2243
2287
|
"aliases": [],
|
|
2244
2288
|
"args": {},
|
|
2245
|
-
"description": "
|
|
2289
|
+
"description": "Run with `--before-script` at the start of a stage to post a \"starting\" card, and with `--after-script` at the end to post a success or failure card. With `--notify-on-completion`, intermediate stage notifications are suppressed and only the final job (`--is-final-job` combined with `--after-script`) posts a card.\n\nOn a successful `--after-script`, reads the packages upgraded by `deploy happy-soup install-packaged` from the deploy progress file, looks up the commit history between each package's previous and target version in its own origin repository, and includes any matched issue references per package in the notification.",
|
|
2246
2290
|
"examples": [
|
|
2247
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2291
|
+
"<%= config.bin %> <%= command.id %> --before-script --ci-job-stage pre-destructive --teams-webhook-url https://outlook.office.com/webhook/... --enabled",
|
|
2292
|
+
"<%= config.bin %> <%= command.id %> --after-script --is-final-job --notify-on-completion --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
2248
2293
|
],
|
|
2249
2294
|
"flags": {
|
|
2250
2295
|
"json": {
|
|
@@ -2262,156 +2307,170 @@
|
|
|
2262
2307
|
"multiple": false,
|
|
2263
2308
|
"type": "option"
|
|
2264
2309
|
},
|
|
2265
|
-
"
|
|
2266
|
-
"
|
|
2267
|
-
"
|
|
2268
|
-
"summary": "Path to the JWT private key file used to re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used instead.",
|
|
2269
|
-
"hasDynamicHelp": false,
|
|
2270
|
-
"multiple": false,
|
|
2271
|
-
"type": "option"
|
|
2272
|
-
},
|
|
2273
|
-
"debug": {
|
|
2274
|
-
"env": "SIMPLY_CICD_DEBUG",
|
|
2275
|
-
"name": "debug",
|
|
2276
|
-
"summary": "Enable verbose debug logging.",
|
|
2310
|
+
"after-script": {
|
|
2311
|
+
"name": "after-script",
|
|
2312
|
+
"summary": "Run the after-stage notification logic.",
|
|
2277
2313
|
"allowNo": false,
|
|
2278
2314
|
"type": "boolean"
|
|
2279
2315
|
},
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2282
|
-
"
|
|
2283
|
-
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
2316
|
+
"before-script": {
|
|
2317
|
+
"name": "before-script",
|
|
2318
|
+
"summary": "Run the before-stage (starting) notification logic.",
|
|
2284
2319
|
"allowNo": false,
|
|
2285
2320
|
"type": "boolean"
|
|
2286
2321
|
},
|
|
2287
|
-
"
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2322
|
+
"ci-commit-ref-name": {
|
|
2323
|
+
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
2324
|
+
"name": "ci-commit-ref-name",
|
|
2325
|
+
"summary": "The git branch or tag ref for this pipeline run.",
|
|
2291
2326
|
"hasDynamicHelp": false,
|
|
2292
2327
|
"multiple": false,
|
|
2293
|
-
"options": [
|
|
2294
|
-
"All",
|
|
2295
|
-
"Delta",
|
|
2296
|
-
"Upgrade"
|
|
2297
|
-
],
|
|
2298
2328
|
"type": "option"
|
|
2299
2329
|
},
|
|
2300
|
-
"
|
|
2301
|
-
"
|
|
2302
|
-
"name": "
|
|
2303
|
-
"summary": "
|
|
2304
|
-
"default": "Mixed",
|
|
2330
|
+
"ci-environment-name": {
|
|
2331
|
+
"env": "SIMPLY_CICD_CI_ENVIRONMENT_NAME",
|
|
2332
|
+
"name": "ci-environment-name",
|
|
2333
|
+
"summary": "The name of the target CI environment.",
|
|
2305
2334
|
"hasDynamicHelp": false,
|
|
2306
2335
|
"multiple": false,
|
|
2307
|
-
"options": [
|
|
2308
|
-
"DeprecateOnly",
|
|
2309
|
-
"Mixed",
|
|
2310
|
-
"Delete"
|
|
2311
|
-
],
|
|
2312
2336
|
"type": "option"
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
"
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
"
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
"
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
"
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
"
|
|
2373
|
-
"name": "
|
|
2337
|
+
},
|
|
2338
|
+
"ci-job-name": {
|
|
2339
|
+
"env": "SIMPLY_CICD_CI_JOB_NAME",
|
|
2340
|
+
"name": "ci-job-name",
|
|
2341
|
+
"summary": "The name of the current CI job.",
|
|
2342
|
+
"hasDynamicHelp": false,
|
|
2343
|
+
"multiple": false,
|
|
2344
|
+
"type": "option"
|
|
2345
|
+
},
|
|
2346
|
+
"ci-job-stage": {
|
|
2347
|
+
"env": "SIMPLY_CICD_CI_JOB_STAGE",
|
|
2348
|
+
"name": "ci-job-stage",
|
|
2349
|
+
"summary": "The stage of the current CI job.",
|
|
2350
|
+
"hasDynamicHelp": false,
|
|
2351
|
+
"multiple": false,
|
|
2352
|
+
"type": "option"
|
|
2353
|
+
},
|
|
2354
|
+
"ci-job-status": {
|
|
2355
|
+
"env": "SIMPLY_CICD_CI_JOB_STATUS",
|
|
2356
|
+
"name": "ci-job-status",
|
|
2357
|
+
"summary": "The status of the current CI job (e.g. success, failed).",
|
|
2358
|
+
"hasDynamicHelp": false,
|
|
2359
|
+
"multiple": false,
|
|
2360
|
+
"type": "option"
|
|
2361
|
+
},
|
|
2362
|
+
"ci-job-token": {
|
|
2363
|
+
"env": "SIMPLY_CICD_CI_JOB_TOKEN",
|
|
2364
|
+
"name": "ci-job-token",
|
|
2365
|
+
"summary": "The CI job token to try first when looking up an upgraded package's origin commit history. Falls back to --project-access-token if the job token can't read that repository.",
|
|
2366
|
+
"hasDynamicHelp": false,
|
|
2367
|
+
"multiple": false,
|
|
2368
|
+
"type": "option"
|
|
2369
|
+
},
|
|
2370
|
+
"ci-pipeline-id": {
|
|
2371
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
2372
|
+
"name": "ci-pipeline-id",
|
|
2373
|
+
"summary": "The ID of the current CI pipeline.",
|
|
2374
|
+
"hasDynamicHelp": false,
|
|
2375
|
+
"multiple": false,
|
|
2376
|
+
"type": "option"
|
|
2377
|
+
},
|
|
2378
|
+
"ci-pipeline-url": {
|
|
2379
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_URL",
|
|
2380
|
+
"name": "ci-pipeline-url",
|
|
2381
|
+
"summary": "The URL of the current CI pipeline.",
|
|
2382
|
+
"hasDynamicHelp": false,
|
|
2383
|
+
"multiple": false,
|
|
2384
|
+
"type": "option"
|
|
2385
|
+
},
|
|
2386
|
+
"deploy-progress-file": {
|
|
2387
|
+
"env": "SIMPLY_CICD_DEPLOY_PROGRESS_FILE",
|
|
2388
|
+
"name": "deploy-progress-file",
|
|
2389
|
+
"summary": "Path to the deployment progress file to read upgraded package information from.",
|
|
2390
|
+
"default": "DEPLOY_PROGRESS.json",
|
|
2391
|
+
"hasDynamicHelp": false,
|
|
2392
|
+
"multiple": false,
|
|
2393
|
+
"type": "option"
|
|
2394
|
+
},
|
|
2395
|
+
"enabled": {
|
|
2396
|
+
"env": "SIMPLY_CICD_ENABLED",
|
|
2397
|
+
"name": "enabled",
|
|
2398
|
+
"summary": "Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.",
|
|
2374
2399
|
"allowNo": false,
|
|
2375
2400
|
"type": "boolean"
|
|
2376
2401
|
},
|
|
2377
|
-
"
|
|
2378
|
-
"
|
|
2379
|
-
"name": "
|
|
2380
|
-
"summary": "
|
|
2402
|
+
"alm-base-url": {
|
|
2403
|
+
"env": "SIMPLY_CICD_ALM_BASE_URL",
|
|
2404
|
+
"name": "alm-base-url",
|
|
2405
|
+
"summary": "Base URL that an issue reference is appended to, e.g. https://jira.example.com/browse for Jira or https://gitlab.com/group/project/-/issues for GitLab Issues. References are shown without links if not provided.",
|
|
2381
2406
|
"hasDynamicHelp": false,
|
|
2382
2407
|
"multiple": false,
|
|
2383
2408
|
"type": "option"
|
|
2384
2409
|
},
|
|
2385
|
-
"
|
|
2386
|
-
"env": "
|
|
2387
|
-
"name": "
|
|
2388
|
-
"summary": "
|
|
2410
|
+
"alm-project-key": {
|
|
2411
|
+
"env": "SIMPLY_CICD_ALM_PROJECT_KEY",
|
|
2412
|
+
"name": "alm-project-key",
|
|
2413
|
+
"summary": "Fallback project key(s) used to search commit messages for issue references, if none are configured in .sfdevrc.json. Only used by prefix-keyed trackers such as Jira.",
|
|
2414
|
+
"hasDynamicHelp": false,
|
|
2415
|
+
"multiple": false,
|
|
2416
|
+
"type": "option"
|
|
2417
|
+
},
|
|
2418
|
+
"alm-provider": {
|
|
2419
|
+
"env": "SIMPLY_CICD_ALM_PROVIDER",
|
|
2420
|
+
"name": "alm-provider",
|
|
2421
|
+
"summary": "The issue tracker whose reference format to look for in commit messages.",
|
|
2422
|
+
"default": "jira",
|
|
2423
|
+
"hasDynamicHelp": false,
|
|
2424
|
+
"multiple": false,
|
|
2425
|
+
"options": [
|
|
2426
|
+
"gitlab-issues",
|
|
2427
|
+
"jira"
|
|
2428
|
+
],
|
|
2429
|
+
"type": "option"
|
|
2430
|
+
},
|
|
2431
|
+
"project-access-token": {
|
|
2432
|
+
"env": "SIMPLY_CICD_PROJECT_ACCESS_TOKEN",
|
|
2433
|
+
"name": "project-access-token",
|
|
2434
|
+
"summary": "A personal or project access token, used to look up an upgraded package's origin commit history when --ci-job-token isn't provided or can't read that repository.",
|
|
2435
|
+
"hasDynamicHelp": false,
|
|
2436
|
+
"multiple": false,
|
|
2437
|
+
"type": "option"
|
|
2438
|
+
},
|
|
2439
|
+
"teams-webhook-url": {
|
|
2440
|
+
"name": "teams-webhook-url",
|
|
2441
|
+
"summary": "One or more Teams webhook URLs to send the notification to.",
|
|
2442
|
+
"hasDynamicHelp": false,
|
|
2443
|
+
"multiple": true,
|
|
2444
|
+
"type": "option"
|
|
2445
|
+
},
|
|
2446
|
+
"notify-on-completion": {
|
|
2447
|
+
"name": "notify-on-completion",
|
|
2448
|
+
"summary": "Only send a notification on the final job of the pipeline, suppressing per-stage notifications.",
|
|
2389
2449
|
"allowNo": false,
|
|
2390
2450
|
"type": "boolean"
|
|
2391
2451
|
},
|
|
2392
|
-
"
|
|
2393
|
-
"
|
|
2394
|
-
"
|
|
2395
|
-
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
2452
|
+
"is-final-job": {
|
|
2453
|
+
"name": "is-final-job",
|
|
2454
|
+
"summary": "Marks this job as the final job in the pipeline. Combined with --after-script and --notify-on-completion, this is what actually triggers the final notification.",
|
|
2396
2455
|
"allowNo": false,
|
|
2397
2456
|
"type": "boolean"
|
|
2398
2457
|
},
|
|
2399
|
-
"
|
|
2400
|
-
"env": "
|
|
2401
|
-
"name": "
|
|
2402
|
-
"summary": "
|
|
2458
|
+
"debug": {
|
|
2459
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
2460
|
+
"name": "debug",
|
|
2461
|
+
"summary": "Enable verbose debug logging.",
|
|
2403
2462
|
"allowNo": false,
|
|
2404
2463
|
"type": "boolean"
|
|
2405
2464
|
}
|
|
2406
2465
|
},
|
|
2407
2466
|
"hasDynamicHelp": false,
|
|
2408
2467
|
"hiddenAliases": [],
|
|
2409
|
-
"id": "simply:cicd:
|
|
2468
|
+
"id": "simply:cicd:notify:happy-soup",
|
|
2410
2469
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
2411
2470
|
"pluginName": "@simplysf/simply-cicd",
|
|
2412
2471
|
"pluginType": "core",
|
|
2413
2472
|
"strict": true,
|
|
2414
|
-
"summary": "
|
|
2473
|
+
"summary": "Send a happy-soup deployment stage notification to Microsoft Teams, with ALM story integration for upgraded packages.",
|
|
2415
2474
|
"enableJsonFlag": true,
|
|
2416
2475
|
"isESM": true,
|
|
2417
2476
|
"relativePath": [
|
|
@@ -2419,45 +2478,44 @@
|
|
|
2419
2478
|
"commands",
|
|
2420
2479
|
"simply",
|
|
2421
2480
|
"cicd",
|
|
2422
|
-
"
|
|
2423
|
-
"
|
|
2481
|
+
"notify",
|
|
2482
|
+
"happy-soup.js"
|
|
2424
2483
|
],
|
|
2425
2484
|
"aliasPermutations": [],
|
|
2426
2485
|
"permutations": [
|
|
2427
|
-
"simply:cicd:
|
|
2428
|
-
"cicd:simply:
|
|
2429
|
-
"cicd:
|
|
2430
|
-
"cicd:
|
|
2431
|
-
"simply:
|
|
2432
|
-
"
|
|
2433
|
-
"
|
|
2434
|
-
"
|
|
2435
|
-
"simply:
|
|
2436
|
-
"
|
|
2437
|
-
"
|
|
2438
|
-
"
|
|
2439
|
-
"simply:cicd:
|
|
2440
|
-
"cicd:simply:
|
|
2441
|
-
"cicd:
|
|
2442
|
-
"cicd:
|
|
2443
|
-
"simply:
|
|
2444
|
-
"
|
|
2445
|
-
"
|
|
2446
|
-
"
|
|
2447
|
-
"simply:
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2486
|
+
"simply:cicd:notify:happy-soup",
|
|
2487
|
+
"cicd:simply:notify:happy-soup",
|
|
2488
|
+
"cicd:notify:simply:happy-soup",
|
|
2489
|
+
"cicd:notify:happy-soup:simply",
|
|
2490
|
+
"simply:notify:cicd:happy-soup",
|
|
2491
|
+
"notify:simply:cicd:happy-soup",
|
|
2492
|
+
"notify:cicd:simply:happy-soup",
|
|
2493
|
+
"notify:cicd:happy-soup:simply",
|
|
2494
|
+
"simply:notify:happy-soup:cicd",
|
|
2495
|
+
"notify:simply:happy-soup:cicd",
|
|
2496
|
+
"notify:happy-soup:simply:cicd",
|
|
2497
|
+
"notify:happy-soup:cicd:simply",
|
|
2498
|
+
"simply:cicd:happy-soup:notify",
|
|
2499
|
+
"cicd:simply:happy-soup:notify",
|
|
2500
|
+
"cicd:happy-soup:simply:notify",
|
|
2501
|
+
"cicd:happy-soup:notify:simply",
|
|
2502
|
+
"simply:happy-soup:cicd:notify",
|
|
2503
|
+
"happy-soup:simply:cicd:notify",
|
|
2504
|
+
"happy-soup:cicd:simply:notify",
|
|
2505
|
+
"happy-soup:cicd:notify:simply",
|
|
2506
|
+
"simply:happy-soup:notify:cicd",
|
|
2507
|
+
"happy-soup:simply:notify:cicd",
|
|
2508
|
+
"happy-soup:notify:simply:cicd",
|
|
2509
|
+
"happy-soup:notify:cicd:simply"
|
|
2451
2510
|
]
|
|
2452
2511
|
},
|
|
2453
|
-
"simply:cicd:
|
|
2512
|
+
"simply:cicd:notify:project": {
|
|
2454
2513
|
"aliases": [],
|
|
2455
2514
|
"args": {},
|
|
2456
|
-
"description": "
|
|
2515
|
+
"description": "Run once with `--before-script` at the start of a deployment pipeline (to record the previously installed and target package versions), and once with `--after-script` at the end (to post a success or failure card to Teams, including the tracked issues that shipped between those two versions).",
|
|
2457
2516
|
"examples": [
|
|
2458
|
-
"
|
|
2459
|
-
"
|
|
2460
|
-
"Compile and pack without publishing, to inspect what would be produced:\n<%= config.bin %> <%= command.id %> --packaging-devhub my-packaging-devhub --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --dry-run"
|
|
2517
|
+
"<%= config.bin %> <%= command.id %> --before-script --ci-job-stage pre-destructive --alias my-org --enabled",
|
|
2518
|
+
"<%= config.bin %> <%= command.id %> --after-script --ci-job-stage post-destructive --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
2461
2519
|
],
|
|
2462
2520
|
"flags": {
|
|
2463
2521
|
"json": {
|
|
@@ -2475,239 +2533,178 @@
|
|
|
2475
2533
|
"multiple": false,
|
|
2476
2534
|
"type": "option"
|
|
2477
2535
|
},
|
|
2478
|
-
"
|
|
2479
|
-
"
|
|
2480
|
-
"
|
|
2481
|
-
"summary": "Enable verbose debug logging.",
|
|
2482
|
-
"allowNo": false,
|
|
2483
|
-
"type": "boolean"
|
|
2484
|
-
},
|
|
2485
|
-
"disabled": {
|
|
2486
|
-
"env": "SIMPLY_CICD_DISABLED",
|
|
2487
|
-
"name": "disabled",
|
|
2488
|
-
"summary": "Skip this job entirely, logging a warning instead of running it.",
|
|
2536
|
+
"after-script": {
|
|
2537
|
+
"name": "after-script",
|
|
2538
|
+
"summary": "Run the after-deployment notification logic.",
|
|
2489
2539
|
"allowNo": false,
|
|
2490
2540
|
"type": "boolean"
|
|
2491
2541
|
},
|
|
2492
|
-
"
|
|
2493
|
-
"env": "
|
|
2494
|
-
"name": "
|
|
2495
|
-
"
|
|
2496
|
-
"summary": "Alias of the Dev Hub that owns the package version. Must already be authenticated.",
|
|
2497
|
-
"hasDynamicHelp": false,
|
|
2498
|
-
"multiple": false,
|
|
2499
|
-
"type": "option"
|
|
2500
|
-
},
|
|
2501
|
-
"subscriber-package-version-id": {
|
|
2502
|
-
"name": "subscriber-package-version-id",
|
|
2503
|
-
"summary": "Subscriber package version ID (04t) to publish page objects for. Falls back to SUBSCRIBER_PACKAGE_VERSION_ID in the environment, then to the same key in --env-file.",
|
|
2504
|
-
"hasDynamicHelp": false,
|
|
2505
|
-
"multiple": false,
|
|
2506
|
-
"type": "option"
|
|
2507
|
-
},
|
|
2508
|
-
"npm-package-name": {
|
|
2509
|
-
"env": "SIMPLY_CICD_NPM_PACKAGE_NAME",
|
|
2510
|
-
"name": "npm-package-name",
|
|
2511
|
-
"summary": "npm package name to publish the page objects under. Required unless `plugins.simply.utam.packageName` is set in sfdx-project.json; the flag wins when both are present.",
|
|
2512
|
-
"hasDynamicHelp": false,
|
|
2513
|
-
"multiple": false,
|
|
2514
|
-
"type": "option"
|
|
2515
|
-
},
|
|
2516
|
-
"npm-registry": {
|
|
2517
|
-
"env": "SIMPLY_CICD_NPM_REGISTRY",
|
|
2518
|
-
"name": "npm-registry",
|
|
2519
|
-
"summary": "Registry to publish to. Defaults to whatever npm itself is configured to use.",
|
|
2542
|
+
"alias": {
|
|
2543
|
+
"env": "SIMPLY_CICD_ALIAS",
|
|
2544
|
+
"name": "alias",
|
|
2545
|
+
"summary": "Alias of the target Salesforce org to query for the previously installed package version. Must already be authenticated.",
|
|
2520
2546
|
"hasDynamicHelp": false,
|
|
2521
2547
|
"multiple": false,
|
|
2522
2548
|
"type": "option"
|
|
2523
2549
|
},
|
|
2524
|
-
"
|
|
2525
|
-
"
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2528
|
-
"
|
|
2529
|
-
"multiple": false,
|
|
2530
|
-
"type": "option"
|
|
2550
|
+
"before-script": {
|
|
2551
|
+
"name": "before-script",
|
|
2552
|
+
"summary": "Run the before-deployment setup logic (resolves and records package versions).",
|
|
2553
|
+
"allowNo": false,
|
|
2554
|
+
"type": "boolean"
|
|
2531
2555
|
},
|
|
2532
|
-
"
|
|
2533
|
-
"env": "
|
|
2534
|
-
"name": "
|
|
2535
|
-
"summary": "
|
|
2556
|
+
"ci-commit-ref-name": {
|
|
2557
|
+
"env": "SIMPLY_CICD_CI_COMMIT_REF_NAME",
|
|
2558
|
+
"name": "ci-commit-ref-name",
|
|
2559
|
+
"summary": "The git branch or tag ref for this pipeline run.",
|
|
2536
2560
|
"hasDynamicHelp": false,
|
|
2537
2561
|
"multiple": false,
|
|
2538
|
-
"options": [
|
|
2539
|
-
"public",
|
|
2540
|
-
"restricted"
|
|
2541
|
-
],
|
|
2542
2562
|
"type": "option"
|
|
2543
2563
|
},
|
|
2544
|
-
"
|
|
2545
|
-
"
|
|
2546
|
-
"
|
|
2564
|
+
"ci-environment-name": {
|
|
2565
|
+
"env": "SIMPLY_CICD_CI_ENVIRONMENT_NAME",
|
|
2566
|
+
"name": "ci-environment-name",
|
|
2567
|
+
"summary": "The name of the target CI environment.",
|
|
2547
2568
|
"hasDynamicHelp": false,
|
|
2548
2569
|
"multiple": false,
|
|
2549
2570
|
"type": "option"
|
|
2550
2571
|
},
|
|
2551
|
-
"ci-
|
|
2552
|
-
"env": "
|
|
2553
|
-
"name": "ci-
|
|
2554
|
-
"summary": "
|
|
2572
|
+
"ci-job-name": {
|
|
2573
|
+
"env": "SIMPLY_CICD_CI_JOB_NAME",
|
|
2574
|
+
"name": "ci-job-name",
|
|
2575
|
+
"summary": "The name of the current CI job.",
|
|
2555
2576
|
"hasDynamicHelp": false,
|
|
2556
2577
|
"multiple": false,
|
|
2557
2578
|
"type": "option"
|
|
2558
2579
|
},
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2561
|
-
"
|
|
2580
|
+
"ci-job-stage": {
|
|
2581
|
+
"env": "SIMPLY_CICD_CI_JOB_STAGE",
|
|
2582
|
+
"name": "ci-job-stage",
|
|
2583
|
+
"summary": "The stage of the current CI job (e.g. pre-destructive, post-destructive).",
|
|
2562
2584
|
"hasDynamicHelp": false,
|
|
2563
2585
|
"multiple": false,
|
|
2564
2586
|
"type": "option"
|
|
2565
2587
|
},
|
|
2566
|
-
"
|
|
2567
|
-
"env": "
|
|
2568
|
-
"name": "
|
|
2569
|
-
"summary": "
|
|
2570
|
-
"default": "^3",
|
|
2588
|
+
"ci-job-status": {
|
|
2589
|
+
"env": "SIMPLY_CICD_CI_JOB_STATUS",
|
|
2590
|
+
"name": "ci-job-status",
|
|
2591
|
+
"summary": "The status of the current CI job (e.g. success, failed, canceled).",
|
|
2571
2592
|
"hasDynamicHelp": false,
|
|
2572
2593
|
"multiple": false,
|
|
2573
2594
|
"type": "option"
|
|
2574
2595
|
},
|
|
2575
|
-
"
|
|
2576
|
-
"
|
|
2577
|
-
"
|
|
2578
|
-
"
|
|
2579
|
-
"type": "boolean"
|
|
2580
|
-
},
|
|
2581
|
-
"out": {
|
|
2582
|
-
"name": "out",
|
|
2583
|
-
"summary": "Dotenv file to append the published package name and version to.",
|
|
2584
|
-
"default": "subscriberPackageVersionId.env",
|
|
2596
|
+
"ci-pipeline-id": {
|
|
2597
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_ID",
|
|
2598
|
+
"name": "ci-pipeline-id",
|
|
2599
|
+
"summary": "The ID of the current CI pipeline.",
|
|
2585
2600
|
"hasDynamicHelp": false,
|
|
2586
2601
|
"multiple": false,
|
|
2587
2602
|
"type": "option"
|
|
2588
2603
|
},
|
|
2589
|
-
"
|
|
2590
|
-
"
|
|
2591
|
-
"
|
|
2592
|
-
"
|
|
2593
|
-
"hasDynamicHelp": false,
|
|
2594
|
-
"multiple": false,
|
|
2595
|
-
"type": "option"
|
|
2596
|
-
}
|
|
2597
|
-
},
|
|
2598
|
-
"hasDynamicHelp": false,
|
|
2599
|
-
"hiddenAliases": [],
|
|
2600
|
-
"id": "simply:cicd:build:publish-utam-page-objects",
|
|
2601
|
-
"pluginAlias": "@simplysf/simply-cicd",
|
|
2602
|
-
"pluginName": "@simplysf/simply-cicd",
|
|
2603
|
-
"pluginType": "core",
|
|
2604
|
-
"strict": true,
|
|
2605
|
-
"summary": "Compile the project's UTAM page objects for a package version and publish them to an npm registry.",
|
|
2606
|
-
"enableJsonFlag": true,
|
|
2607
|
-
"isESM": true,
|
|
2608
|
-
"relativePath": [
|
|
2609
|
-
"lib",
|
|
2610
|
-
"commands",
|
|
2611
|
-
"simply",
|
|
2612
|
-
"cicd",
|
|
2613
|
-
"build",
|
|
2614
|
-
"publish-utam-page-objects.js"
|
|
2615
|
-
],
|
|
2616
|
-
"aliasPermutations": [],
|
|
2617
|
-
"permutations": [
|
|
2618
|
-
"simply:cicd:build:publish-utam-page-objects",
|
|
2619
|
-
"cicd:simply:build:publish-utam-page-objects",
|
|
2620
|
-
"cicd:build:simply:publish-utam-page-objects",
|
|
2621
|
-
"cicd:build:publish-utam-page-objects:simply",
|
|
2622
|
-
"simply:build:cicd:publish-utam-page-objects",
|
|
2623
|
-
"build:simply:cicd:publish-utam-page-objects",
|
|
2624
|
-
"build:cicd:simply:publish-utam-page-objects",
|
|
2625
|
-
"build:cicd:publish-utam-page-objects:simply",
|
|
2626
|
-
"simply:build:publish-utam-page-objects:cicd",
|
|
2627
|
-
"build:simply:publish-utam-page-objects:cicd",
|
|
2628
|
-
"build:publish-utam-page-objects:simply:cicd",
|
|
2629
|
-
"build:publish-utam-page-objects:cicd:simply",
|
|
2630
|
-
"simply:cicd:publish-utam-page-objects:build",
|
|
2631
|
-
"cicd:simply:publish-utam-page-objects:build",
|
|
2632
|
-
"cicd:publish-utam-page-objects:simply:build",
|
|
2633
|
-
"cicd:publish-utam-page-objects:build:simply",
|
|
2634
|
-
"simply:publish-utam-page-objects:cicd:build",
|
|
2635
|
-
"publish-utam-page-objects:simply:cicd:build",
|
|
2636
|
-
"publish-utam-page-objects:cicd:simply:build",
|
|
2637
|
-
"publish-utam-page-objects:cicd:build:simply",
|
|
2638
|
-
"simply:publish-utam-page-objects:build:cicd",
|
|
2639
|
-
"publish-utam-page-objects:simply:build:cicd",
|
|
2640
|
-
"publish-utam-page-objects:build:simply:cicd",
|
|
2641
|
-
"publish-utam-page-objects:build:cicd:simply"
|
|
2642
|
-
]
|
|
2643
|
-
},
|
|
2644
|
-
"simply:cicd:build:push-scratch": {
|
|
2645
|
-
"aliases": [],
|
|
2646
|
-
"args": {},
|
|
2647
|
-
"description": "Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, strips metadata types the scratch org push doesn't support (Einstein Conversation Agent file types), and runs `sf project deploy start`. When `--scratch-org-source-dir` is given, also deploys the default package directory's `seedMetadata.path`, if declared in `sfdx-project.json`.\n\nSkipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).",
|
|
2648
|
-
"examples": [
|
|
2649
|
-
"<%= config.bin %> <%= command.id %> --jwt-key-file ./server.key"
|
|
2650
|
-
],
|
|
2651
|
-
"flags": {
|
|
2652
|
-
"json": {
|
|
2653
|
-
"description": "Format output as json.",
|
|
2654
|
-
"helpGroup": "GLOBAL",
|
|
2655
|
-
"name": "json",
|
|
2656
|
-
"allowNo": false,
|
|
2657
|
-
"type": "boolean"
|
|
2604
|
+
"ci-pipeline-url": {
|
|
2605
|
+
"env": "SIMPLY_CICD_CI_PIPELINE_URL",
|
|
2606
|
+
"name": "ci-pipeline-url",
|
|
2607
|
+
"summary": "The URL of the current CI pipeline.",
|
|
2608
|
+
"hasDynamicHelp": false,
|
|
2609
|
+
"multiple": false,
|
|
2610
|
+
"type": "option"
|
|
2658
2611
|
},
|
|
2659
|
-
"
|
|
2660
|
-
"
|
|
2661
|
-
"name": "
|
|
2662
|
-
"summary": "
|
|
2612
|
+
"ci-project-title": {
|
|
2613
|
+
"env": "SIMPLY_CICD_CI_PROJECT_TITLE",
|
|
2614
|
+
"name": "ci-project-title",
|
|
2615
|
+
"summary": "The project title shown in the notification card's heading.",
|
|
2663
2616
|
"hasDynamicHelp": false,
|
|
2664
2617
|
"multiple": false,
|
|
2665
2618
|
"type": "option"
|
|
2666
2619
|
},
|
|
2667
|
-
"
|
|
2668
|
-
"env": "
|
|
2669
|
-
"name": "
|
|
2670
|
-
"summary": "
|
|
2620
|
+
"packaging-devhub": {
|
|
2621
|
+
"env": "SIMPLY_CICD_PACKAGING_DEVHUB",
|
|
2622
|
+
"name": "packaging-devhub",
|
|
2623
|
+
"summary": "Alias of the Dev Hub used to look up target package version information. Must already be authenticated.",
|
|
2671
2624
|
"hasDynamicHelp": false,
|
|
2672
2625
|
"multiple": false,
|
|
2673
2626
|
"type": "option"
|
|
2674
2627
|
},
|
|
2675
|
-
"
|
|
2676
|
-
"env": "
|
|
2677
|
-
"name": "
|
|
2678
|
-
"summary": "
|
|
2628
|
+
"enabled": {
|
|
2629
|
+
"env": "SIMPLY_CICD_ENABLED",
|
|
2630
|
+
"name": "enabled",
|
|
2631
|
+
"summary": "Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.",
|
|
2679
2632
|
"allowNo": false,
|
|
2680
2633
|
"type": "boolean"
|
|
2681
2634
|
},
|
|
2682
|
-
"
|
|
2683
|
-
"env": "
|
|
2684
|
-
"name": "
|
|
2685
|
-
"summary": "
|
|
2686
|
-
"
|
|
2687
|
-
"
|
|
2635
|
+
"alm-base-url": {
|
|
2636
|
+
"env": "SIMPLY_CICD_ALM_BASE_URL",
|
|
2637
|
+
"name": "alm-base-url",
|
|
2638
|
+
"summary": "Base URL that an issue reference is appended to, e.g. https://jira.example.com/browse for Jira or https://gitlab.com/group/project/-/issues for GitLab Issues. References are shown without links if not provided.",
|
|
2639
|
+
"hasDynamicHelp": false,
|
|
2640
|
+
"multiple": false,
|
|
2641
|
+
"type": "option"
|
|
2688
2642
|
},
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2691
|
-
"
|
|
2692
|
-
"
|
|
2693
|
-
"
|
|
2643
|
+
"alm-project-key": {
|
|
2644
|
+
"env": "SIMPLY_CICD_ALM_PROJECT_KEY",
|
|
2645
|
+
"name": "alm-project-key",
|
|
2646
|
+
"summary": "Fallback project key(s) used to search commit messages for issue references, if none are configured in .sfdevrc.json. Only used by prefix-keyed trackers such as Jira.",
|
|
2647
|
+
"hasDynamicHelp": false,
|
|
2648
|
+
"multiple": false,
|
|
2649
|
+
"type": "option"
|
|
2694
2650
|
},
|
|
2695
|
-
"
|
|
2696
|
-
"
|
|
2697
|
-
"
|
|
2651
|
+
"alm-provider": {
|
|
2652
|
+
"env": "SIMPLY_CICD_ALM_PROVIDER",
|
|
2653
|
+
"name": "alm-provider",
|
|
2654
|
+
"summary": "The issue tracker whose reference format to look for in commit messages.",
|
|
2655
|
+
"default": "jira",
|
|
2656
|
+
"hasDynamicHelp": false,
|
|
2657
|
+
"multiple": false,
|
|
2658
|
+
"options": [
|
|
2659
|
+
"gitlab-issues",
|
|
2660
|
+
"jira"
|
|
2661
|
+
],
|
|
2662
|
+
"type": "option"
|
|
2663
|
+
},
|
|
2664
|
+
"prev-installed-package-version": {
|
|
2665
|
+
"name": "prev-installed-package-version",
|
|
2666
|
+
"summary": "The previously installed package version. Only needed if re-running --after-script without having run --before-script first in the same job.",
|
|
2667
|
+
"hasDynamicHelp": false,
|
|
2668
|
+
"multiple": false,
|
|
2669
|
+
"type": "option"
|
|
2670
|
+
},
|
|
2671
|
+
"subscriber-package-version-id": {
|
|
2672
|
+
"name": "subscriber-package-version-id",
|
|
2673
|
+
"summary": "The subscriber package version ID (04t...) being deployed, used to resolve the target package version from the packaging DevHub.",
|
|
2698
2674
|
"hasDynamicHelp": false,
|
|
2699
2675
|
"multiple": false,
|
|
2700
2676
|
"type": "option"
|
|
2677
|
+
},
|
|
2678
|
+
"target-package-version": {
|
|
2679
|
+
"name": "target-package-version",
|
|
2680
|
+
"summary": "The target package version. Only needed if re-running --after-script without having run --before-script first in the same job.",
|
|
2681
|
+
"hasDynamicHelp": false,
|
|
2682
|
+
"multiple": false,
|
|
2683
|
+
"type": "option"
|
|
2684
|
+
},
|
|
2685
|
+
"teams-webhook-url": {
|
|
2686
|
+
"name": "teams-webhook-url",
|
|
2687
|
+
"summary": "One or more Teams webhook URLs to send the notification to.",
|
|
2688
|
+
"hasDynamicHelp": false,
|
|
2689
|
+
"multiple": true,
|
|
2690
|
+
"type": "option"
|
|
2691
|
+
},
|
|
2692
|
+
"debug": {
|
|
2693
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
2694
|
+
"name": "debug",
|
|
2695
|
+
"summary": "Enable verbose debug logging.",
|
|
2696
|
+
"allowNo": false,
|
|
2697
|
+
"type": "boolean"
|
|
2701
2698
|
}
|
|
2702
2699
|
},
|
|
2703
2700
|
"hasDynamicHelp": false,
|
|
2704
2701
|
"hiddenAliases": [],
|
|
2705
|
-
"id": "simply:cicd:
|
|
2702
|
+
"id": "simply:cicd:notify:project",
|
|
2706
2703
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
2707
2704
|
"pluginName": "@simplysf/simply-cicd",
|
|
2708
2705
|
"pluginType": "core",
|
|
2709
2706
|
"strict": true,
|
|
2710
|
-
"summary": "
|
|
2707
|
+
"summary": "Send a project deployment notification to Microsoft Teams, with issue-tracker integration.",
|
|
2711
2708
|
"enableJsonFlag": true,
|
|
2712
2709
|
"isESM": true,
|
|
2713
2710
|
"relativePath": [
|
|
@@ -2715,43 +2712,43 @@
|
|
|
2715
2712
|
"commands",
|
|
2716
2713
|
"simply",
|
|
2717
2714
|
"cicd",
|
|
2718
|
-
"
|
|
2719
|
-
"
|
|
2715
|
+
"notify",
|
|
2716
|
+
"project.js"
|
|
2720
2717
|
],
|
|
2721
2718
|
"aliasPermutations": [],
|
|
2722
2719
|
"permutations": [
|
|
2723
|
-
"simply:cicd:
|
|
2724
|
-
"cicd:simply:
|
|
2725
|
-
"cicd:
|
|
2726
|
-
"cicd:
|
|
2727
|
-
"simply:
|
|
2728
|
-
"
|
|
2729
|
-
"
|
|
2730
|
-
"
|
|
2731
|
-
"simply:
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2735
|
-
"simply:cicd:
|
|
2736
|
-
"cicd:simply:
|
|
2737
|
-
"cicd:
|
|
2738
|
-
"cicd:
|
|
2739
|
-
"simply:
|
|
2740
|
-
"
|
|
2741
|
-
"
|
|
2742
|
-
"
|
|
2743
|
-
"simply:
|
|
2744
|
-
"
|
|
2745
|
-
"
|
|
2746
|
-
"
|
|
2720
|
+
"simply:cicd:notify:project",
|
|
2721
|
+
"cicd:simply:notify:project",
|
|
2722
|
+
"cicd:notify:simply:project",
|
|
2723
|
+
"cicd:notify:project:simply",
|
|
2724
|
+
"simply:notify:cicd:project",
|
|
2725
|
+
"notify:simply:cicd:project",
|
|
2726
|
+
"notify:cicd:simply:project",
|
|
2727
|
+
"notify:cicd:project:simply",
|
|
2728
|
+
"simply:notify:project:cicd",
|
|
2729
|
+
"notify:simply:project:cicd",
|
|
2730
|
+
"notify:project:simply:cicd",
|
|
2731
|
+
"notify:project:cicd:simply",
|
|
2732
|
+
"simply:cicd:project:notify",
|
|
2733
|
+
"cicd:simply:project:notify",
|
|
2734
|
+
"cicd:project:simply:notify",
|
|
2735
|
+
"cicd:project:notify:simply",
|
|
2736
|
+
"simply:project:cicd:notify",
|
|
2737
|
+
"project:simply:cicd:notify",
|
|
2738
|
+
"project:cicd:simply:notify",
|
|
2739
|
+
"project:cicd:notify:simply",
|
|
2740
|
+
"simply:project:notify:cicd",
|
|
2741
|
+
"project:simply:notify:cicd",
|
|
2742
|
+
"project:notify:simply:cicd",
|
|
2743
|
+
"project:notify:cicd:simply"
|
|
2747
2744
|
]
|
|
2748
2745
|
},
|
|
2749
|
-
"simply:cicd:
|
|
2746
|
+
"simply:cicd:notify:teams": {
|
|
2750
2747
|
"aliases": [],
|
|
2751
2748
|
"args": {},
|
|
2752
|
-
"description": "
|
|
2749
|
+
"description": "Posts a payload as-is to one or more Microsoft Teams incoming webhook URLs. Use this for custom notifications that don't fit the built-in `notify project`, `notify happy-soup`, or `notify build` card templates.",
|
|
2753
2750
|
"examples": [
|
|
2754
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2751
|
+
"<%= config.bin %> <%= command.id %> --payload '{\"text\":\"Deployment complete\"}' --webhook-url https://outlook.office.com/webhook/... --enabled"
|
|
2755
2752
|
],
|
|
2756
2753
|
"flags": {
|
|
2757
2754
|
"json": {
|
|
@@ -2769,43 +2766,46 @@
|
|
|
2769
2766
|
"multiple": false,
|
|
2770
2767
|
"type": "option"
|
|
2771
2768
|
},
|
|
2772
|
-
"
|
|
2773
|
-
"
|
|
2774
|
-
"
|
|
2775
|
-
"summary": "
|
|
2769
|
+
"payload": {
|
|
2770
|
+
"name": "payload",
|
|
2771
|
+
"required": true,
|
|
2772
|
+
"summary": "The JSON payload to send to Teams, as a serialized string.",
|
|
2776
2773
|
"hasDynamicHelp": false,
|
|
2777
2774
|
"multiple": false,
|
|
2778
2775
|
"type": "option"
|
|
2779
2776
|
},
|
|
2780
|
-
"
|
|
2781
|
-
"env": "
|
|
2782
|
-
"name": "
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2785
|
-
"
|
|
2777
|
+
"webhook-url": {
|
|
2778
|
+
"env": "SIMPLY_CICD_WEBHOOK_URL",
|
|
2779
|
+
"name": "webhook-url",
|
|
2780
|
+
"required": true,
|
|
2781
|
+
"summary": "The Teams webhook URL to send the payload to.",
|
|
2782
|
+
"hasDynamicHelp": false,
|
|
2783
|
+
"multiple": false,
|
|
2784
|
+
"type": "option"
|
|
2786
2785
|
},
|
|
2787
|
-
"
|
|
2788
|
-
"env": "
|
|
2789
|
-
"name": "
|
|
2790
|
-
"summary": "
|
|
2786
|
+
"enabled": {
|
|
2787
|
+
"env": "SIMPLY_CICD_ENABLED",
|
|
2788
|
+
"name": "enabled",
|
|
2789
|
+
"summary": "Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.",
|
|
2791
2790
|
"allowNo": false,
|
|
2792
2791
|
"type": "boolean"
|
|
2793
2792
|
},
|
|
2794
|
-
"
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2793
|
+
"debug": {
|
|
2794
|
+
"env": "SIMPLY_CICD_DEBUG",
|
|
2795
|
+
"name": "debug",
|
|
2796
|
+
"summary": "Enable verbose debug logging.",
|
|
2797
2797
|
"allowNo": false,
|
|
2798
2798
|
"type": "boolean"
|
|
2799
2799
|
}
|
|
2800
2800
|
},
|
|
2801
2801
|
"hasDynamicHelp": false,
|
|
2802
2802
|
"hiddenAliases": [],
|
|
2803
|
-
"id": "simply:cicd:
|
|
2803
|
+
"id": "simply:cicd:notify:teams",
|
|
2804
2804
|
"pluginAlias": "@simplysf/simply-cicd",
|
|
2805
2805
|
"pluginName": "@simplysf/simply-cicd",
|
|
2806
2806
|
"pluginType": "core",
|
|
2807
2807
|
"strict": true,
|
|
2808
|
-
"summary": "
|
|
2808
|
+
"summary": "Send a serialized JSON payload to a Microsoft Teams webhook.",
|
|
2809
2809
|
"enableJsonFlag": true,
|
|
2810
2810
|
"isESM": true,
|
|
2811
2811
|
"relativePath": [
|
|
@@ -2813,35 +2813,35 @@
|
|
|
2813
2813
|
"commands",
|
|
2814
2814
|
"simply",
|
|
2815
2815
|
"cicd",
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2816
|
+
"notify",
|
|
2817
|
+
"teams.js"
|
|
2818
2818
|
],
|
|
2819
2819
|
"aliasPermutations": [],
|
|
2820
2820
|
"permutations": [
|
|
2821
|
-
"simply:cicd:
|
|
2822
|
-
"cicd:simply:
|
|
2823
|
-
"cicd:
|
|
2824
|
-
"cicd:
|
|
2825
|
-
"simply:
|
|
2826
|
-
"
|
|
2827
|
-
"
|
|
2828
|
-
"
|
|
2829
|
-
"simply:
|
|
2830
|
-
"
|
|
2831
|
-
"
|
|
2832
|
-
"
|
|
2833
|
-
"simply:cicd:
|
|
2834
|
-
"cicd:simply:
|
|
2835
|
-
"cicd:
|
|
2836
|
-
"cicd:
|
|
2837
|
-
"simply:
|
|
2838
|
-
"
|
|
2839
|
-
"
|
|
2840
|
-
"
|
|
2841
|
-
"simply:
|
|
2842
|
-
"
|
|
2843
|
-
"
|
|
2844
|
-
"
|
|
2821
|
+
"simply:cicd:notify:teams",
|
|
2822
|
+
"cicd:simply:notify:teams",
|
|
2823
|
+
"cicd:notify:simply:teams",
|
|
2824
|
+
"cicd:notify:teams:simply",
|
|
2825
|
+
"simply:notify:cicd:teams",
|
|
2826
|
+
"notify:simply:cicd:teams",
|
|
2827
|
+
"notify:cicd:simply:teams",
|
|
2828
|
+
"notify:cicd:teams:simply",
|
|
2829
|
+
"simply:notify:teams:cicd",
|
|
2830
|
+
"notify:simply:teams:cicd",
|
|
2831
|
+
"notify:teams:simply:cicd",
|
|
2832
|
+
"notify:teams:cicd:simply",
|
|
2833
|
+
"simply:cicd:teams:notify",
|
|
2834
|
+
"cicd:simply:teams:notify",
|
|
2835
|
+
"cicd:teams:simply:notify",
|
|
2836
|
+
"cicd:teams:notify:simply",
|
|
2837
|
+
"simply:teams:cicd:notify",
|
|
2838
|
+
"teams:simply:cicd:notify",
|
|
2839
|
+
"teams:cicd:simply:notify",
|
|
2840
|
+
"teams:cicd:notify:simply",
|
|
2841
|
+
"simply:teams:notify:cicd",
|
|
2842
|
+
"teams:simply:notify:cicd",
|
|
2843
|
+
"teams:notify:simply:cicd",
|
|
2844
|
+
"teams:notify:cicd:simply"
|
|
2845
2845
|
]
|
|
2846
2846
|
},
|
|
2847
2847
|
"simply:cicd:deploy:happy-soup:deploy-unpackaged": {
|
|
@@ -6796,5 +6796,5 @@
|
|
|
6796
6796
|
]
|
|
6797
6797
|
}
|
|
6798
6798
|
},
|
|
6799
|
-
"version": "0.22.
|
|
6799
|
+
"version": "0.22.1"
|
|
6800
6800
|
}
|