@simplysf/simply-cicd 0.26.0 → 0.28.0
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 +230 -68
- package/lib/commands/simply/cicd/build/create-fallback-tag.d.ts +1 -1
- package/lib/commands/simply/cicd/build/create-package-version.d.ts +1 -1
- package/lib/commands/simply/cicd/build/generate-flexipage-diff.d.ts +1 -1
- package/lib/commands/simply/cicd/build/generate-flow-diff.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +1 -1
- package/lib/commands/simply/cicd/happy-soup/release/create.d.ts +28 -0
- package/lib/commands/simply/cicd/happy-soup/release/create.js +114 -0
- package/lib/commands/simply/cicd/happy-soup/release/create.js.map +1 -0
- package/lib/commands/simply/cicd/happy-soup/release/stage.d.ts +37 -0
- package/lib/commands/simply/cicd/happy-soup/release/stage.js +111 -0
- package/lib/commands/simply/cicd/happy-soup/release/stage.js.map +1 -0
- package/lib/commands/simply/cicd/notify/build.d.ts +2 -2
- package/lib/commands/simply/cicd/notify/happy-soup.d.ts +2 -2
- package/lib/commands/simply/cicd/notify/project.d.ts +2 -2
- package/lib/commands/simply/cicd/sfdx-dependabot.d.ts +2 -2
- package/lib/commands/simply/cicd/sfdx-dependabot.js +4 -4
- package/lib/commands/simply/cicd/sfdx-dependabot.js.map +1 -1
- package/lib/common/build/flags.d.ts +2 -3
- package/lib/common/deploy/flags.d.ts +1 -2
- package/lib/common/deploy/stageCommand.d.ts +2 -2
- package/lib/common/happySoup/flags.d.ts +27 -0
- package/lib/common/happySoup/flags.js +57 -0
- package/lib/common/happySoup/flags.js.map +1 -0
- package/messages/simply.cicd.build.create-fallback-tag.md +1 -1
- package/messages/simply.cicd.build.create-package-version.md +1 -1
- package/messages/simply.cicd.build.create-scratch.md +1 -1
- package/messages/simply.cicd.build.delete-scratch.md +1 -1
- package/messages/simply.cicd.build.determine-package-changes.md +1 -1
- package/messages/simply.cicd.build.install-dependencies.md +1 -1
- package/messages/simply.cicd.build.publish-utam-page-objects.md +5 -5
- package/messages/simply.cicd.build.push-scratch.md +1 -1
- package/messages/simply.cicd.build.test-scratch.md +1 -1
- package/messages/simply.cicd.happy-soup.md +39 -0
- package/messages/simply.cicd.happy-soup.release.create.md +65 -0
- package/messages/simply.cicd.happy-soup.release.stage.md +75 -0
- package/messages/simply.cicd.sfdx-dependabot.md +2 -2
- package/oclif.manifest.json +602 -107
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -50,6 +50,8 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
|
|
|
50
50
|
- [`sf simply cicd deploy project run-apex-tests`](#sf-simply-cicd-deploy-project-run-apex-tests)
|
|
51
51
|
- [`sf simply cicd deploy project validate`](#sf-simply-cicd-deploy-project-validate)
|
|
52
52
|
- [`sf simply cicd deploy validate`](#sf-simply-cicd-deploy-validate)
|
|
53
|
+
- [`sf simply cicd happy-soup release create`](#sf-simply-cicd-happy-soup-release-create)
|
|
54
|
+
- [`sf simply cicd happy-soup release stage`](#sf-simply-cicd-happy-soup-release-stage)
|
|
53
55
|
- [`sf simply cicd notify build`](#sf-simply-cicd-notify-build)
|
|
54
56
|
- [`sf simply cicd notify happy-soup`](#sf-simply-cicd-notify-happy-soup)
|
|
55
57
|
- [`sf simply cicd notify project`](#sf-simply-cicd-notify-project)
|
|
@@ -93,7 +95,7 @@ EXAMPLES
|
|
|
93
95
|
$ sf simply cicd build check-permission-sets
|
|
94
96
|
```
|
|
95
97
|
|
|
96
|
-
_See code: [lib/commands/simply/cicd/build/check-permission-sets.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
98
|
+
_See code: [lib/commands/simply/cicd/build/check-permission-sets.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/check-permission-sets.js)_
|
|
97
99
|
|
|
98
100
|
## `sf simply cicd build cleanup-scratch-orgs`
|
|
99
101
|
|
|
@@ -124,7 +126,7 @@ EXAMPLES
|
|
|
124
126
|
$ sf simply cicd build cleanup-scratch-orgs --dev-hub my-devhub
|
|
125
127
|
```
|
|
126
128
|
|
|
127
|
-
_See code: [lib/commands/simply/cicd/build/cleanup-scratch-orgs.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
129
|
+
_See code: [lib/commands/simply/cicd/build/cleanup-scratch-orgs.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js)_
|
|
128
130
|
|
|
129
131
|
## `sf simply cicd build create-fallback-tag`
|
|
130
132
|
|
|
@@ -174,14 +176,14 @@ DESCRIPTION
|
|
|
174
176
|
create-package-version` just created and tagged a real package version earlier in the same job. This also keeps a
|
|
175
177
|
retried job from adding a second fallback tag to the same commit.
|
|
176
178
|
|
|
177
|
-
Skipped automatically when `PACKAGE_CHANGED=TRUE` is set in the
|
|
178
|
-
a real package version will be created instead.
|
|
179
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=TRUE` (or the deprecated `PACKAGE_CHANGED=TRUE`) is set in the
|
|
180
|
+
environment (see `build determine-package-changes`) — a real package version will be created instead.
|
|
179
181
|
|
|
180
182
|
EXAMPLES
|
|
181
183
|
$ sf simply cicd build create-fallback-tag --ci-commit-ref-name main --ci-project-path group/project --project-access-token glpat-... --ci-pipeline-id 123
|
|
182
184
|
```
|
|
183
185
|
|
|
184
|
-
_See code: [lib/commands/simply/cicd/build/create-fallback-tag.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
186
|
+
_See code: [lib/commands/simply/cicd/build/create-fallback-tag.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/create-fallback-tag.js)_
|
|
185
187
|
|
|
186
188
|
## `sf simply cicd build create-package-version`
|
|
187
189
|
|
|
@@ -248,13 +250,14 @@ DESCRIPTION
|
|
|
248
250
|
is created. Unless this is a release-branch build, the package directory's `branch` attribute or the CI ref is
|
|
249
251
|
appended as `-<suffix>` after the formatted version.
|
|
250
252
|
|
|
251
|
-
Skipped automatically when `
|
|
253
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
254
|
+
the environment (see `build determine-package-changes`).
|
|
252
255
|
|
|
253
256
|
EXAMPLES
|
|
254
257
|
$ sf simply cicd build create-package-version --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
|
|
255
258
|
```
|
|
256
259
|
|
|
257
|
-
_See code: [lib/commands/simply/cicd/build/create-package-version.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
260
|
+
_See code: [lib/commands/simply/cicd/build/create-package-version.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/create-package-version.js)_
|
|
258
261
|
|
|
259
262
|
## `sf simply cicd build create-scratch`
|
|
260
263
|
|
|
@@ -290,13 +293,14 @@ DESCRIPTION
|
|
|
290
293
|
later build steps, best-effort sets a default `CountryCode`, and assigns any permission sets/licenses declared under
|
|
291
294
|
the default package directory's `packageMetadataAccess`.
|
|
292
295
|
|
|
293
|
-
Skipped automatically when `
|
|
296
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
297
|
+
the environment (see `build determine-package-changes`).
|
|
294
298
|
|
|
295
299
|
EXAMPLES
|
|
296
300
|
$ sf simply cicd build create-scratch --dev-hub my-devhub
|
|
297
301
|
```
|
|
298
302
|
|
|
299
|
-
_See code: [lib/commands/simply/cicd/build/create-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
303
|
+
_See code: [lib/commands/simply/cicd/build/create-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/create-scratch.js)_
|
|
300
304
|
|
|
301
305
|
## `sf simply cicd build delete-scratch`
|
|
302
306
|
|
|
@@ -329,13 +333,14 @@ DESCRIPTION
|
|
|
329
333
|
than thrown, since a scratch org left behind after a failed deletion just needs manual cleanup and shouldn't fail an
|
|
330
334
|
otherwise-successful pipeline run.
|
|
331
335
|
|
|
332
|
-
Skipped automatically when `
|
|
336
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
337
|
+
the environment (see `build determine-package-changes`).
|
|
333
338
|
|
|
334
339
|
EXAMPLES
|
|
335
340
|
$ sf simply cicd build delete-scratch --dev-hub my-devhub
|
|
336
341
|
```
|
|
337
342
|
|
|
338
|
-
_See code: [lib/commands/simply/cicd/build/delete-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
343
|
+
_See code: [lib/commands/simply/cicd/build/delete-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/delete-scratch.js)_
|
|
339
344
|
|
|
340
345
|
## `sf simply cicd build determine-package-changes`
|
|
341
346
|
|
|
@@ -360,15 +365,16 @@ DESCRIPTION
|
|
|
360
365
|
Reads the default package directory from `sfdx-project.json`, finds the closest reachable git tag for its
|
|
361
366
|
`major.minor.patch` (in `SIMPLY_CICD_VERSION_TAG_FORMAT` or the project's `plugins.simply.versionTagFormat`,
|
|
362
367
|
`v<major>.<minor>.<patch>.*` by default), and diffs that tag against `HEAD` for the package directory and
|
|
363
|
-
`sfdx-project.json` itself. Writes `
|
|
364
|
-
|
|
365
|
-
|
|
368
|
+
`sfdx-project.json` itself. Writes `SIMPLY_CICD_PACKAGE_CHANGED=TRUE|FALSE` and `SIMPLY_CICD_LAST_TAG=<tag>` to the
|
|
369
|
+
output file, followed by the same values under the deprecated names `PACKAGE_CHANGED` and `LAST_TAG`, which will be
|
|
370
|
+
removed in a future release. Any failure during detection (missing/invalid sfdx-project.json, git errors) defaults to
|
|
371
|
+
`SIMPLY_CICD_PACKAGE_CHANGED=TRUE`, so a build never silently skips work it should have done.
|
|
366
372
|
|
|
367
373
|
EXAMPLES
|
|
368
374
|
$ sf simply cicd build determine-package-changes --out changes.env
|
|
369
375
|
```
|
|
370
376
|
|
|
371
|
-
_See code: [lib/commands/simply/cicd/build/determine-package-changes.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
377
|
+
_See code: [lib/commands/simply/cicd/build/determine-package-changes.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/determine-package-changes.js)_
|
|
372
378
|
|
|
373
379
|
## `sf simply cicd build generate-flexipage-diff`
|
|
374
380
|
|
|
@@ -426,7 +432,7 @@ EXAMPLES
|
|
|
426
432
|
$ sf simply cicd build generate-flexipage-diff --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-...
|
|
427
433
|
```
|
|
428
434
|
|
|
429
|
-
_See code: [lib/commands/simply/cicd/build/generate-flexipage-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
435
|
+
_See code: [lib/commands/simply/cicd/build/generate-flexipage-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/generate-flexipage-diff.js)_
|
|
430
436
|
|
|
431
437
|
## `sf simply cicd build generate-flow-diff`
|
|
432
438
|
|
|
@@ -484,7 +490,7 @@ EXAMPLES
|
|
|
484
490
|
$ sf simply cicd build generate-flow-diff --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-...
|
|
485
491
|
```
|
|
486
492
|
|
|
487
|
-
_See code: [lib/commands/simply/cicd/build/generate-flow-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
493
|
+
_See code: [lib/commands/simply/cicd/build/generate-flow-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/generate-flow-diff.js)_
|
|
488
494
|
|
|
489
495
|
## `sf simply cicd build install-dependencies`
|
|
490
496
|
|
|
@@ -531,7 +537,8 @@ DESCRIPTION
|
|
|
531
537
|
Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, and installs its
|
|
532
538
|
packaged dependencies.
|
|
533
539
|
|
|
534
|
-
Skipped automatically when `
|
|
540
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
541
|
+
the environment (see `build determine-package-changes`).
|
|
535
542
|
|
|
536
543
|
EXAMPLES
|
|
537
544
|
$ sf simply cicd build install-dependencies --jwt-key-file ./server.key
|
|
@@ -556,7 +563,7 @@ FLAG DESCRIPTIONS
|
|
|
556
563
|
prompt in a pipeline, it is auto-approved.
|
|
557
564
|
```
|
|
558
565
|
|
|
559
|
-
_See code: [lib/commands/simply/cicd/build/install-dependencies.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
566
|
+
_See code: [lib/commands/simply/cicd/build/install-dependencies.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/install-dependencies.js)_
|
|
560
567
|
|
|
561
568
|
## `sf simply cicd build lwc-jest`
|
|
562
569
|
|
|
@@ -596,7 +603,7 @@ EXAMPLES
|
|
|
596
603
|
$ sf simply cicd build lwc-jest --lwc-jest-fail-on-test-failure
|
|
597
604
|
```
|
|
598
605
|
|
|
599
|
-
_See code: [lib/commands/simply/cicd/build/lwc-jest.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
606
|
+
_See code: [lib/commands/simply/cicd/build/lwc-jest.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/lwc-jest.js)_
|
|
600
607
|
|
|
601
608
|
## `sf simply cicd build publish-utam-page-objects`
|
|
602
609
|
|
|
@@ -619,8 +626,8 @@ FLAGS
|
|
|
619
626
|
--dry-run Compile and pack the package without publishing it, copying the tarball into
|
|
620
627
|
the project directory.
|
|
621
628
|
--env-file=<value> [default: subscriberPackageVersionId.env] Dotenv file to read
|
|
622
|
-
|
|
623
|
-
the environment.
|
|
629
|
+
SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID from when it isn't passed as
|
|
630
|
+
a flag or set in the environment.
|
|
624
631
|
--npm-access=<option> [env: SIMPLY_CICD_NPM_ACCESS] Passed through to npm publish --access. Needed
|
|
625
632
|
on npmjs.com to publish a scoped package publicly.
|
|
626
633
|
<options: public|restricted>
|
|
@@ -639,7 +646,8 @@ FLAGS
|
|
|
639
646
|
--packaging-devhub=<value> (required) [env: SIMPLY_CICD_PACKAGING_DEVHUB] Alias of the Dev Hub that owns
|
|
640
647
|
the package version. Must already be authenticated.
|
|
641
648
|
--subscriber-package-version-id=<value> Subscriber package version ID (04t) to publish page objects for. Falls back
|
|
642
|
-
to
|
|
649
|
+
to SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID (or the deprecated
|
|
650
|
+
SUBSCRIBER_PACKAGE_VERSION_ID) in the environment, then to the same key in
|
|
643
651
|
--env-file.
|
|
644
652
|
--utam-version=<value> [default: ^3, env: SIMPLY_CICD_UTAM_VERSION] npm version spec of the UTAM
|
|
645
653
|
compiler to install and compile with.
|
|
@@ -655,14 +663,15 @@ DESCRIPTION
|
|
|
655
663
|
suite can install exactly the page objects that describe the package version it is testing against.
|
|
656
664
|
|
|
657
665
|
Runs after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`,
|
|
658
|
-
from `
|
|
659
|
-
|
|
660
|
-
page object and `**/__utam__/**/*.utam.js`
|
|
661
|
-
|
|
662
|
-
under `pageObjects/` (`.js`, `.cjs`, `.d.ts`,
|
|
663
|
-
`source/`. When page objects use profiles, the profiles
|
|
664
|
-
|
|
665
|
-
|
|
666
|
+
from `SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID` (or the deprecated `SUBSCRIBER_PACKAGE_VERSION_ID`) in the
|
|
667
|
+
environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later
|
|
668
|
+
step in the same job sees it). It copies every `**/__utam__/**/*.utam.json` page object and `**/__utam__/**/*.utam.js`
|
|
669
|
+
utility under the default package directory into a staging directory outside the repo, compiles them there with the
|
|
670
|
+
UTAM compiler, and publishes the result: the compiled page objects under `pageObjects/` (`.js`, `.cjs`, `.d.ts`,
|
|
671
|
+
`.d.cts`), the utilities under `utils/`, and the sources under `source/`. When page objects use profiles, the profiles
|
|
672
|
+
config is published as `profiles.config.json`, for a test suite to pass to its UTAM loader as
|
|
673
|
+
`<package>/profiles.config.json`. The compiler writes nothing into the repo; a relative `lint.lintingOutputFile` in
|
|
674
|
+
the project's compiler config is resolved against the working directory.
|
|
666
675
|
|
|
667
676
|
The npm version is derived from the Salesforce version number the same way `sfdx-project.json` writes a dependency
|
|
668
677
|
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
|
|
@@ -672,16 +681,17 @@ DESCRIPTION
|
|
|
672
681
|
The compiler is installed at run time rather than shipped with this plugin, so nothing is downloaded unless the
|
|
673
682
|
command actually runs.
|
|
674
683
|
|
|
675
|
-
Skips (without failing) when `PACKAGE_CHANGED=FALSE` is set in
|
|
676
|
-
determine-package-changes`), when `--disabled` is passed, when no package version ID can
|
|
677
|
-
authors no page objects, or when this exact version is already on the registry — which is
|
|
678
|
-
that died after publishing succeed rather than fail on a version conflict. Any other failure
|
|
679
|
-
two page objects (or utilities) with the same file name, which would compile to the same
|
|
680
|
-
that leaves any page object out: a missing or empty page-object package would silently
|
|
681
|
-
that version.
|
|
684
|
+
Skips (without failing) when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
685
|
+
the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can
|
|
686
|
+
be found, when the project authors no page objects, or when this exact version is already on the registry — which is
|
|
687
|
+
what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure
|
|
688
|
+
fails the job, including two page objects (or utilities) with the same file name, which would compile to the same
|
|
689
|
+
output file, and a compile that leaves any page object out: a missing or empty page-object package would silently
|
|
690
|
+
break every UI test pinned to that version.
|
|
682
691
|
|
|
683
|
-
On success, appends `
|
|
684
|
-
|
|
692
|
+
On success, appends `SIMPLY_CICD_UTAM_PAGE_OBJECTS_PACKAGE` and `SIMPLY_CICD_UTAM_PAGE_OBJECTS_VERSION` to `--out`
|
|
693
|
+
(plus the deprecated `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION`, which will be removed in a future
|
|
694
|
+
release), so a downstream job can install the package without knowing the mapping rule.
|
|
685
695
|
|
|
686
696
|
Registry authentication is not this command's job: set it up before the command runs, in user-level npm config (for
|
|
687
697
|
example `npm config set -- "//<registry host and path>/:_authToken=<token>"`, which writes `~/.npmrc`) or in an
|
|
@@ -708,7 +718,7 @@ EXAMPLES
|
|
|
708
718
|
--subscriber-package-version-id 04tXXXXXXXXXXXXXXX --dry-run
|
|
709
719
|
```
|
|
710
720
|
|
|
711
|
-
_See code: [lib/commands/simply/cicd/build/publish-utam-page-objects.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
721
|
+
_See code: [lib/commands/simply/cicd/build/publish-utam-page-objects.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/publish-utam-page-objects.js)_
|
|
712
722
|
|
|
713
723
|
## `sf simply cicd build push-scratch`
|
|
714
724
|
|
|
@@ -743,13 +753,14 @@ DESCRIPTION
|
|
|
743
753
|
start`. When `--scratch-org-source-dir` is given, also deploys the default package directory's `seedMetadata.path`, if
|
|
744
754
|
declared in `sfdx-project.json`.
|
|
745
755
|
|
|
746
|
-
Skipped automatically when `
|
|
756
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
757
|
+
the environment (see `build determine-package-changes`).
|
|
747
758
|
|
|
748
759
|
EXAMPLES
|
|
749
760
|
$ sf simply cicd build push-scratch --jwt-key-file ./server.key
|
|
750
761
|
```
|
|
751
762
|
|
|
752
|
-
_See code: [lib/commands/simply/cicd/build/push-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
763
|
+
_See code: [lib/commands/simply/cicd/build/push-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/push-scratch.js)_
|
|
753
764
|
|
|
754
765
|
## `sf simply cicd build test-scratch`
|
|
755
766
|
|
|
@@ -779,13 +790,14 @@ DESCRIPTION
|
|
|
779
790
|
Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, and runs its
|
|
780
791
|
Apex tests with `RunLocalTests`.
|
|
781
792
|
|
|
782
|
-
Skipped automatically when `
|
|
793
|
+
Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in
|
|
794
|
+
the environment (see `build determine-package-changes`).
|
|
783
795
|
|
|
784
796
|
EXAMPLES
|
|
785
797
|
$ sf simply cicd build test-scratch --jwt-key-file ./server.key
|
|
786
798
|
```
|
|
787
799
|
|
|
788
|
-
_See code: [lib/commands/simply/cicd/build/test-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
800
|
+
_See code: [lib/commands/simply/cicd/build/test-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/build/test-scratch.js)_
|
|
789
801
|
|
|
790
802
|
## `sf simply cicd deploy happy-soup deploy-unpackaged`
|
|
791
803
|
|
|
@@ -836,7 +848,7 @@ EXAMPLES
|
|
|
836
848
|
$ sf simply cicd deploy happy-soup deploy-unpackaged --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
837
849
|
```
|
|
838
850
|
|
|
839
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
851
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js)_
|
|
840
852
|
|
|
841
853
|
## `sf simply cicd deploy happy-soup deployment-close-out`
|
|
842
854
|
|
|
@@ -890,7 +902,7 @@ EXAMPLES
|
|
|
890
902
|
$ sf simply cicd deploy happy-soup deployment-close-out --ci-commit-ref-name main --ci-pipeline-id 123 --ci-project-path group/project --project-access-token $PROJECT_ACCESS_TOKEN --deploy-release-date 2026-01-15
|
|
891
903
|
```
|
|
892
904
|
|
|
893
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
905
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js)_
|
|
894
906
|
|
|
895
907
|
## `sf simply cicd deploy happy-soup install-packaged`
|
|
896
908
|
|
|
@@ -950,7 +962,7 @@ FLAG DESCRIPTIONS
|
|
|
950
962
|
prompt in a pipeline, it is auto-approved.
|
|
951
963
|
```
|
|
952
964
|
|
|
953
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
965
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js)_
|
|
954
966
|
|
|
955
967
|
## `sf simply cicd deploy happy-soup post-deploy`
|
|
956
968
|
|
|
@@ -1001,7 +1013,7 @@ EXAMPLES
|
|
|
1001
1013
|
$ sf simply cicd deploy happy-soup post-deploy --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1002
1014
|
```
|
|
1003
1015
|
|
|
1004
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1016
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js)_
|
|
1005
1017
|
|
|
1006
1018
|
## `sf simply cicd deploy happy-soup post-destructive`
|
|
1007
1019
|
|
|
@@ -1052,7 +1064,7 @@ EXAMPLES
|
|
|
1052
1064
|
$ sf simply cicd deploy happy-soup post-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1053
1065
|
```
|
|
1054
1066
|
|
|
1055
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1067
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js)_
|
|
1056
1068
|
|
|
1057
1069
|
## `sf simply cicd deploy happy-soup pre-destructive`
|
|
1058
1070
|
|
|
@@ -1103,7 +1115,7 @@ EXAMPLES
|
|
|
1103
1115
|
$ sf simply cicd deploy happy-soup pre-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1104
1116
|
```
|
|
1105
1117
|
|
|
1106
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1118
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js)_
|
|
1107
1119
|
|
|
1108
1120
|
## `sf simply cicd deploy happy-soup tag-deployment`
|
|
1109
1121
|
|
|
@@ -1155,7 +1167,7 @@ EXAMPLES
|
|
|
1155
1167
|
$ sf simply cicd deploy happy-soup tag-deployment --alias my-org --ci-pipeline-id 123 --ci-pipeline-url https://gitlab.example.com/group/project/-/pipelines/123 --ci-project-path group/project --ci-merge-request-iid 45 --ci-merge-request-project-url https://gitlab.example.com/group/project --project-access-token $PROJECT_ACCESS_TOKEN
|
|
1156
1168
|
```
|
|
1157
1169
|
|
|
1158
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1170
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js)_
|
|
1159
1171
|
|
|
1160
1172
|
## `sf simply cicd deploy happy-soup validate`
|
|
1161
1173
|
|
|
@@ -1193,7 +1205,7 @@ EXAMPLES
|
|
|
1193
1205
|
$ sf simply cicd deploy happy-soup validate --deploy-config-file deployment-configs/uat.json --deploy-rules-file config/deploy-rules.json
|
|
1194
1206
|
```
|
|
1195
1207
|
|
|
1196
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1208
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/validate.js)_
|
|
1197
1209
|
|
|
1198
1210
|
## `sf simply cicd deploy project deploy-unpackaged`
|
|
1199
1211
|
|
|
@@ -1241,7 +1253,7 @@ EXAMPLES
|
|
|
1241
1253
|
$ sf simply cicd deploy project deploy-unpackaged --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1242
1254
|
```
|
|
1243
1255
|
|
|
1244
|
-
_See code: [lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1256
|
+
_See code: [lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js)_
|
|
1245
1257
|
|
|
1246
1258
|
## `sf simply cicd deploy project install-packaged`
|
|
1247
1259
|
|
|
@@ -1305,7 +1317,7 @@ FLAG DESCRIPTIONS
|
|
|
1305
1317
|
prompt in a pipeline, it is auto-approved.
|
|
1306
1318
|
```
|
|
1307
1319
|
|
|
1308
|
-
_See code: [lib/commands/simply/cicd/deploy/project/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1320
|
+
_See code: [lib/commands/simply/cicd/deploy/project/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/install-packaged.js)_
|
|
1309
1321
|
|
|
1310
1322
|
## `sf simply cicd deploy project post-deploy`
|
|
1311
1323
|
|
|
@@ -1353,7 +1365,7 @@ EXAMPLES
|
|
|
1353
1365
|
$ sf simply cicd deploy project post-deploy --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1354
1366
|
```
|
|
1355
1367
|
|
|
1356
|
-
_See code: [lib/commands/simply/cicd/deploy/project/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1368
|
+
_See code: [lib/commands/simply/cicd/deploy/project/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/post-deploy.js)_
|
|
1357
1369
|
|
|
1358
1370
|
## `sf simply cicd deploy project post-destructive`
|
|
1359
1371
|
|
|
@@ -1401,7 +1413,7 @@ EXAMPLES
|
|
|
1401
1413
|
$ sf simply cicd deploy project post-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1402
1414
|
```
|
|
1403
1415
|
|
|
1404
|
-
_See code: [lib/commands/simply/cicd/deploy/project/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1416
|
+
_See code: [lib/commands/simply/cicd/deploy/project/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/post-destructive.js)_
|
|
1405
1417
|
|
|
1406
1418
|
## `sf simply cicd deploy project pre-destructive`
|
|
1407
1419
|
|
|
@@ -1449,7 +1461,7 @@ EXAMPLES
|
|
|
1449
1461
|
$ sf simply cicd deploy project pre-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1450
1462
|
```
|
|
1451
1463
|
|
|
1452
|
-
_See code: [lib/commands/simply/cicd/deploy/project/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1464
|
+
_See code: [lib/commands/simply/cicd/deploy/project/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/pre-destructive.js)_
|
|
1453
1465
|
|
|
1454
1466
|
## `sf simply cicd deploy project run-apex-tests`
|
|
1455
1467
|
|
|
@@ -1496,7 +1508,7 @@ EXAMPLES
|
|
|
1496
1508
|
$ sf simply cicd deploy project run-apex-tests --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1497
1509
|
```
|
|
1498
1510
|
|
|
1499
|
-
_See code: [lib/commands/simply/cicd/deploy/project/run-apex-tests.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1511
|
+
_See code: [lib/commands/simply/cicd/deploy/project/run-apex-tests.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/run-apex-tests.js)_
|
|
1500
1512
|
|
|
1501
1513
|
## `sf simply cicd deploy project validate`
|
|
1502
1514
|
|
|
@@ -1531,7 +1543,7 @@ EXAMPLES
|
|
|
1531
1543
|
$ sf simply cicd deploy project validate --deploy-config-file config/deploy.json --deploy-rules-file config/deploy-rules.json
|
|
1532
1544
|
```
|
|
1533
1545
|
|
|
1534
|
-
_See code: [lib/commands/simply/cicd/deploy/project/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1546
|
+
_See code: [lib/commands/simply/cicd/deploy/project/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/validate.js)_
|
|
1535
1547
|
|
|
1536
1548
|
## `sf simply cicd deploy validate`
|
|
1537
1549
|
|
|
@@ -1565,7 +1577,156 @@ EXAMPLES
|
|
|
1565
1577
|
$ sf simply cicd deploy validate --deploy-config-file config/deploy.json --deploy-rules-file config/deploy-rules.json
|
|
1566
1578
|
```
|
|
1567
1579
|
|
|
1568
|
-
_See code: [lib/commands/simply/cicd/deploy/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1580
|
+
_See code: [lib/commands/simply/cicd/deploy/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/deploy/validate.js)_
|
|
1581
|
+
|
|
1582
|
+
## `sf simply cicd happy-soup release create`
|
|
1583
|
+
|
|
1584
|
+
Open a dated happy-soup release: create release/YYYY-MM-DD with its deployment files, push it, and open a draft merge request.
|
|
1585
|
+
|
|
1586
|
+
```
|
|
1587
|
+
USAGE
|
|
1588
|
+
$ sf simply cicd happy-soup release create [--json] [--flags-dir <value>] [-d <value>] [-c <value>] [-b <value>] [--remote <value>]
|
|
1589
|
+
[--dry-run] [--no-prompt] [--message <value>] [--no-push] [--no-merge-request] [--vcs-provider github|gitlab]
|
|
1590
|
+
[--vcs-host <value>] [--vcs-project-id <value>] [--vcs-token <value>]
|
|
1591
|
+
|
|
1592
|
+
FLAGS
|
|
1593
|
+
-b, --base-branch=<value> Branch to start from. Defaults to productionBranch in the release configuration, which
|
|
1594
|
+
defaults to environment/production.
|
|
1595
|
+
-c, --config=<value> Path to the release configuration file. Defaults to config/release.json or release.json,
|
|
1596
|
+
searched for from the current directory up to the repository root.
|
|
1597
|
+
-d, --date=<value> Release date, in YYYY-MM-DD form. Asked for when omitted in a terminal.
|
|
1598
|
+
--dry-run Print the plan without changing anything.
|
|
1599
|
+
--message=<value> Commit message template for the deployment files, with an optional {DATE} placeholder.
|
|
1600
|
+
Defaults to "chore: set up release {DATE}".
|
|
1601
|
+
--no-merge-request Push the branch without opening a draft merge request.
|
|
1602
|
+
--no-prompt Don't ask for anything. Values that would be asked for must then be passed as flags.
|
|
1603
|
+
--no-push Create and commit the branch locally only. Implies --no-merge-request.
|
|
1604
|
+
--remote=<value> [default: origin] Remote to fetch from and push to.
|
|
1605
|
+
--vcs-host=<value> VCS hostname, for a self-hosted instance. Defaults to SIMPLY_VCS_HOST, then vcs.host in
|
|
1606
|
+
.sfdevrc.json.
|
|
1607
|
+
--vcs-project-id=<value> GitLab project ID or GitHub owner/repo. Defaults to SIMPLY_VCS_PROJECT_ID, then
|
|
1608
|
+
vcs.projectId in .sfdevrc.json.
|
|
1609
|
+
--vcs-provider=<option> VCS platform for the merge request. Defaults to SIMPLY_VCS_PROVIDER, then vcs.provider
|
|
1610
|
+
in .sfdevrc.json, then gitlab.
|
|
1611
|
+
<options: github|gitlab>
|
|
1612
|
+
--vcs-token=<value> [env: SIMPLY_VCS_TOKEN] VCS API token for the merge request.
|
|
1613
|
+
|
|
1614
|
+
GLOBAL FLAGS
|
|
1615
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1616
|
+
--json Format output as json.
|
|
1617
|
+
|
|
1618
|
+
DESCRIPTION
|
|
1619
|
+
Open a dated happy-soup release: create release/YYYY-MM-DD with its deployment files, push it, and open a draft merge
|
|
1620
|
+
request.
|
|
1621
|
+
|
|
1622
|
+
Run this from a local clone of a happy-soup repository. It creates `release/<date>` from the remote's copy of the
|
|
1623
|
+
production branch (`productionBranch` in `config/release.json`, by default `environment/production`), without checking
|
|
1624
|
+
out or pulling any other branch, and checks it out.
|
|
1625
|
+
|
|
1626
|
+
It then copies the deployment steps template to `deployment-steps/<date>.md` and the deployment configs template to
|
|
1627
|
+
`deployment-configs/<date>.json`, which is the file the `simply cicd deploy happy-soup` stages use for this branch,
|
|
1628
|
+
and commits both in one commit. The templates are read from the base branch, from the paths `deploymentStepsTemplate`
|
|
1629
|
+
and `deploymentConfigsTemplate` in `config/release.json` (by default `xdocs/deployment-steps-template.md` and
|
|
1630
|
+
`xdocs/deployment-configs-template.json`). A template that doesn't exist is skipped and reported. A deployment file
|
|
1631
|
+
that already exists on the base branch is left alone.
|
|
1632
|
+
|
|
1633
|
+
Finally, it pushes the branch and opens a draft merge request back into the base branch, unless `--no-push` or
|
|
1634
|
+
`--no-merge-request`. The merge request needs a token, from `--vcs-token` or `SIMPLY_VCS_TOKEN`, and a project ID,
|
|
1635
|
+
from `--vcs-project-id`, `SIMPLY_VCS_PROJECT_ID`, or `vcs.projectId` in `.sfdevrc.json`. These are checked before
|
|
1636
|
+
anything changes.
|
|
1637
|
+
|
|
1638
|
+
A working tree with uncommitted changes is refused. Nothing is ever force-checked-out, reset, or force-pushed, and
|
|
1639
|
+
your repository's commit hooks always run. If a hook rejects the commit, nothing is pushed and the files stay staged:
|
|
1640
|
+
commit them, push the branch, and run this command again to open the merge request.
|
|
1641
|
+
|
|
1642
|
+
If the branch is already on the remote, nothing is created: it is checked out (a local copy that is only behind is
|
|
1643
|
+
fast-forwarded), and the merge request is opened if it's missing.
|
|
1644
|
+
|
|
1645
|
+
EXAMPLES
|
|
1646
|
+
Open the release for 19 October 2026:
|
|
1647
|
+
|
|
1648
|
+
$ sf simply cicd happy-soup release create --date 2026-10-19
|
|
1649
|
+
|
|
1650
|
+
See what would happen, without changing anything:
|
|
1651
|
+
|
|
1652
|
+
$ sf simply cicd happy-soup release create --date 2026-10-19 --dry-run
|
|
1653
|
+
|
|
1654
|
+
Ask for the date:
|
|
1655
|
+
|
|
1656
|
+
$ sf simply cicd happy-soup release create
|
|
1657
|
+
|
|
1658
|
+
Create the branch and its files, but push and open the merge request yourself:
|
|
1659
|
+
|
|
1660
|
+
$ sf simply cicd happy-soup release create --date 2026-10-19 --no-push
|
|
1661
|
+
|
|
1662
|
+
Use a commit message your repository's rules accept:
|
|
1663
|
+
|
|
1664
|
+
$ sf simply cicd happy-soup release create --date 2026-10-19 --message "chore: PROJ-123 set up release {DATE}"
|
|
1665
|
+
```
|
|
1666
|
+
|
|
1667
|
+
_See code: [lib/commands/simply/cicd/happy-soup/release/create.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/happy-soup/release/create.js)_
|
|
1668
|
+
|
|
1669
|
+
## `sf simply cicd happy-soup release stage`
|
|
1670
|
+
|
|
1671
|
+
Start a staging branch, <team>/<app>/<name>, for work headed into a happy-soup release.
|
|
1672
|
+
|
|
1673
|
+
```
|
|
1674
|
+
USAGE
|
|
1675
|
+
$ sf simply cicd happy-soup release stage [--json] [--flags-dir <value>] [--team <value>] [-a <value>] [-n <value>] [-c <value>] [-b
|
|
1676
|
+
<value>] [--remote <value>] [--dry-run] [--no-prompt]
|
|
1677
|
+
|
|
1678
|
+
FLAGS
|
|
1679
|
+
-a, --app=<value> Application, the second part of the branch name. Asked for when omitted in a terminal.
|
|
1680
|
+
-b, --base-branch=<value> Branch to start from. Defaults to productionBranch in the release configuration, which
|
|
1681
|
+
defaults to environment/production.
|
|
1682
|
+
-c, --config=<value> Path to the release configuration file. Defaults to config/release.json or release.json,
|
|
1683
|
+
searched for from the current directory up to the repository root.
|
|
1684
|
+
-n, --name=<value> Release name or ticket, the last part of the branch name, such as PROJ-1058. Asked for when
|
|
1685
|
+
omitted in a terminal.
|
|
1686
|
+
--dry-run Print the plan without changing anything.
|
|
1687
|
+
--no-prompt Don't ask for anything. Values that would be asked for must then be passed as flags.
|
|
1688
|
+
--remote=<value> [default: origin] Remote to fetch from and push to.
|
|
1689
|
+
--team=<value> Team, the first part of the branch name. Asked for when omitted in a terminal.
|
|
1690
|
+
|
|
1691
|
+
GLOBAL FLAGS
|
|
1692
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1693
|
+
--json Format output as json.
|
|
1694
|
+
|
|
1695
|
+
DESCRIPTION
|
|
1696
|
+
Start a staging branch, <team>/<app>/<name>, for work headed into a happy-soup release.
|
|
1697
|
+
|
|
1698
|
+
Run this from a local clone of a happy-soup repository. It creates `<team>/<app>/<name>`, such as
|
|
1699
|
+
`platform/core/PROJ-1058`, from the remote's copy of the base branch, without checking out or pulling any other
|
|
1700
|
+
branch, and checks it out. The branch isn't pushed.
|
|
1701
|
+
|
|
1702
|
+
In a terminal, anything you leave out is asked for. The teams, and each team's applications, come from
|
|
1703
|
+
`config/release.json`. A team with no applications of its own offers the file's top-level `applications`. Each list
|
|
1704
|
+
ends with "Other", for a name that isn't configured. The base branches offered are the remote's `environment/*` and
|
|
1705
|
+
`release/*` branches, with `productionBranch` first. Without prompts, `--team`, `--app`, and `--name` are required,
|
|
1706
|
+
and the base defaults to `productionBranch` (by default `environment/production`).
|
|
1707
|
+
|
|
1708
|
+
`--team` matches a configured team ignoring case. Each part of the name must be a single valid git branch component:
|
|
1709
|
+
no `/`, spaces, `..`, or the other characters git refuses.
|
|
1710
|
+
|
|
1711
|
+
A working tree with uncommitted changes is refused. If the branch already exists, on the remote or only locally, it is
|
|
1712
|
+
checked out instead of created.
|
|
1713
|
+
|
|
1714
|
+
EXAMPLES
|
|
1715
|
+
Start platform/core/PROJ-1058 from the production branch:
|
|
1716
|
+
|
|
1717
|
+
$ sf simply cicd happy-soup release stage --team platform --app core --name PROJ-1058
|
|
1718
|
+
|
|
1719
|
+
Stage from a release branch instead:
|
|
1720
|
+
|
|
1721
|
+
$ sf simply cicd happy-soup release stage --team platform --app core --name PROJ-1058 --base-branch \
|
|
1722
|
+
release/2026-10-19
|
|
1723
|
+
|
|
1724
|
+
Pick the team, application, and base branch from lists:
|
|
1725
|
+
|
|
1726
|
+
$ sf simply cicd happy-soup release stage
|
|
1727
|
+
```
|
|
1728
|
+
|
|
1729
|
+
_See code: [lib/commands/simply/cicd/happy-soup/release/stage.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/happy-soup/release/stage.js)_
|
|
1569
1730
|
|
|
1570
1731
|
## `sf simply cicd notify build`
|
|
1571
1732
|
|
|
@@ -1641,7 +1802,7 @@ EXAMPLES
|
|
|
1641
1802
|
--teams-webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1642
1803
|
```
|
|
1643
1804
|
|
|
1644
|
-
_See code: [lib/commands/simply/cicd/notify/build.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1805
|
+
_See code: [lib/commands/simply/cicd/notify/build.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/notify/build.js)_
|
|
1645
1806
|
|
|
1646
1807
|
## `sf simply cicd notify happy-soup`
|
|
1647
1808
|
|
|
@@ -1714,7 +1875,7 @@ EXAMPLES
|
|
|
1714
1875
|
$ sf simply cicd notify happy-soup --after-script --is-final-job --notify-on-completion --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1715
1876
|
```
|
|
1716
1877
|
|
|
1717
|
-
_See code: [lib/commands/simply/cicd/notify/happy-soup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1878
|
+
_See code: [lib/commands/simply/cicd/notify/happy-soup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/notify/happy-soup.js)_
|
|
1718
1879
|
|
|
1719
1880
|
## `sf simply cicd notify project`
|
|
1720
1881
|
|
|
@@ -1788,7 +1949,7 @@ EXAMPLES
|
|
|
1788
1949
|
$ sf simply cicd notify project --after-script --ci-job-stage post-destructive --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1789
1950
|
```
|
|
1790
1951
|
|
|
1791
|
-
_See code: [lib/commands/simply/cicd/notify/project.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1952
|
+
_See code: [lib/commands/simply/cicd/notify/project.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/notify/project.js)_
|
|
1792
1953
|
|
|
1793
1954
|
## `sf simply cicd notify teams`
|
|
1794
1955
|
|
|
@@ -1820,7 +1981,7 @@ EXAMPLES
|
|
|
1820
1981
|
$ sf simply cicd notify teams --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1821
1982
|
```
|
|
1822
1983
|
|
|
1823
|
-
_See code: [lib/commands/simply/cicd/notify/teams.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
1984
|
+
_See code: [lib/commands/simply/cicd/notify/teams.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/notify/teams.js)_
|
|
1824
1985
|
|
|
1825
1986
|
## `sf simply cicd sfdx-dependabot`
|
|
1826
1987
|
|
|
@@ -1872,8 +2033,9 @@ DESCRIPTION
|
|
|
1872
2033
|
Automatically update downstream projects with a newly released Salesforce 2GP package version.
|
|
1873
2034
|
|
|
1874
2035
|
Discovers repositories under a group or organization, reads each one's `sfdx-project.json`, and for any repository
|
|
1875
|
-
that both depends on the released package and has opted in via the `
|
|
1876
|
-
variable
|
|
2036
|
+
that both depends on the released package and has opted in via the `SIMPLY_CICD_SFDX_DEPENDABOT_ENABLED=TRUE`
|
|
2037
|
+
repository-level CI variable (the deprecated `SFDX_DEPENDABOT_ENABLED=TRUE` still works, with a warning, until a
|
|
2038
|
+
future release), opens (or updates) a change request bumping the dependency to the newly released version.
|
|
1877
2039
|
|
|
1878
2040
|
Each eligible repository must explicitly opt in — this command never touches a downstream repository's dependencies
|
|
1879
2041
|
without that variable set.
|
|
@@ -1902,7 +2064,7 @@ FLAG DESCRIPTIONS
|
|
|
1902
2064
|
Defaults to the selected provider's public instance if not provided.
|
|
1903
2065
|
```
|
|
1904
2066
|
|
|
1905
|
-
_See code: [lib/commands/simply/cicd/sfdx-dependabot.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.
|
|
2067
|
+
_See code: [lib/commands/simply/cicd/sfdx-dependabot.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.28.0/packages/simply-cicd/lib/commands/simply/cicd/sfdx-dependabot.js)_
|
|
1906
2068
|
<!-- commandsstop -->
|
|
1907
2069
|
|
|
1908
2070
|
## License
|