@simplysf/simply-cicd 0.6.1 → 0.8.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 +137 -271
- package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.d.ts +1 -5
- package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js +2 -5
- package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js.map +1 -1
- package/lib/commands/simply/cicd/build/create-package-version.d.ts +1 -4
- package/lib/commands/simply/cicd/build/create-package-version.js +5 -19
- package/lib/commands/simply/cicd/build/create-package-version.js.map +1 -1
- package/lib/commands/simply/cicd/build/create-scratch.d.ts +1 -5
- package/lib/commands/simply/cicd/build/create-scratch.js +2 -6
- package/lib/commands/simply/cicd/build/create-scratch.js.map +1 -1
- package/lib/commands/simply/cicd/build/delete-scratch.d.ts +2 -5
- package/lib/commands/simply/cicd/build/delete-scratch.js +3 -5
- package/lib/commands/simply/cicd/build/delete-scratch.js.map +1 -1
- package/lib/commands/simply/cicd/build/install-dependencies.d.ts +1 -1
- package/lib/commands/simply/cicd/build/push-scratch.d.ts +1 -1
- package/lib/commands/simply/cicd/build/test-scratch.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +2 -9
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js +4 -19
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js.map +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js +0 -5
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js.map +1 -1
- package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/project/install-packaged.js +0 -5
- package/lib/commands/simply/cicd/deploy/project/install-packaged.js.map +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +1 -6
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js +0 -5
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js.map +1 -1
- package/lib/commands/simply/cicd/notify/project.d.ts +1 -7
- package/lib/commands/simply/cicd/notify/project.js +4 -31
- package/lib/commands/simply/cicd/notify/project.js.map +1 -1
- package/lib/common/build/cleanupScratchOrgs.d.ts +6 -7
- package/lib/common/build/cleanupScratchOrgs.js +10 -10
- package/lib/common/build/cleanupScratchOrgs.js.map +1 -1
- package/lib/common/build/createPackageVersion.d.ts +2 -4
- package/lib/common/build/createPackageVersion.js +8 -11
- package/lib/common/build/createPackageVersion.js.map +1 -1
- package/lib/common/build/createScratchOrg.d.ts +3 -3
- package/lib/common/build/createScratchOrg.js +11 -12
- package/lib/common/build/createScratchOrg.js.map +1 -1
- package/lib/common/build/deleteScratchOrg.d.ts +6 -5
- package/lib/common/build/deleteScratchOrg.js +23 -19
- package/lib/common/build/deleteScratchOrg.js.map +1 -1
- package/lib/common/build/devHubs.d.ts +9 -5
- package/lib/common/build/devHubs.js +25 -13
- package/lib/common/build/devHubs.js.map +1 -1
- package/lib/common/build/flags.d.ts +15 -6
- package/lib/common/build/flags.js +16 -17
- package/lib/common/build/flags.js.map +1 -1
- package/lib/common/build/installDependencies.d.ts +2 -1
- package/lib/common/build/installDependencies.js +2 -5
- package/lib/common/build/installDependencies.js.map +1 -1
- package/lib/common/build/pushScratch.d.ts +2 -1
- package/lib/common/build/pushScratch.js +2 -5
- package/lib/common/build/pushScratch.js.map +1 -1
- package/lib/common/build/scratchOrgAuth.d.ts +18 -0
- package/lib/common/build/scratchOrgAuth.js +52 -0
- package/lib/common/build/scratchOrgAuth.js.map +1 -0
- package/lib/common/build/scratchOrgInfo.d.ts +4 -0
- package/lib/common/build/scratchOrgInfo.js.map +1 -1
- package/lib/common/build/testScratch.d.ts +2 -1
- package/lib/common/build/testScratch.js +2 -5
- package/lib/common/build/testScratch.js.map +1 -1
- package/lib/common/deploy/deployCommon.d.ts +12 -10
- package/lib/common/deploy/deployCommon.js +10 -13
- package/lib/common/deploy/deployCommon.js.map +1 -1
- package/lib/common/deploy/deployHappySoup.d.ts +1 -3
- package/lib/common/deploy/deployHappySoup.js +8 -17
- package/lib/common/deploy/deployHappySoup.js.map +1 -1
- package/lib/common/deploy/deployProject.js +1 -3
- package/lib/common/deploy/deployProject.js.map +1 -1
- package/lib/common/deploy/flags.d.ts +6 -7
- package/lib/common/deploy/flags.js +9 -12
- package/lib/common/deploy/flags.js.map +1 -1
- package/lib/common/deploy/stageCommand.d.ts +3 -18
- package/lib/common/deploy/stageCommand.js +0 -10
- package/lib/common/deploy/stageCommand.js.map +1 -1
- package/lib/common/notify/projectNotification.d.ts +5 -17
- package/lib/common/notify/projectNotification.js +24 -51
- package/lib/common/notify/projectNotification.js.map +1 -1
- package/lib/common/sfAuth.d.ts +0 -11
- package/lib/common/sfAuth.js +0 -21
- package/lib/common/sfAuth.js.map +1 -1
- package/lib/common/sfPackages.d.ts +2 -5
- package/lib/common/sfPackages.js +8 -25
- package/lib/common/sfPackages.js.map +1 -1
- package/messages/simply.cicd.build.cleanup-scratch-orgs.md +2 -2
- package/messages/simply.cicd.build.create-package-version.md +3 -11
- package/messages/simply.cicd.build.create-scratch.md +2 -2
- package/messages/simply.cicd.build.delete-scratch.md +2 -2
- package/messages/simply.cicd.build.md +3 -15
- package/messages/simply.cicd.deploy.happy-soup.install-packaged.md +3 -11
- package/messages/simply.cicd.notify.project.md +4 -28
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -59,21 +59,13 @@ Delete scratch orgs older than 3 hours from every configured Dev Hub.
|
|
|
59
59
|
|
|
60
60
|
```
|
|
61
61
|
USAGE
|
|
62
|
-
$ sf simply cicd build cleanup-scratch-orgs --dev-hub
|
|
63
|
-
--dev-hub-instance-url <value>... --jwt-key-file <value> [--json] [--flags-dir <value>] [--debug] [--disabled]
|
|
62
|
+
$ sf simply cicd build cleanup-scratch-orgs --dev-hub <value>... [--json] [--flags-dir <value>] [--debug] [--disabled]
|
|
64
63
|
|
|
65
64
|
FLAGS
|
|
66
|
-
--debug
|
|
67
|
-
--dev-hub
|
|
68
|
-
|
|
69
|
-
--
|
|
70
|
-
--dev-hub-username, --dev-hub-client-id, and --dev-hub-instance-url (in the same
|
|
71
|
-
order) for each Dev Hub to try.
|
|
72
|
-
--dev-hub-username=<value>... (required) Username of a Dev Hub.
|
|
73
|
-
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of
|
|
74
|
-
running it.
|
|
75
|
-
--jwt-key-file=<value> (required) [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used
|
|
76
|
-
for authentication.
|
|
65
|
+
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
66
|
+
--dev-hub=<value>... (required) Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev Hub
|
|
67
|
+
to try, in order.
|
|
68
|
+
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of running it.
|
|
77
69
|
|
|
78
70
|
GLOBAL FLAGS
|
|
79
71
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -83,13 +75,14 @@ DESCRIPTION
|
|
|
83
75
|
Delete scratch orgs older than 3 hours from every configured Dev Hub.
|
|
84
76
|
|
|
85
77
|
For each Dev Hub, queries `ActiveScratchOrg` records created more than 3 hours ago and bulk-deletes them. Useful for
|
|
86
|
-
keeping a shared Dev Hub's scratch org allotment from being exhausted by abandoned CI runs.
|
|
78
|
+
keeping a shared Dev Hub's scratch org allotment from being exhausted by abandoned CI runs. Every `--dev-hub` alias
|
|
79
|
+
must already be authenticated.
|
|
87
80
|
|
|
88
81
|
EXAMPLES
|
|
89
|
-
$ sf simply cicd build cleanup-scratch-orgs --dev-hub
|
|
82
|
+
$ sf simply cicd build cleanup-scratch-orgs --dev-hub my-devhub
|
|
90
83
|
```
|
|
91
84
|
|
|
92
|
-
_See code: [lib/commands/simply/cicd/build/cleanup-scratch-orgs.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
85
|
+
_See code: [lib/commands/simply/cicd/build/cleanup-scratch-orgs.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js)_
|
|
93
86
|
|
|
94
87
|
## `sf simply cicd build create-fallback-tag`
|
|
95
88
|
|
|
@@ -140,7 +133,7 @@ EXAMPLES
|
|
|
140
133
|
$ 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
|
|
141
134
|
```
|
|
142
135
|
|
|
143
|
-
_See code: [lib/commands/simply/cicd/build/create-fallback-tag.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
136
|
+
_See code: [lib/commands/simply/cicd/build/create-fallback-tag.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/create-fallback-tag.js)_
|
|
144
137
|
|
|
145
138
|
## `sf simply cicd build create-package-version`
|
|
146
139
|
|
|
@@ -149,9 +142,8 @@ Create a new package version, verify minimum code coverage, and create/push a ve
|
|
|
149
142
|
```
|
|
150
143
|
USAGE
|
|
151
144
|
$ sf simply cicd build create-package-version --ci-commit-ref-name <value> --ci-pipeline-id <value> --ci-project-path <value>
|
|
152
|
-
--project-access-token <value> --
|
|
153
|
-
--
|
|
154
|
-
[--json] [--flags-dir <value>] [--vcs-host <value>] [--vcs-provider github|gitlab] [--debug] [--disabled]
|
|
145
|
+
--project-access-token <value> --ci-commit-sha <value> --ci-pipeline-url <value> --packaging-devhub <value> [--json]
|
|
146
|
+
[--flags-dir <value>] [--vcs-host <value>] [--vcs-provider github|gitlab] [--debug] [--disabled]
|
|
155
147
|
[--ci-pipeline-source <value>] [--always-create-package] [--code-coverage-minimum <value>]
|
|
156
148
|
[--package-release-branch-prefix <value>]
|
|
157
149
|
|
|
@@ -175,16 +167,11 @@ FLAGS
|
|
|
175
167
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
176
168
|
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead
|
|
177
169
|
of running it.
|
|
178
|
-
--jwt-key-file=<value> (required) [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file
|
|
179
|
-
used for authentication.
|
|
180
170
|
--package-release-branch-prefix=<value> Prefix identifying release branches. Determines whether this build creates a
|
|
181
171
|
package version and how the resulting git tag is named.
|
|
182
|
-
--packaging-devhub
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
URL for the packaging Dev Hub.
|
|
186
|
-
--packaging-devhub-username=<value> (required) [env: SIMPLY_CICD_PACKAGING_DEVHUB_USERNAME] Username of the Dev
|
|
187
|
-
Hub used for packaging operations like package version creation.
|
|
172
|
+
--packaging-devhub=<value> (required) [env: SIMPLY_CICD_PACKAGING_DEVHUB] Alias of the Dev Hub used for
|
|
173
|
+
packaging operations like package version creation. Must already be
|
|
174
|
+
authenticated.
|
|
188
175
|
--project-access-token=<value> (required) [env: SIMPLY_CICD_PROJECT_ACCESS_TOKEN] Access token used to
|
|
189
176
|
authenticate git remote operations (tagging, pushing).
|
|
190
177
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] Hostname of the VCS instance hosting this
|
|
@@ -209,10 +196,10 @@ DESCRIPTION
|
|
|
209
196
|
Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
|
|
210
197
|
|
|
211
198
|
EXAMPLES
|
|
212
|
-
$ 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
|
|
199
|
+
$ 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
|
|
213
200
|
```
|
|
214
201
|
|
|
215
|
-
_See code: [lib/commands/simply/cicd/build/create-package-version.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
202
|
+
_See code: [lib/commands/simply/cicd/build/create-package-version.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/create-package-version.js)_
|
|
216
203
|
|
|
217
204
|
## `sf simply cicd build create-scratch`
|
|
218
205
|
|
|
@@ -220,22 +207,15 @@ Create a scratch org, trying each configured Dev Hub in order.
|
|
|
220
207
|
|
|
221
208
|
```
|
|
222
209
|
USAGE
|
|
223
|
-
$ sf simply cicd build create-scratch --dev-hub
|
|
224
|
-
--dev-hub-instance-url <value>... --jwt-key-file <value> [--json] [--flags-dir <value>] [--debug] [--disabled]
|
|
210
|
+
$ sf simply cicd build create-scratch --dev-hub <value>... [--json] [--flags-dir <value>] [--debug] [--disabled]
|
|
225
211
|
[--scratch-definition-file <value>] [--scratch-duration-days <value>]
|
|
226
212
|
|
|
227
213
|
FLAGS
|
|
228
214
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
229
|
-
--dev-hub
|
|
230
|
-
|
|
231
|
-
--dev-hub-name=<value>... (required) Friendly name of a Dev Hub. Repeat this flag alongside
|
|
232
|
-
--dev-hub-username, --dev-hub-client-id, and --dev-hub-instance-url (in the same
|
|
233
|
-
order) for each Dev Hub to try.
|
|
234
|
-
--dev-hub-username=<value>... (required) Username of a Dev Hub.
|
|
215
|
+
--dev-hub=<value>... (required) Alias of a Dev Hub. Must already be authenticated. Repeat this flag for
|
|
216
|
+
each Dev Hub to try, in order.
|
|
235
217
|
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of
|
|
236
218
|
running it.
|
|
237
|
-
--jwt-key-file=<value> (required) [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used
|
|
238
|
-
for authentication.
|
|
239
219
|
--scratch-definition-file=<value> Definition file used to create the scratch org, if not specified in
|
|
240
220
|
sfdx-project.json.
|
|
241
221
|
--scratch-duration-days=<value> [default: 1] Duration of the scratch org in days.
|
|
@@ -248,18 +228,19 @@ DESCRIPTION
|
|
|
248
228
|
Create a scratch org, trying each configured Dev Hub in order.
|
|
249
229
|
|
|
250
230
|
Reads the default package directory's `definitionFile` from `sfdx-project.json` (falling back to
|
|
251
|
-
`--scratch-definition-file`), and attempts creation against each `--dev-hub
|
|
252
|
-
daily scratch org limit is skipped in favor of the next one. Writes the
|
|
253
|
-
`SCRATCH_ORG_INFO.json` for later build steps, best-effort sets a default
|
|
254
|
-
sets/licenses declared under the default package directory's
|
|
231
|
+
`--scratch-definition-file`), and attempts creation against each `--dev-hub` alias in order (each must already be
|
|
232
|
+
authenticated). A Dev Hub that has hit its daily scratch org limit is skipped in favor of the next one. Writes the
|
|
233
|
+
resulting org's auth fields to `SCRATCH_ORG_INFO.json` for later build steps, best-effort sets a default
|
|
234
|
+
`CountryCode`, and assigns any permission sets/licenses declared under the default package directory's
|
|
235
|
+
`packageMetadataAccess`.
|
|
255
236
|
|
|
256
237
|
Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
|
|
257
238
|
|
|
258
239
|
EXAMPLES
|
|
259
|
-
$ sf simply cicd build create-scratch --dev-hub
|
|
240
|
+
$ sf simply cicd build create-scratch --dev-hub my-devhub
|
|
260
241
|
```
|
|
261
242
|
|
|
262
|
-
_See code: [lib/commands/simply/cicd/build/create-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
243
|
+
_See code: [lib/commands/simply/cicd/build/create-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/create-scratch.js)_
|
|
263
244
|
|
|
264
245
|
## `sf simply cicd build delete-scratch`
|
|
265
246
|
|
|
@@ -267,21 +248,18 @@ Delete the scratch org created by `build create-scratch`.
|
|
|
267
248
|
|
|
268
249
|
```
|
|
269
250
|
USAGE
|
|
270
|
-
$ sf simply cicd build delete-scratch --dev-hub
|
|
271
|
-
|
|
251
|
+
$ sf simply cicd build delete-scratch --dev-hub <value> [--json] [--flags-dir <value>] [--jwt-key-file <value>] [--debug]
|
|
252
|
+
[--disabled]
|
|
272
253
|
|
|
273
254
|
FLAGS
|
|
274
|
-
--debug
|
|
275
|
-
--dev-hub
|
|
276
|
-
|
|
277
|
-
--
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
running it.
|
|
283
|
-
--jwt-key-file=<value> (required) [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used
|
|
284
|
-
for authentication.
|
|
255
|
+
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
256
|
+
--dev-hub=<value> (required) Alias of a Dev Hub. Must already be authenticated. Repeat this flag for each Dev
|
|
257
|
+
Hub to try, in order.
|
|
258
|
+
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of running it.
|
|
259
|
+
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used to re-authenticate the
|
|
260
|
+
scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was
|
|
261
|
+
authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used
|
|
262
|
+
instead.
|
|
285
263
|
|
|
286
264
|
GLOBAL FLAGS
|
|
287
265
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -290,18 +268,18 @@ GLOBAL FLAGS
|
|
|
290
268
|
DESCRIPTION
|
|
291
269
|
Delete the scratch org created by `build create-scratch`.
|
|
292
270
|
|
|
293
|
-
Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`) to
|
|
294
|
-
authenticates to
|
|
295
|
-
since a scratch org left behind after a failed deletion just needs manual cleanup and shouldn't fail an
|
|
271
|
+
Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`) to confirm `--dev-hub` is the Dev Hub that owns the
|
|
272
|
+
scratch org, re-authenticates to it and the scratch org as needed, and deletes it. Deletion failures are logged rather
|
|
273
|
+
than thrown, since a scratch org left behind after a failed deletion just needs manual cleanup and shouldn't fail an
|
|
296
274
|
otherwise-successful pipeline run.
|
|
297
275
|
|
|
298
276
|
Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
|
|
299
277
|
|
|
300
278
|
EXAMPLES
|
|
301
|
-
$ sf simply cicd build delete-scratch --dev-hub
|
|
279
|
+
$ sf simply cicd build delete-scratch --dev-hub my-devhub
|
|
302
280
|
```
|
|
303
281
|
|
|
304
|
-
_See code: [lib/commands/simply/cicd/build/delete-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
282
|
+
_See code: [lib/commands/simply/cicd/build/delete-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/delete-scratch.js)_
|
|
305
283
|
|
|
306
284
|
## `sf simply cicd build determine-package-changes`
|
|
307
285
|
|
|
@@ -333,7 +311,7 @@ EXAMPLES
|
|
|
333
311
|
$ sf simply cicd build determine-package-changes --out changes.env
|
|
334
312
|
```
|
|
335
313
|
|
|
336
|
-
_See code: [lib/commands/simply/cicd/build/determine-package-changes.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
314
|
+
_See code: [lib/commands/simply/cicd/build/determine-package-changes.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/determine-package-changes.js)_
|
|
337
315
|
|
|
338
316
|
## `sf simply cicd build generate-flexipage-diff`
|
|
339
317
|
|
|
@@ -391,7 +369,7 @@ EXAMPLES
|
|
|
391
369
|
$ 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-...
|
|
392
370
|
```
|
|
393
371
|
|
|
394
|
-
_See code: [lib/commands/simply/cicd/build/generate-flexipage-diff.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
372
|
+
_See code: [lib/commands/simply/cicd/build/generate-flexipage-diff.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/generate-flexipage-diff.js)_
|
|
395
373
|
|
|
396
374
|
## `sf simply cicd build generate-flow-diff`
|
|
397
375
|
|
|
@@ -449,7 +427,7 @@ EXAMPLES
|
|
|
449
427
|
$ 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-...
|
|
450
428
|
```
|
|
451
429
|
|
|
452
|
-
_See code: [lib/commands/simply/cicd/build/generate-flow-diff.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
430
|
+
_See code: [lib/commands/simply/cicd/build/generate-flow-diff.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/generate-flow-diff.js)_
|
|
453
431
|
|
|
454
432
|
## `sf simply cicd build install-dependencies`
|
|
455
433
|
|
|
@@ -457,7 +435,7 @@ Install packaged dependencies into the scratch org created by `build create-scra
|
|
|
457
435
|
|
|
458
436
|
```
|
|
459
437
|
USAGE
|
|
460
|
-
$ sf simply cicd build install-dependencies --
|
|
438
|
+
$ sf simply cicd build install-dependencies [--json] [--flags-dir <value>] [--jwt-key-file <value>] [--debug] [--disabled] [--install-type
|
|
461
439
|
All|Delta|Upgrade]
|
|
462
440
|
|
|
463
441
|
FLAGS
|
|
@@ -465,8 +443,10 @@ FLAGS
|
|
|
465
443
|
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of running it.
|
|
466
444
|
--install-type=<option> [default: Upgrade] The type of dependency installation to perform.
|
|
467
445
|
<options: All|Delta|Upgrade>
|
|
468
|
-
--jwt-key-file=<value>
|
|
469
|
-
|
|
446
|
+
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used to re-authenticate the
|
|
447
|
+
scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was
|
|
448
|
+
authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used
|
|
449
|
+
instead.
|
|
470
450
|
|
|
471
451
|
GLOBAL FLAGS
|
|
472
452
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -484,7 +464,7 @@ EXAMPLES
|
|
|
484
464
|
$ sf simply cicd build install-dependencies --jwt-key-file ./server.key
|
|
485
465
|
```
|
|
486
466
|
|
|
487
|
-
_See code: [lib/commands/simply/cicd/build/install-dependencies.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
467
|
+
_See code: [lib/commands/simply/cicd/build/install-dependencies.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/install-dependencies.js)_
|
|
488
468
|
|
|
489
469
|
## `sf simply cicd build lwc-jest`
|
|
490
470
|
|
|
@@ -512,7 +492,7 @@ EXAMPLES
|
|
|
512
492
|
$ sf simply cicd build lwc-jest
|
|
513
493
|
```
|
|
514
494
|
|
|
515
|
-
_See code: [lib/commands/simply/cicd/build/lwc-jest.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
495
|
+
_See code: [lib/commands/simply/cicd/build/lwc-jest.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/lwc-jest.js)_
|
|
516
496
|
|
|
517
497
|
## `sf simply cicd build push-scratch`
|
|
518
498
|
|
|
@@ -520,7 +500,7 @@ Push source to the scratch org created by `build create-scratch`.
|
|
|
520
500
|
|
|
521
501
|
```
|
|
522
502
|
USAGE
|
|
523
|
-
$ sf simply cicd build push-scratch --
|
|
503
|
+
$ sf simply cicd build push-scratch [--json] [--flags-dir <value>] [--jwt-key-file <value>] [--debug] [--disabled]
|
|
524
504
|
[--ignore-warnings] [--scratch-org-source-dir <value>]
|
|
525
505
|
|
|
526
506
|
FLAGS
|
|
@@ -528,8 +508,10 @@ FLAGS
|
|
|
528
508
|
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of
|
|
529
509
|
running it.
|
|
530
510
|
--ignore-warnings Append --ignore-warnings to the underlying sf project deploy start call.
|
|
531
|
-
--jwt-key-file=<value>
|
|
532
|
-
|
|
511
|
+
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used to
|
|
512
|
+
re-authenticate the scratch org (or its Dev Hub) when it was JWT-authenticated. Not
|
|
513
|
+
needed when the Dev Hub was authenticated via web login or an SFDX auth URL — the
|
|
514
|
+
scratch org's own refresh token is used instead.
|
|
533
515
|
--scratch-org-source-dir=<value> Source directory to push to the scratch org, in addition to the default package
|
|
534
516
|
directory.
|
|
535
517
|
|
|
@@ -551,7 +533,7 @@ EXAMPLES
|
|
|
551
533
|
$ sf simply cicd build push-scratch --jwt-key-file ./server.key
|
|
552
534
|
```
|
|
553
535
|
|
|
554
|
-
_See code: [lib/commands/simply/cicd/build/push-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
536
|
+
_See code: [lib/commands/simply/cicd/build/push-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/push-scratch.js)_
|
|
555
537
|
|
|
556
538
|
## `sf simply cicd build test-scratch`
|
|
557
539
|
|
|
@@ -559,15 +541,17 @@ Run Apex tests against the scratch org created by `build create-scratch`.
|
|
|
559
541
|
|
|
560
542
|
```
|
|
561
543
|
USAGE
|
|
562
|
-
$ sf simply cicd build test-scratch --
|
|
544
|
+
$ sf simply cicd build test-scratch [--json] [--flags-dir <value>] [--jwt-key-file <value>] [--debug] [--disabled]
|
|
563
545
|
[--disable-apex-tests]
|
|
564
546
|
|
|
565
547
|
FLAGS
|
|
566
548
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
567
549
|
--disable-apex-tests Skip running Apex tests, without skipping the rest of the job.
|
|
568
550
|
--disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead of running it.
|
|
569
|
-
--jwt-key-file=<value>
|
|
570
|
-
|
|
551
|
+
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file used to re-authenticate the
|
|
552
|
+
scratch org (or its Dev Hub) when it was JWT-authenticated. Not needed when the Dev Hub was
|
|
553
|
+
authenticated via web login or an SFDX auth URL — the scratch org's own refresh token is used
|
|
554
|
+
instead.
|
|
571
555
|
|
|
572
556
|
GLOBAL FLAGS
|
|
573
557
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -585,7 +569,7 @@ EXAMPLES
|
|
|
585
569
|
$ sf simply cicd build test-scratch --jwt-key-file ./server.key
|
|
586
570
|
```
|
|
587
571
|
|
|
588
|
-
_See code: [lib/commands/simply/cicd/build/test-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
572
|
+
_See code: [lib/commands/simply/cicd/build/test-scratch.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/build/test-scratch.js)_
|
|
589
573
|
|
|
590
574
|
## `sf simply cicd deploy happy-soup deploy-unpackaged`
|
|
591
575
|
|
|
@@ -593,19 +577,15 @@ Run the deploy-unpackaged stage of a happy-soup deployment.
|
|
|
593
577
|
|
|
594
578
|
```
|
|
595
579
|
USAGE
|
|
596
|
-
$ sf simply cicd deploy happy-soup deploy-unpackaged --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
597
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
580
|
+
$ sf simply cicd deploy happy-soup deploy-unpackaged --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
598
581
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
|
|
599
582
|
<value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
|
|
600
583
|
[--vcs-provider github|gitlab]
|
|
601
584
|
|
|
602
585
|
FLAGS
|
|
603
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
604
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
605
|
-
alternative to JWT authentication.
|
|
586
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
606
587
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
607
588
|
read-only repository clones.
|
|
608
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
609
589
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
610
590
|
--deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
|
|
611
591
|
not provided, derived from --source-branch-name.
|
|
@@ -613,9 +593,6 @@ FLAGS
|
|
|
613
593
|
deployment progress file.
|
|
614
594
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
615
595
|
deployment rules file.
|
|
616
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
617
|
-
authentication.
|
|
618
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
619
596
|
--source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
|
|
620
597
|
to derive the deployment config file path if --deploy-config-file is not provided.
|
|
621
598
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
@@ -624,7 +601,6 @@ FLAGS
|
|
|
624
601
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
625
602
|
--test-level.
|
|
626
603
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
627
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
628
604
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
629
605
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
630
606
|
to talk to.
|
|
@@ -644,7 +620,7 @@ EXAMPLES
|
|
|
644
620
|
$ sf simply cicd deploy happy-soup deploy-unpackaged --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
645
621
|
```
|
|
646
622
|
|
|
647
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
623
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js)_
|
|
648
624
|
|
|
649
625
|
## `sf simply cicd deploy happy-soup deployment-close-out`
|
|
650
626
|
|
|
@@ -698,7 +674,7 @@ EXAMPLES
|
|
|
698
674
|
$ 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
|
|
699
675
|
```
|
|
700
676
|
|
|
701
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
677
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js)_
|
|
702
678
|
|
|
703
679
|
## `sf simply cicd deploy happy-soup install-packaged`
|
|
704
680
|
|
|
@@ -706,43 +682,27 @@ Install packaged dependencies into the target org for a happy-soup deployment.
|
|
|
706
682
|
|
|
707
683
|
```
|
|
708
684
|
USAGE
|
|
709
|
-
$ sf simply cicd deploy happy-soup install-packaged [--json] [--flags-dir <value>] [--
|
|
710
|
-
[--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--vcs-host <value>] [--vcs-provider
|
|
685
|
+
$ sf simply cicd deploy happy-soup install-packaged --alias <value> [--json] [--flags-dir <value>] [--vcs-host <value>] [--vcs-provider
|
|
711
686
|
github|gitlab] [--debug] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--install-type
|
|
712
|
-
All|Delta|Upgrade] [--packaging-devhub
|
|
713
|
-
[--packaging-devhub-username <value>]
|
|
687
|
+
All|Delta|Upgrade] [--packaging-devhub <value>]
|
|
714
688
|
|
|
715
689
|
FLAGS
|
|
716
|
-
--alias=<value>
|
|
717
|
-
--
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
--
|
|
723
|
-
|
|
724
|
-
--
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
--
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
authentication to the packaging DevHub.
|
|
733
|
-
--packaging-devhub-instance-url=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_INSTANCE_URL] Login instance URL for the
|
|
734
|
-
packaging DevHub.
|
|
735
|
-
--packaging-devhub-username=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_USERNAME] Username for JWT authentication
|
|
736
|
-
to the packaging DevHub. Required (along with the other
|
|
737
|
-
`--packaging-devhub-*` flags) to look up the previous/target version's origin
|
|
738
|
-
commit information for upgraded packages; omitted entirely (with a warning)
|
|
739
|
-
when not provided.
|
|
740
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
741
|
-
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g.
|
|
742
|
-
gitlab.com).
|
|
743
|
-
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting
|
|
744
|
-
platform to talk to.
|
|
745
|
-
<options: github|gitlab>
|
|
690
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
691
|
+
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
692
|
+
--deploy-progress-file=<value> [default: DEPLOY_PROGRESS.json, env: SIMPLY_CICD_DEPLOY_PROGRESS_FILE] Path to the
|
|
693
|
+
deployment progress file.
|
|
694
|
+
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
695
|
+
deployment rules file.
|
|
696
|
+
--install-type=<option> [default: Upgrade] The type of dependency installation to perform.
|
|
697
|
+
<options: All|Delta|Upgrade>
|
|
698
|
+
--packaging-devhub=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB] Alias of the Dev Hub used to look up package
|
|
699
|
+
version information for upgraded packages. Must already be authenticated. Omitted
|
|
700
|
+
entirely (with a warning) when not provided, skipping origin lookup for upgraded
|
|
701
|
+
packages.
|
|
702
|
+
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
703
|
+
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
704
|
+
to talk to.
|
|
705
|
+
<options: github|gitlab>
|
|
746
706
|
|
|
747
707
|
GLOBAL FLAGS
|
|
748
708
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -751,15 +711,16 @@ GLOBAL FLAGS
|
|
|
751
711
|
DESCRIPTION
|
|
752
712
|
Install packaged dependencies into the target org for a happy-soup deployment.
|
|
753
713
|
|
|
754
|
-
|
|
755
|
-
dependency that upgrades an already-installed package, records the previous/target version
|
|
756
|
-
information to the deploy progress file, for `notify happy-soup` to look up related stories from
|
|
714
|
+
Installs the packaged dependencies declared in `sfdx-project.json` into the target org (`--alias`), which must already
|
|
715
|
+
be authenticated. For every dependency that upgrades an already-installed package, records the previous/target version
|
|
716
|
+
and origin commit information to the deploy progress file, for `notify happy-soup` to look up related stories from
|
|
717
|
+
later.
|
|
757
718
|
|
|
758
719
|
EXAMPLES
|
|
759
720
|
$ sf simply cicd deploy happy-soup install-packaged --alias my-org
|
|
760
721
|
```
|
|
761
722
|
|
|
762
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
723
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js)_
|
|
763
724
|
|
|
764
725
|
## `sf simply cicd deploy happy-soup post-deploy`
|
|
765
726
|
|
|
@@ -767,19 +728,15 @@ Run the post-deploy stage of a happy-soup deployment.
|
|
|
767
728
|
|
|
768
729
|
```
|
|
769
730
|
USAGE
|
|
770
|
-
$ sf simply cicd deploy happy-soup post-deploy --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
771
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
731
|
+
$ sf simply cicd deploy happy-soup post-deploy --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
772
732
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
|
|
773
733
|
<value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
|
|
774
734
|
[--vcs-provider github|gitlab]
|
|
775
735
|
|
|
776
736
|
FLAGS
|
|
777
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
778
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
779
|
-
alternative to JWT authentication.
|
|
737
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
780
738
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
781
739
|
read-only repository clones.
|
|
782
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
783
740
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
784
741
|
--deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
|
|
785
742
|
not provided, derived from --source-branch-name.
|
|
@@ -787,9 +744,6 @@ FLAGS
|
|
|
787
744
|
deployment progress file.
|
|
788
745
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
789
746
|
deployment rules file.
|
|
790
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
791
|
-
authentication.
|
|
792
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
793
747
|
--source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
|
|
794
748
|
to derive the deployment config file path if --deploy-config-file is not provided.
|
|
795
749
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
@@ -798,7 +752,6 @@ FLAGS
|
|
|
798
752
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
799
753
|
--test-level.
|
|
800
754
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
801
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
802
755
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
803
756
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
804
757
|
to talk to.
|
|
@@ -818,7 +771,7 @@ EXAMPLES
|
|
|
818
771
|
$ sf simply cicd deploy happy-soup post-deploy --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
819
772
|
```
|
|
820
773
|
|
|
821
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
774
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js)_
|
|
822
775
|
|
|
823
776
|
## `sf simply cicd deploy happy-soup post-destructive`
|
|
824
777
|
|
|
@@ -826,19 +779,15 @@ Run the post-destructive stage of a happy-soup deployment.
|
|
|
826
779
|
|
|
827
780
|
```
|
|
828
781
|
USAGE
|
|
829
|
-
$ sf simply cicd deploy happy-soup post-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
830
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
782
|
+
$ sf simply cicd deploy happy-soup post-destructive --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
831
783
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
|
|
832
784
|
<value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
|
|
833
785
|
[--vcs-provider github|gitlab]
|
|
834
786
|
|
|
835
787
|
FLAGS
|
|
836
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
837
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
838
|
-
alternative to JWT authentication.
|
|
788
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
839
789
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
840
790
|
read-only repository clones.
|
|
841
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
842
791
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
843
792
|
--deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
|
|
844
793
|
not provided, derived from --source-branch-name.
|
|
@@ -846,9 +795,6 @@ FLAGS
|
|
|
846
795
|
deployment progress file.
|
|
847
796
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
848
797
|
deployment rules file.
|
|
849
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
850
|
-
authentication.
|
|
851
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
852
798
|
--source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
|
|
853
799
|
to derive the deployment config file path if --deploy-config-file is not provided.
|
|
854
800
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
@@ -857,7 +803,6 @@ FLAGS
|
|
|
857
803
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
858
804
|
--test-level.
|
|
859
805
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
860
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
861
806
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
862
807
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
863
808
|
to talk to.
|
|
@@ -877,7 +822,7 @@ EXAMPLES
|
|
|
877
822
|
$ sf simply cicd deploy happy-soup post-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
878
823
|
```
|
|
879
824
|
|
|
880
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
825
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js)_
|
|
881
826
|
|
|
882
827
|
## `sf simply cicd deploy happy-soup pre-destructive`
|
|
883
828
|
|
|
@@ -885,19 +830,15 @@ Run the pre-destructive stage of a happy-soup deployment.
|
|
|
885
830
|
|
|
886
831
|
```
|
|
887
832
|
USAGE
|
|
888
|
-
$ sf simply cicd deploy happy-soup pre-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
889
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
833
|
+
$ sf simply cicd deploy happy-soup pre-destructive --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
890
834
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
|
|
891
835
|
<value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
|
|
892
836
|
[--vcs-provider github|gitlab]
|
|
893
837
|
|
|
894
838
|
FLAGS
|
|
895
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
896
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
897
|
-
alternative to JWT authentication.
|
|
839
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
898
840
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
899
841
|
read-only repository clones.
|
|
900
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
901
842
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
902
843
|
--deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
|
|
903
844
|
not provided, derived from --source-branch-name.
|
|
@@ -905,9 +846,6 @@ FLAGS
|
|
|
905
846
|
deployment progress file.
|
|
906
847
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
907
848
|
deployment rules file.
|
|
908
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
909
|
-
authentication.
|
|
910
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
911
849
|
--source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
|
|
912
850
|
to derive the deployment config file path if --deploy-config-file is not provided.
|
|
913
851
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
@@ -916,7 +854,6 @@ FLAGS
|
|
|
916
854
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
917
855
|
--test-level.
|
|
918
856
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
919
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
920
857
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
921
858
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
922
859
|
to talk to.
|
|
@@ -936,7 +873,7 @@ EXAMPLES
|
|
|
936
873
|
$ sf simply cicd deploy happy-soup pre-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
937
874
|
```
|
|
938
875
|
|
|
939
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
876
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js)_
|
|
940
877
|
|
|
941
878
|
## `sf simply cicd deploy happy-soup tag-deployment`
|
|
942
879
|
|
|
@@ -945,15 +882,12 @@ Tag the current commit with details about a happy-soup deployment.
|
|
|
945
882
|
```
|
|
946
883
|
USAGE
|
|
947
884
|
$ sf simply cicd deploy happy-soup tag-deployment --ci-merge-request-iid <value> --ci-merge-request-project-url <value> --ci-pipeline-id <value>
|
|
948
|
-
--ci-pipeline-url <value> --ci-project-path <value> --project-access-token <value>
|
|
949
|
-
[--
|
|
950
|
-
[--username <value>] [--debug] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--vcs-host <value>]
|
|
885
|
+
--ci-pipeline-url <value> --ci-project-path <value> --project-access-token <value> --alias <value> [--json]
|
|
886
|
+
[--flags-dir <value>] [--debug] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--vcs-host <value>]
|
|
951
887
|
[--vcs-provider github|gitlab]
|
|
952
888
|
|
|
953
889
|
FLAGS
|
|
954
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
955
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as
|
|
956
|
-
an alternative to JWT authentication.
|
|
890
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
957
891
|
--ci-merge-request-iid=<value> (required) [env: SIMPLY_CICD_CI_MERGE_REQUEST_IID] The merge request's
|
|
958
892
|
internal ID (IID), used to build the merge request link in the tag message.
|
|
959
893
|
--ci-merge-request-project-url=<value> (required) [env: SIMPLY_CICD_CI_MERGE_REQUEST_PROJECT_URL] The project's URL,
|
|
@@ -963,19 +897,13 @@ FLAGS
|
|
|
963
897
|
the tag message if provided.
|
|
964
898
|
--ci-project-path=<value> (required) [env: SIMPLY_CICD_CI_PROJECT_PATH] The project path (e.g.
|
|
965
899
|
group/project), used to build the authenticated push remote.
|
|
966
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT
|
|
967
|
-
authentication.
|
|
968
900
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
969
901
|
--deploy-progress-file=<value> [default: DEPLOY_PROGRESS.json, env: SIMPLY_CICD_DEPLOY_PROGRESS_FILE] Path to
|
|
970
902
|
the deployment progress file.
|
|
971
903
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path
|
|
972
904
|
to the deployment rules file.
|
|
973
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
974
|
-
authentication.
|
|
975
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
976
905
|
--project-access-token=<value> (required) [env: SIMPLY_CICD_PROJECT_ACCESS_TOKEN] A project access token with
|
|
977
906
|
write access, used to push the tag.
|
|
978
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
979
907
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g.
|
|
980
908
|
gitlab.com).
|
|
981
909
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting
|
|
@@ -997,7 +925,7 @@ EXAMPLES
|
|
|
997
925
|
$ 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
|
|
998
926
|
```
|
|
999
927
|
|
|
1000
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
928
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js)_
|
|
1001
929
|
|
|
1002
930
|
## `sf simply cicd deploy happy-soup validate`
|
|
1003
931
|
|
|
@@ -1035,7 +963,7 @@ EXAMPLES
|
|
|
1035
963
|
$ sf simply cicd deploy happy-soup validate --deploy-config-file deployment-configs/uat.json --deploy-rules-file config/deploy-rules.json
|
|
1036
964
|
```
|
|
1037
965
|
|
|
1038
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
966
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/validate.js)_
|
|
1039
967
|
|
|
1040
968
|
## `sf simply cicd deploy project deploy-unpackaged`
|
|
1041
969
|
|
|
@@ -1043,18 +971,14 @@ Run the deploy-unpackaged stage of a project deployment.
|
|
|
1043
971
|
|
|
1044
972
|
```
|
|
1045
973
|
USAGE
|
|
1046
|
-
$ sf simply cicd deploy project deploy-unpackaged --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
1047
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
974
|
+
$ sf simply cicd deploy project deploy-unpackaged --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
1048
975
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
|
|
1049
976
|
[--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
|
|
1050
977
|
|
|
1051
978
|
FLAGS
|
|
1052
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1053
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
1054
|
-
alternative to JWT authentication.
|
|
979
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1055
980
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
1056
981
|
read-only repository clones.
|
|
1057
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
1058
982
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1059
983
|
--deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
|
|
1060
984
|
deployment configuration file.
|
|
@@ -1062,16 +986,12 @@ FLAGS
|
|
|
1062
986
|
deployment progress file.
|
|
1063
987
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
1064
988
|
deployment rules file.
|
|
1065
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
1066
|
-
authentication.
|
|
1067
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
1068
989
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
1069
990
|
file.
|
|
1070
991
|
--test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
|
|
1071
992
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
1072
993
|
--test-level.
|
|
1073
994
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
1074
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
1075
995
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
1076
996
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
1077
997
|
to talk to.
|
|
@@ -1091,7 +1011,7 @@ EXAMPLES
|
|
|
1091
1011
|
$ sf simply cicd deploy project deploy-unpackaged --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1092
1012
|
```
|
|
1093
1013
|
|
|
1094
|
-
_See code: [lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1014
|
+
_See code: [lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js)_
|
|
1095
1015
|
|
|
1096
1016
|
## `sf simply cicd deploy project install-packaged`
|
|
1097
1017
|
|
|
@@ -1099,19 +1019,14 @@ Install packaged dependencies and the project's own package into the target org.
|
|
|
1099
1019
|
|
|
1100
1020
|
```
|
|
1101
1021
|
USAGE
|
|
1102
|
-
$ sf simply cicd deploy project install-packaged --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
1103
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--vcs-host <value>]
|
|
1022
|
+
$ sf simply cicd deploy project install-packaged --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--vcs-host <value>]
|
|
1104
1023
|
[--vcs-provider github|gitlab] [--debug] [--deploy-config-file <value>] [--deploy-progress-file <value>]
|
|
1105
1024
|
[--deploy-rules-file <value>] [--subscriber-package-version-id <value>] [--install-type All|Delta|Upgrade]
|
|
1106
1025
|
|
|
1107
1026
|
FLAGS
|
|
1108
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1109
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as
|
|
1110
|
-
an alternative to JWT authentication.
|
|
1027
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1111
1028
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to
|
|
1112
1029
|
authenticate read-only repository clones.
|
|
1113
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT
|
|
1114
|
-
authentication.
|
|
1115
1030
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1116
1031
|
--deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to
|
|
1117
1032
|
the deployment configuration file.
|
|
@@ -1121,12 +1036,8 @@ FLAGS
|
|
|
1121
1036
|
to the deployment rules file.
|
|
1122
1037
|
--install-type=<option> [default: Upgrade] The type of dependency installation to perform.
|
|
1123
1038
|
<options: All|Delta|Upgrade>
|
|
1124
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
1125
|
-
authentication.
|
|
1126
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
1127
1039
|
--subscriber-package-version-id=<value> The subscriber package version ID (04t...) to install. If not provided, the
|
|
1128
1040
|
ID is looked up from the git tag annotation at HEAD.
|
|
1129
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
1130
1041
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g.
|
|
1131
1042
|
gitlab.com).
|
|
1132
1043
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting
|
|
@@ -1148,7 +1059,7 @@ EXAMPLES
|
|
|
1148
1059
|
$ sf simply cicd deploy project install-packaged --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1149
1060
|
```
|
|
1150
1061
|
|
|
1151
|
-
_See code: [lib/commands/simply/cicd/deploy/project/install-packaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1062
|
+
_See code: [lib/commands/simply/cicd/deploy/project/install-packaged.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/install-packaged.js)_
|
|
1152
1063
|
|
|
1153
1064
|
## `sf simply cicd deploy project post-deploy`
|
|
1154
1065
|
|
|
@@ -1156,18 +1067,14 @@ Run the post-deploy stage of a project deployment.
|
|
|
1156
1067
|
|
|
1157
1068
|
```
|
|
1158
1069
|
USAGE
|
|
1159
|
-
$ sf simply cicd deploy project post-deploy --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
1160
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
1070
|
+
$ sf simply cicd deploy project post-deploy --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
1161
1071
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
|
|
1162
1072
|
[--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
|
|
1163
1073
|
|
|
1164
1074
|
FLAGS
|
|
1165
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1166
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
1167
|
-
alternative to JWT authentication.
|
|
1075
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1168
1076
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
1169
1077
|
read-only repository clones.
|
|
1170
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
1171
1078
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1172
1079
|
--deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
|
|
1173
1080
|
deployment configuration file.
|
|
@@ -1175,16 +1082,12 @@ FLAGS
|
|
|
1175
1082
|
deployment progress file.
|
|
1176
1083
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
1177
1084
|
deployment rules file.
|
|
1178
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
1179
|
-
authentication.
|
|
1180
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
1181
1085
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
1182
1086
|
file.
|
|
1183
1087
|
--test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
|
|
1184
1088
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
1185
1089
|
--test-level.
|
|
1186
1090
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
1187
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
1188
1091
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
1189
1092
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
1190
1093
|
to talk to.
|
|
@@ -1204,7 +1107,7 @@ EXAMPLES
|
|
|
1204
1107
|
$ sf simply cicd deploy project post-deploy --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1205
1108
|
```
|
|
1206
1109
|
|
|
1207
|
-
_See code: [lib/commands/simply/cicd/deploy/project/post-deploy.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1110
|
+
_See code: [lib/commands/simply/cicd/deploy/project/post-deploy.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/post-deploy.js)_
|
|
1208
1111
|
|
|
1209
1112
|
## `sf simply cicd deploy project post-destructive`
|
|
1210
1113
|
|
|
@@ -1212,18 +1115,14 @@ Run the post-destructive stage of a project deployment.
|
|
|
1212
1115
|
|
|
1213
1116
|
```
|
|
1214
1117
|
USAGE
|
|
1215
|
-
$ sf simply cicd deploy project post-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
1216
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
1118
|
+
$ sf simply cicd deploy project post-destructive --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
1217
1119
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
|
|
1218
1120
|
[--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
|
|
1219
1121
|
|
|
1220
1122
|
FLAGS
|
|
1221
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1222
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
1223
|
-
alternative to JWT authentication.
|
|
1123
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1224
1124
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
1225
1125
|
read-only repository clones.
|
|
1226
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
1227
1126
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1228
1127
|
--deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
|
|
1229
1128
|
deployment configuration file.
|
|
@@ -1231,16 +1130,12 @@ FLAGS
|
|
|
1231
1130
|
deployment progress file.
|
|
1232
1131
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
1233
1132
|
deployment rules file.
|
|
1234
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
1235
|
-
authentication.
|
|
1236
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
1237
1133
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
1238
1134
|
file.
|
|
1239
1135
|
--test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
|
|
1240
1136
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
1241
1137
|
--test-level.
|
|
1242
1138
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
1243
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
1244
1139
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
1245
1140
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
1246
1141
|
to talk to.
|
|
@@ -1260,7 +1155,7 @@ EXAMPLES
|
|
|
1260
1155
|
$ sf simply cicd deploy project post-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1261
1156
|
```
|
|
1262
1157
|
|
|
1263
|
-
_See code: [lib/commands/simply/cicd/deploy/project/post-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1158
|
+
_See code: [lib/commands/simply/cicd/deploy/project/post-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/post-destructive.js)_
|
|
1264
1159
|
|
|
1265
1160
|
## `sf simply cicd deploy project pre-destructive`
|
|
1266
1161
|
|
|
@@ -1268,18 +1163,14 @@ Run the pre-destructive stage of a project deployment.
|
|
|
1268
1163
|
|
|
1269
1164
|
```
|
|
1270
1165
|
USAGE
|
|
1271
|
-
$ sf simply cicd deploy project pre-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
1272
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--debug]
|
|
1166
|
+
$ sf simply cicd deploy project pre-destructive --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--debug]
|
|
1273
1167
|
[--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
|
|
1274
1168
|
[--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
|
|
1275
1169
|
|
|
1276
1170
|
FLAGS
|
|
1277
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1278
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
1279
|
-
alternative to JWT authentication.
|
|
1171
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1280
1172
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
1281
1173
|
read-only repository clones.
|
|
1282
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
1283
1174
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1284
1175
|
--deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
|
|
1285
1176
|
deployment configuration file.
|
|
@@ -1287,16 +1178,12 @@ FLAGS
|
|
|
1287
1178
|
deployment progress file.
|
|
1288
1179
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
1289
1180
|
deployment rules file.
|
|
1290
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
1291
|
-
authentication.
|
|
1292
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
1293
1181
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
1294
1182
|
file.
|
|
1295
1183
|
--test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
|
|
1296
1184
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
1297
1185
|
--test-level.
|
|
1298
1186
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
1299
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
1300
1187
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
1301
1188
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
1302
1189
|
to talk to.
|
|
@@ -1316,7 +1203,7 @@ EXAMPLES
|
|
|
1316
1203
|
$ sf simply cicd deploy project pre-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1317
1204
|
```
|
|
1318
1205
|
|
|
1319
|
-
_See code: [lib/commands/simply/cicd/deploy/project/pre-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1206
|
+
_See code: [lib/commands/simply/cicd/deploy/project/pre-destructive.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/pre-destructive.js)_
|
|
1320
1207
|
|
|
1321
1208
|
## `sf simply cicd deploy project run-apex-tests`
|
|
1322
1209
|
|
|
@@ -1324,18 +1211,14 @@ Run Apex tests against the target org for a project deployment.
|
|
|
1324
1211
|
|
|
1325
1212
|
```
|
|
1326
1213
|
USAGE
|
|
1327
|
-
$ sf simply cicd deploy project run-apex-tests --ci-job-token <value> [--json] [--flags-dir <value>] [--
|
|
1328
|
-
[--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>] [--username <value>] [--vcs-host <value>]
|
|
1214
|
+
$ sf simply cicd deploy project run-apex-tests --ci-job-token <value> --alias <value> [--json] [--flags-dir <value>] [--vcs-host <value>]
|
|
1329
1215
|
[--vcs-provider github|gitlab] [--debug] [--deploy-config-file <value>] [--deploy-progress-file <value>]
|
|
1330
1216
|
[--deploy-rules-file <value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>]
|
|
1331
1217
|
|
|
1332
1218
|
FLAGS
|
|
1333
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1334
|
-
--auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
|
|
1335
|
-
alternative to JWT authentication.
|
|
1219
|
+
--alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
|
|
1336
1220
|
--ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
|
|
1337
1221
|
read-only repository clones.
|
|
1338
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
|
|
1339
1222
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1340
1223
|
--deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
|
|
1341
1224
|
deployment configuration file.
|
|
@@ -1343,16 +1226,12 @@ FLAGS
|
|
|
1343
1226
|
deployment progress file.
|
|
1344
1227
|
--deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
|
|
1345
1228
|
deployment rules file.
|
|
1346
|
-
--instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
|
|
1347
|
-
authentication.
|
|
1348
|
-
--jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
|
|
1349
1229
|
--start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
|
|
1350
1230
|
file.
|
|
1351
1231
|
--test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
|
|
1352
1232
|
--test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
|
|
1353
1233
|
--test-level.
|
|
1354
1234
|
--tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
|
|
1355
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
|
|
1356
1235
|
--vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
|
|
1357
1236
|
--vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
|
|
1358
1237
|
to talk to.
|
|
@@ -1371,7 +1250,7 @@ EXAMPLES
|
|
|
1371
1250
|
$ sf simply cicd deploy project run-apex-tests --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1372
1251
|
```
|
|
1373
1252
|
|
|
1374
|
-
_See code: [lib/commands/simply/cicd/deploy/project/run-apex-tests.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1253
|
+
_See code: [lib/commands/simply/cicd/deploy/project/run-apex-tests.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/run-apex-tests.js)_
|
|
1375
1254
|
|
|
1376
1255
|
## `sf simply cicd deploy project validate`
|
|
1377
1256
|
|
|
@@ -1406,7 +1285,7 @@ EXAMPLES
|
|
|
1406
1285
|
$ sf simply cicd deploy project validate --deploy-config-file config/deploy.json --deploy-rules-file config/deploy-rules.json
|
|
1407
1286
|
```
|
|
1408
1287
|
|
|
1409
|
-
_See code: [lib/commands/simply/cicd/deploy/project/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1288
|
+
_See code: [lib/commands/simply/cicd/deploy/project/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/validate.js)_
|
|
1410
1289
|
|
|
1411
1290
|
## `sf simply cicd deploy validate`
|
|
1412
1291
|
|
|
@@ -1440,7 +1319,7 @@ EXAMPLES
|
|
|
1440
1319
|
$ sf simply cicd deploy validate --deploy-config-file config/deploy.json --deploy-rules-file config/deploy-rules.json
|
|
1441
1320
|
```
|
|
1442
1321
|
|
|
1443
|
-
_See code: [lib/commands/simply/cicd/deploy/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1322
|
+
_See code: [lib/commands/simply/cicd/deploy/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/deploy/validate.js)_
|
|
1444
1323
|
|
|
1445
1324
|
## `sf simply cicd notify happy-soup`
|
|
1446
1325
|
|
|
@@ -1513,7 +1392,7 @@ EXAMPLES
|
|
|
1513
1392
|
$ 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
|
|
1514
1393
|
```
|
|
1515
1394
|
|
|
1516
|
-
_See code: [lib/commands/simply/cicd/notify/happy-soup.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1395
|
+
_See code: [lib/commands/simply/cicd/notify/happy-soup.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/notify/happy-soup.js)_
|
|
1517
1396
|
|
|
1518
1397
|
## `sf simply cicd notify project`
|
|
1519
1398
|
|
|
@@ -1524,16 +1403,14 @@ USAGE
|
|
|
1524
1403
|
$ sf simply cicd notify project [--json] [--flags-dir <value>] [--after-script] [--alias <value>] [--before-script]
|
|
1525
1404
|
[--ci-commit-ref-name <value>] [--ci-environment-name <value>] [--ci-job-name <value>] [--ci-job-stage <value>]
|
|
1526
1405
|
[--ci-job-status <value>] [--ci-pipeline-id <value>] [--ci-pipeline-url <value>] [--ci-project-title <value>]
|
|
1527
|
-
[--
|
|
1528
|
-
|
|
1529
|
-
[--
|
|
1530
|
-
[--prev-installed-package-version <value>] [--subscriber-package-version-id <value>] [--target-package-version
|
|
1531
|
-
<value>] [--teams-webhook-url <value>...] [--username <value>] [--debug]
|
|
1406
|
+
[--packaging-devhub <value>] [--enabled] [--alm-base-url <value>] [--alm-project-key <value>] [--alm-provider
|
|
1407
|
+
gitlab-issues|jira] [--prev-installed-package-version <value>] [--subscriber-package-version-id <value>]
|
|
1408
|
+
[--target-package-version <value>] [--teams-webhook-url <value>...] [--debug]
|
|
1532
1409
|
|
|
1533
1410
|
FLAGS
|
|
1534
1411
|
--after-script Run the after-deployment notification logic.
|
|
1535
|
-
--alias=<value> [env: SIMPLY_CICD_ALIAS]
|
|
1536
|
-
|
|
1412
|
+
--alias=<value> [env: SIMPLY_CICD_ALIAS] Alias of the target Salesforce org to query for the
|
|
1413
|
+
previously installed package version. Must already be authenticated.
|
|
1537
1414
|
--alm-base-url=<value> [env: SIMPLY_CICD_ALM_BASE_URL] Base URL that an issue reference is appended
|
|
1538
1415
|
to, e.g. https://jira.example.com/browse for Jira or
|
|
1539
1416
|
https://gitlab.com/group/project/-/issues for GitLab Issues. References are
|
|
@@ -1559,20 +1436,11 @@ FLAGS
|
|
|
1559
1436
|
--ci-pipeline-url=<value> [env: SIMPLY_CICD_CI_PIPELINE_URL] The URL of the current CI pipeline.
|
|
1560
1437
|
--ci-project-title=<value> [env: SIMPLY_CICD_CI_PROJECT_TITLE] The project title shown in the
|
|
1561
1438
|
notification card's heading.
|
|
1562
|
-
--client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID for JWT authentication
|
|
1563
|
-
to the target org.
|
|
1564
1439
|
--debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
|
|
1565
1440
|
--enabled [env: SIMPLY_CICD_ENABLED] Whether the notification is actually sent.
|
|
1566
1441
|
Defaults to false so pipelines can gate this behind their own condition.
|
|
1567
|
-
--
|
|
1568
|
-
|
|
1569
|
-
both the target org and packaging DevHub authentication.
|
|
1570
|
-
--packaging-devhub-client-id=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_CLIENT_ID] Connected app client ID for
|
|
1571
|
-
JWT authentication to the packaging DevHub.
|
|
1572
|
-
--packaging-devhub-instance-url=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_INSTANCE_URL] Login instance URL for the
|
|
1573
|
-
packaging DevHub.
|
|
1574
|
-
--packaging-devhub-username=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_USERNAME] Username for JWT authentication
|
|
1575
|
-
to the packaging DevHub.
|
|
1442
|
+
--packaging-devhub=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB] Alias of the Dev Hub used to look up
|
|
1443
|
+
target package version information. Must already be authenticated.
|
|
1576
1444
|
--prev-installed-package-version=<value> The previously installed package version. Only needed if re-running
|
|
1577
1445
|
--after-script without having run --before-script first in the same job.
|
|
1578
1446
|
--subscriber-package-version-id=<value> The subscriber package version ID (04t...) being deployed, used to resolve
|
|
@@ -1580,8 +1448,6 @@ FLAGS
|
|
|
1580
1448
|
--target-package-version=<value> The target package version. Only needed if re-running --after-script without
|
|
1581
1449
|
having run --before-script first in the same job.
|
|
1582
1450
|
--teams-webhook-url=<value>... One or more Teams webhook URLs to send the notification to.
|
|
1583
|
-
--username=<value> [env: SIMPLY_CICD_USERNAME] Username for JWT authentication to the target
|
|
1584
|
-
org.
|
|
1585
1451
|
|
|
1586
1452
|
GLOBAL FLAGS
|
|
1587
1453
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -1595,12 +1461,12 @@ DESCRIPTION
|
|
|
1595
1461
|
the tracked issues that shipped between those two versions).
|
|
1596
1462
|
|
|
1597
1463
|
EXAMPLES
|
|
1598
|
-
$ sf simply cicd notify project --before-script --ci-job-stage pre-destructive --alias my-org --
|
|
1464
|
+
$ sf simply cicd notify project --before-script --ci-job-stage pre-destructive --alias my-org --enabled
|
|
1599
1465
|
|
|
1600
1466
|
$ 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
|
|
1601
1467
|
```
|
|
1602
1468
|
|
|
1603
|
-
_See code: [lib/commands/simply/cicd/notify/project.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1469
|
+
_See code: [lib/commands/simply/cicd/notify/project.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/notify/project.js)_
|
|
1604
1470
|
|
|
1605
1471
|
## `sf simply cicd notify teams`
|
|
1606
1472
|
|
|
@@ -1632,7 +1498,7 @@ EXAMPLES
|
|
|
1632
1498
|
$ sf simply cicd notify teams --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1633
1499
|
```
|
|
1634
1500
|
|
|
1635
|
-
_See code: [lib/commands/simply/cicd/notify/teams.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1501
|
+
_See code: [lib/commands/simply/cicd/notify/teams.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/notify/teams.js)_
|
|
1636
1502
|
|
|
1637
1503
|
## `sf simply cicd sfdx-dependabot`
|
|
1638
1504
|
|
|
@@ -1708,7 +1574,7 @@ FLAG DESCRIPTIONS
|
|
|
1708
1574
|
Defaults to the selected provider's public instance if not provided.
|
|
1709
1575
|
```
|
|
1710
1576
|
|
|
1711
|
-
_See code: [lib/commands/simply/cicd/sfdx-dependabot.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.
|
|
1577
|
+
_See code: [lib/commands/simply/cicd/sfdx-dependabot.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-cicd@0.6.1/packages/simply-cicd/lib/commands/simply/cicd/sfdx-dependabot.js)_
|
|
1712
1578
|
<!-- commandsstop -->
|
|
1713
1579
|
|
|
1714
1580
|
## License
|