@simplysf/simply-cicd 0.3.0 → 0.5.3
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/LICENSE.txt +206 -0
- package/README.md +221 -163
- package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js +1 -1
- package/lib/commands/simply/cicd/build/create-fallback-tag.d.ts +2 -2
- package/lib/commands/simply/cicd/build/create-fallback-tag.js +1 -1
- package/lib/commands/simply/cicd/build/create-package-version.d.ts +2 -2
- package/lib/commands/simply/cicd/build/create-package-version.js +1 -1
- package/lib/commands/simply/cicd/build/create-scratch.js +1 -1
- package/lib/commands/simply/cicd/build/delete-scratch.js +1 -1
- package/lib/commands/simply/cicd/build/determine-package-changes.js +1 -1
- package/lib/commands/simply/cicd/build/generate-flexipage-diff.d.ts +9 -2
- package/lib/commands/simply/cicd/build/generate-flexipage-diff.js +8 -1
- package/lib/commands/simply/cicd/build/generate-flexipage-diff.js.map +1 -1
- package/lib/commands/simply/cicd/build/generate-flow-diff.d.ts +9 -2
- package/lib/commands/simply/cicd/build/generate-flow-diff.js +8 -1
- package/lib/commands/simply/cicd/build/generate-flow-diff.js.map +1 -1
- package/lib/commands/simply/cicd/build/install-dependencies.js +1 -1
- package/lib/commands/simply/cicd/build/lwc-jest.js +1 -1
- package/lib/commands/simply/cicd/build/push-scratch.js +1 -1
- package/lib/commands/simply/cicd/build/test-scratch.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +2 -0
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js +5 -4
- 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 +2 -2
- package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/validate.js +1 -1
- package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js +1 -1
- package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +2 -0
- package/lib/commands/simply/cicd/deploy/project/install-packaged.js +5 -4
- package/lib/commands/simply/cicd/deploy/project/install-packaged.js.map +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/project/post-deploy.js +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/project/post-destructive.js +1 -1
- package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +2 -2
- package/lib/commands/simply/cicd/deploy/project/pre-destructive.js +1 -1
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +2 -0
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js +5 -4
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js.map +1 -1
- package/lib/commands/simply/cicd/deploy/project/validate.js +1 -1
- package/lib/commands/simply/cicd/deploy/validate.js +1 -1
- package/lib/commands/simply/cicd/notify/happy-soup.js +1 -1
- package/lib/commands/simply/cicd/notify/project.d.ts +5 -16
- package/lib/commands/simply/cicd/notify/project.js +19 -203
- package/lib/commands/simply/cicd/notify/project.js.map +1 -1
- package/lib/commands/simply/cicd/notify/teams.js +1 -1
- package/lib/commands/simply/cicd/sfdx-dependabot.d.ts +7 -58
- package/lib/commands/simply/cicd/sfdx-dependabot.js +41 -287
- package/lib/commands/simply/cicd/sfdx-dependabot.js.map +1 -1
- package/lib/common/alm/gitlabIssues.d.ts +11 -0
- package/lib/common/alm/gitlabIssues.js +54 -0
- package/lib/common/alm/gitlabIssues.js.map +1 -0
- package/lib/common/alm/index.d.ts +4 -0
- package/lib/common/alm/index.js +24 -0
- package/lib/common/alm/index.js.map +1 -0
- package/lib/common/alm/jira.d.ts +8 -0
- package/lib/common/alm/jira.js +43 -0
- package/lib/common/alm/jira.js.map +1 -0
- package/lib/common/alm/registry.d.ts +10 -0
- package/lib/common/alm/registry.js +37 -0
- package/lib/common/alm/registry.js.map +1 -0
- package/lib/common/alm/types.d.ts +35 -0
- package/lib/common/alm/types.js +17 -0
- package/lib/common/alm/types.js.map +1 -0
- package/lib/common/build/cleanupScratchOrgs.js +1 -1
- package/lib/common/build/createFallbackTag.d.ts +1 -1
- package/lib/common/build/createFallbackTag.js +7 -4
- package/lib/common/build/createFallbackTag.js.map +1 -1
- package/lib/common/build/createPackageVersion.d.ts +1 -1
- package/lib/common/build/createPackageVersion.js +7 -4
- package/lib/common/build/createPackageVersion.js.map +1 -1
- package/lib/common/build/createScratchOrg.js +1 -1
- package/lib/common/build/deleteScratchOrg.js +1 -1
- package/lib/common/build/deltaRunner.d.ts +73 -0
- package/lib/common/build/deltaRunner.js +109 -0
- package/lib/common/build/deltaRunner.js.map +1 -0
- package/lib/common/build/determinePackageChanges.js +1 -1
- package/lib/common/build/devHubs.js +1 -1
- package/lib/common/build/flags.d.ts +17 -5
- package/lib/common/build/flags.js +29 -6
- package/lib/common/build/flags.js.map +1 -1
- package/lib/common/build/flexipageDelta.d.ts +6 -19
- package/lib/common/build/flexipageDelta.js +6 -63
- package/lib/common/build/flexipageDelta.js.map +1 -1
- package/lib/common/build/flowDelta.d.ts +6 -19
- package/lib/common/build/flowDelta.js +6 -63
- package/lib/common/build/flowDelta.js.map +1 -1
- package/lib/common/build/installDependencies.js +1 -1
- package/lib/common/build/lwcJest.js +1 -1
- package/lib/common/build/pushScratch.js +1 -1
- package/lib/common/build/scratchOrgInfo.js +1 -1
- package/lib/common/build/skipGuard.js +1 -1
- package/lib/common/build/testScratch.js +1 -1
- package/lib/common/deploy/deployCommon.d.ts +1 -1
- package/lib/common/deploy/deployCommon.js +4 -4
- package/lib/common/deploy/deployCommon.js.map +1 -1
- package/lib/common/deploy/deployHappySoup.d.ts +3 -3
- package/lib/common/deploy/deployHappySoup.js +11 -9
- package/lib/common/deploy/deployHappySoup.js.map +1 -1
- package/lib/common/deploy/deployProject.d.ts +1 -1
- package/lib/common/deploy/deployProject.js +1 -1
- package/lib/common/deploy/flags.d.ts +3 -2
- package/lib/common/deploy/flags.js +3 -3
- package/lib/common/deploy/flags.js.map +1 -1
- package/lib/common/deploy/runDeployStage.js +1 -1
- package/lib/common/deploy/stageCommand.d.ts +5 -5
- package/lib/common/deploy/stageCommand.js +1 -1
- package/lib/common/deploy/validate.js +1 -1
- package/lib/common/env.js +1 -1
- package/lib/common/exec/sfCli.js +1 -1
- package/lib/common/flags/env.js +1 -1
- package/lib/common/git.d.ts +1 -2
- package/lib/common/git.js +4 -4
- package/lib/common/git.js.map +1 -1
- package/lib/common/logger.js +1 -1
- package/lib/common/notify/getCommitStories.d.ts +13 -7
- package/lib/common/notify/getCommitStories.js +13 -21
- package/lib/common/notify/getCommitStories.js.map +1 -1
- package/lib/common/notify/projectNotification.d.ts +58 -0
- package/lib/common/notify/projectNotification.js +204 -0
- package/lib/common/notify/projectNotification.js.map +1 -0
- package/lib/common/notify/renderTemplate.js +1 -1
- package/lib/common/notify/sendNotification.js +1 -1
- package/lib/common/notify/templates.js +60 -60
- package/lib/common/schemas/deployConfig.js +1 -1
- package/lib/common/schemas/deployProgress.js +1 -1
- package/lib/common/schemas/deployRules.js +1 -1
- package/lib/common/sfApex.js +1 -1
- package/lib/common/sfAuth.js +1 -1
- package/lib/common/sfConfig.d.ts +6 -2
- package/lib/common/sfConfig.js +26 -9
- package/lib/common/sfConfig.js.map +1 -1
- package/lib/common/sfPackages.js +1 -1
- package/lib/common/sfPlugins.js +1 -1
- package/lib/common/sfdxDependabot/dependabotRun.d.ts +95 -0
- package/lib/common/sfdxDependabot/dependabotRun.js +287 -0
- package/lib/common/sfdxDependabot/dependabotRun.js.map +1 -0
- package/lib/common/sfdxDependabot/updater.js +1 -1
- package/lib/common/vcs/github.d.ts +27 -0
- package/lib/common/vcs/github.js +258 -0
- package/lib/common/vcs/github.js.map +1 -0
- package/lib/common/vcs/gitlab.d.ts +21 -14
- package/lib/common/vcs/gitlab.js +59 -33
- package/lib/common/vcs/gitlab.js.map +1 -1
- package/lib/common/vcs/index.d.ts +4 -4
- package/lib/common/vcs/index.js +8 -10
- package/lib/common/vcs/index.js.map +1 -1
- package/lib/common/vcs/registry.d.ts +10 -0
- package/lib/common/vcs/registry.js +37 -0
- package/lib/common/vcs/registry.js.map +1 -0
- package/lib/common/vcs/types.d.ts +68 -16
- package/lib/common/vcs/types.js +1 -1
- package/lib/config/defaultDeploymentPlugins.js +1 -1
- package/lib/config/trustedPlugins.js +1 -1
- package/lib/index.js +1 -1
- package/messages/simply.cicd.build.generate-flexipage-diff.md +4 -2
- package/messages/simply.cicd.build.generate-flow-diff.md +4 -2
- package/messages/simply.cicd.build.md +22 -2
- package/messages/simply.cicd.deploy.happy-soup.deploy-unpackaged.md +11 -11
- package/messages/simply.cicd.deploy.happy-soup.post-deploy.md +11 -11
- package/messages/simply.cicd.deploy.happy-soup.post-destructive.md +11 -11
- package/messages/simply.cicd.deploy.happy-soup.pre-destructive.md +11 -11
- package/messages/simply.cicd.deploy.md +75 -75
- package/messages/simply.cicd.deploy.project.deploy-unpackaged.md +11 -11
- package/messages/simply.cicd.deploy.project.post-deploy.md +11 -11
- package/messages/simply.cicd.deploy.project.post-destructive.md +11 -11
- package/messages/simply.cicd.deploy.project.pre-destructive.md +11 -11
- package/messages/simply.cicd.notify.project.md +10 -6
- package/messages/simply.cicd.notify.teams.md +27 -27
- package/messages/simply.cicd.sfdx-dependabot.md +40 -18
- package/package.json +215 -214
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the post-deploy stage of a happy-soup deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/postDeploy.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the post-deploy stage of a happy-soup deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/postDeploy.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the post-destructive stage of a happy-soup deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/postDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the post-destructive stage of a happy-soup deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/postDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the pre-destructive stage of a happy-soup deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/preDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the pre-destructive stage of a happy-soup deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/preDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
# flags.alias.summary
|
|
2
|
-
|
|
3
|
-
Salesforce org alias.
|
|
4
|
-
|
|
5
|
-
# flags.auth-url.summary
|
|
6
|
-
|
|
7
|
-
Salesforce authorization (SFDX auth) URL, used as an alternative to JWT authentication.
|
|
8
|
-
|
|
9
|
-
# flags.client-id.summary
|
|
10
|
-
|
|
11
|
-
Connected app client ID, used for JWT authentication.
|
|
12
|
-
|
|
13
|
-
# flags.instance-url.summary
|
|
14
|
-
|
|
15
|
-
Salesforce login/instance URL, used for JWT authentication.
|
|
16
|
-
|
|
17
|
-
# flags.jwt-key-file.summary
|
|
18
|
-
|
|
19
|
-
Path to the JWT private key file.
|
|
20
|
-
|
|
21
|
-
# flags.username.summary
|
|
22
|
-
|
|
23
|
-
Salesforce username, used for JWT authentication.
|
|
24
|
-
|
|
25
|
-
# flags.debug.summary
|
|
26
|
-
|
|
27
|
-
Enable verbose debug logging.
|
|
28
|
-
|
|
29
|
-
# flags.vcs-host.summary
|
|
30
|
-
|
|
31
|
-
The source-control host to talk to (e.g. gitlab.com).
|
|
32
|
-
|
|
33
|
-
# flags.vcs-provider.summary
|
|
34
|
-
|
|
35
|
-
The source-control-hosting platform to talk to.
|
|
36
|
-
|
|
37
|
-
# flags.test-level.summary
|
|
38
|
-
|
|
39
|
-
The Apex test level to run.
|
|
40
|
-
|
|
41
|
-
# flags.test-suite.summary
|
|
42
|
-
|
|
43
|
-
The Apex test suite to run. If specified, overrides --test-level.
|
|
44
|
-
|
|
45
|
-
# flags.tests.summary
|
|
46
|
-
|
|
47
|
-
Specific Apex tests to run.
|
|
48
|
-
|
|
49
|
-
# flags.start-from.summary
|
|
50
|
-
|
|
51
|
-
Start (or resume) the deployment from a specific job name, overriding the progress file.
|
|
52
|
-
|
|
53
|
-
# flags.deploy-progress-file.summary
|
|
54
|
-
|
|
55
|
-
Path to the deployment progress file.
|
|
56
|
-
|
|
57
|
-
# flags.deploy-rules-file.summary
|
|
58
|
-
|
|
59
|
-
Path to the deployment rules file.
|
|
60
|
-
|
|
61
|
-
# flags.ci-job-token.summary
|
|
62
|
-
|
|
63
|
-
The CI job token used to authenticate read-only repository clones.
|
|
64
|
-
|
|
65
|
-
# flags.project-deploy-config-file.summary
|
|
66
|
-
|
|
67
|
-
Path to the deployment configuration file.
|
|
68
|
-
|
|
69
|
-
# flags.happy-soup-deploy-config-file.summary
|
|
70
|
-
|
|
71
|
-
Path to the deployment configuration file. If not provided, derived from --source-branch-name.
|
|
72
|
-
|
|
73
|
-
# flags.source-branch-name.summary
|
|
74
|
-
|
|
75
|
-
The source branch name for the deployment, used to derive the deployment config file path if --deploy-config-file is not provided.
|
|
1
|
+
# flags.alias.summary
|
|
2
|
+
|
|
3
|
+
Salesforce org alias.
|
|
4
|
+
|
|
5
|
+
# flags.auth-url.summary
|
|
6
|
+
|
|
7
|
+
Salesforce authorization (SFDX auth) URL, used as an alternative to JWT authentication.
|
|
8
|
+
|
|
9
|
+
# flags.client-id.summary
|
|
10
|
+
|
|
11
|
+
Connected app client ID, used for JWT authentication.
|
|
12
|
+
|
|
13
|
+
# flags.instance-url.summary
|
|
14
|
+
|
|
15
|
+
Salesforce login/instance URL, used for JWT authentication.
|
|
16
|
+
|
|
17
|
+
# flags.jwt-key-file.summary
|
|
18
|
+
|
|
19
|
+
Path to the JWT private key file.
|
|
20
|
+
|
|
21
|
+
# flags.username.summary
|
|
22
|
+
|
|
23
|
+
Salesforce username, used for JWT authentication.
|
|
24
|
+
|
|
25
|
+
# flags.debug.summary
|
|
26
|
+
|
|
27
|
+
Enable verbose debug logging.
|
|
28
|
+
|
|
29
|
+
# flags.vcs-host.summary
|
|
30
|
+
|
|
31
|
+
The source-control host to talk to (e.g. gitlab.com).
|
|
32
|
+
|
|
33
|
+
# flags.vcs-provider.summary
|
|
34
|
+
|
|
35
|
+
The source-control-hosting platform to talk to.
|
|
36
|
+
|
|
37
|
+
# flags.test-level.summary
|
|
38
|
+
|
|
39
|
+
The Apex test level to run.
|
|
40
|
+
|
|
41
|
+
# flags.test-suite.summary
|
|
42
|
+
|
|
43
|
+
The Apex test suite to run. If specified, overrides --test-level.
|
|
44
|
+
|
|
45
|
+
# flags.tests.summary
|
|
46
|
+
|
|
47
|
+
Specific Apex tests to run.
|
|
48
|
+
|
|
49
|
+
# flags.start-from.summary
|
|
50
|
+
|
|
51
|
+
Start (or resume) the deployment from a specific job name, overriding the progress file.
|
|
52
|
+
|
|
53
|
+
# flags.deploy-progress-file.summary
|
|
54
|
+
|
|
55
|
+
Path to the deployment progress file.
|
|
56
|
+
|
|
57
|
+
# flags.deploy-rules-file.summary
|
|
58
|
+
|
|
59
|
+
Path to the deployment rules file.
|
|
60
|
+
|
|
61
|
+
# flags.ci-job-token.summary
|
|
62
|
+
|
|
63
|
+
The CI job token used to authenticate read-only repository clones.
|
|
64
|
+
|
|
65
|
+
# flags.project-deploy-config-file.summary
|
|
66
|
+
|
|
67
|
+
Path to the deployment configuration file.
|
|
68
|
+
|
|
69
|
+
# flags.happy-soup-deploy-config-file.summary
|
|
70
|
+
|
|
71
|
+
Path to the deployment configuration file. If not provided, derived from --source-branch-name.
|
|
72
|
+
|
|
73
|
+
# flags.source-branch-name.summary
|
|
74
|
+
|
|
75
|
+
The source branch name for the deployment, used to derive the deployment config file path if --deploy-config-file is not provided.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the deploy-unpackaged stage of a project deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/unpackagedDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the deploy-unpackaged stage of a project deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/unpackagedDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the post-deploy stage of a project deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/postDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the post-deploy stage of a project deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/postDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the post-destructive stage of a project deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/postDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the post-destructive stage of a project deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/postDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Run the pre-destructive stage of a project deployment.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Runs the `bin/preDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
-
|
|
9
|
-
# examples
|
|
10
|
-
|
|
11
|
-
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Run the pre-destructive stage of a project deployment.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Runs the `bin/preDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
Send a project deployment notification to Microsoft Teams, with
|
|
3
|
+
Send a project deployment notification to Microsoft Teams, with issue-tracker integration.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
Run once with `--before-script` at the start of a deployment pipeline (to record the previously installed and target package versions), and once with `--after-script` at the end (to post a success or failure card to Teams, including the
|
|
7
|
+
Run once with `--before-script` at the start of a deployment pipeline (to record the previously installed and target package versions), and once with `--after-script` at the end (to post a success or failure card to Teams, including the tracked issues that shipped between those two versions).
|
|
8
8
|
|
|
9
9
|
# flags.after-script.summary
|
|
10
10
|
|
|
@@ -74,13 +74,17 @@ Whether the notification is actually sent. Defaults to false so pipelines can ga
|
|
|
74
74
|
|
|
75
75
|
Login instance URL for the target org.
|
|
76
76
|
|
|
77
|
-
# flags.
|
|
77
|
+
# flags.alm-base-url.summary
|
|
78
78
|
|
|
79
|
-
Base URL
|
|
79
|
+
Base URL that an issue reference is appended to, e.g. https://jira.example.com/browse for Jira or https://gitlab.com/group/project/-/issues for GitLab Issues. References are shown without links if not provided.
|
|
80
80
|
|
|
81
|
-
# flags.
|
|
81
|
+
# flags.alm-project-key.summary
|
|
82
82
|
|
|
83
|
-
Fallback
|
|
83
|
+
Fallback project key(s) used to search commit messages for issue references, if none are configured in .sfdevrc.json. Only used by prefix-keyed trackers such as Jira.
|
|
84
|
+
|
|
85
|
+
# flags.alm-provider.summary
|
|
86
|
+
|
|
87
|
+
The issue tracker whose reference format to look for in commit messages.
|
|
84
88
|
|
|
85
89
|
# flags.jwt-key-file.summary
|
|
86
90
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Send a serialized JSON payload to a Microsoft Teams webhook.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Posts a payload as-is to one or more Microsoft Teams incoming webhook URLs. Use this for custom notifications that don't fit the built-in `notify project` or `notify happy-soup` card templates.
|
|
8
|
-
|
|
9
|
-
# flags.payload.summary
|
|
10
|
-
|
|
11
|
-
The JSON payload to send to Teams, as a serialized string.
|
|
12
|
-
|
|
13
|
-
# flags.webhook-url.summary
|
|
14
|
-
|
|
15
|
-
The Teams webhook URL to send the payload to.
|
|
16
|
-
|
|
17
|
-
# flags.enabled.summary
|
|
18
|
-
|
|
19
|
-
Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.
|
|
20
|
-
|
|
21
|
-
# flags.debug.summary
|
|
22
|
-
|
|
23
|
-
Enable verbose debug logging.
|
|
24
|
-
|
|
25
|
-
# examples
|
|
26
|
-
|
|
27
|
-
- <%= config.bin %> <%= command.id %> --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Send a serialized JSON payload to a Microsoft Teams webhook.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Posts a payload as-is to one or more Microsoft Teams incoming webhook URLs. Use this for custom notifications that don't fit the built-in `notify project` or `notify happy-soup` card templates.
|
|
8
|
+
|
|
9
|
+
# flags.payload.summary
|
|
10
|
+
|
|
11
|
+
The JSON payload to send to Teams, as a serialized string.
|
|
12
|
+
|
|
13
|
+
# flags.webhook-url.summary
|
|
14
|
+
|
|
15
|
+
The Teams webhook URL to send the payload to.
|
|
16
|
+
|
|
17
|
+
# flags.enabled.summary
|
|
18
|
+
|
|
19
|
+
Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.
|
|
20
|
+
|
|
21
|
+
# flags.debug.summary
|
|
22
|
+
|
|
23
|
+
Enable verbose debug logging.
|
|
24
|
+
|
|
25
|
+
# examples
|
|
26
|
+
|
|
27
|
+
- <%= config.bin %> <%= command.id %> --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
|
|
@@ -4,25 +4,33 @@ Automatically update downstream projects with a newly released Salesforce 2GP pa
|
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
Discovers repositories under a
|
|
7
|
+
Discovers repositories under a group or organization, reads each one's `sfdx-project.json`, and for any repository that both depends on the released package and has opted in via the `SFDX_DEPENDABOT_ENABLED=TRUE` repository-level CI variable, opens (or updates) a change request bumping the dependency to the newly released version.
|
|
8
8
|
|
|
9
9
|
Each eligible repository must explicitly opt in — this command never touches a downstream repository's dependencies without that variable set.
|
|
10
10
|
|
|
11
|
-
# flags.
|
|
11
|
+
# flags.vcs-host.summary
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Hostname of the VCS instance hosting the downstream projects.
|
|
14
14
|
|
|
15
|
-
# flags.
|
|
15
|
+
# flags.vcs-host.description
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Defaults to the selected provider's public instance if not provided.
|
|
18
18
|
|
|
19
|
-
# flags.
|
|
19
|
+
# flags.vcs-api-url.summary
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Base URL of the VCS platform's API.
|
|
22
|
+
|
|
23
|
+
# flags.vcs-api-url.description
|
|
24
|
+
|
|
25
|
+
Only needed for self-hosted instances whose API is not at the provider's usual location. Falls back to the SFDX_DEPENDABOT_VCS_API_URL or CI_API_V4_URL environment variables if not provided.
|
|
26
|
+
|
|
27
|
+
# flags.vcs-token.summary
|
|
28
|
+
|
|
29
|
+
VCS access token with file-writing and change request privileges.
|
|
22
30
|
|
|
23
31
|
# flags.root-group-id.summary
|
|
24
32
|
|
|
25
|
-
|
|
33
|
+
Group or organization ID, or URL-encoded path, to scan for downstream projects.
|
|
26
34
|
|
|
27
35
|
# flags.subscriber-package-version-id.summary
|
|
28
36
|
|
|
@@ -34,31 +42,31 @@ Salesforce DevHub username or alias used to resolve the package's name and versi
|
|
|
34
42
|
|
|
35
43
|
# flags.dry-run.summary
|
|
36
44
|
|
|
37
|
-
Run discovery and parsing, but perform zero write, commit, or
|
|
45
|
+
Run discovery and parsing, but perform zero write, commit, or change request operations.
|
|
38
46
|
|
|
39
47
|
# flags.project-allowlist.summary
|
|
40
48
|
|
|
41
|
-
Comma-separated list of
|
|
49
|
+
Comma-separated list of repository paths to include in the scan. If specified, only matching repositories are scanned.
|
|
42
50
|
|
|
43
51
|
# flags.project-denylist.summary
|
|
44
52
|
|
|
45
|
-
Comma-separated list of
|
|
53
|
+
Comma-separated list of repository paths to exclude from scanning.
|
|
46
54
|
|
|
47
55
|
# flags.skip-archived.summary
|
|
48
56
|
|
|
49
|
-
Skip archived
|
|
57
|
+
Skip archived repositories.
|
|
50
58
|
|
|
51
59
|
# flags.skip-forks.summary
|
|
52
60
|
|
|
53
|
-
Skip forked
|
|
61
|
+
Skip forked repositories.
|
|
54
62
|
|
|
55
63
|
# flags.branch-prefix.summary
|
|
56
64
|
|
|
57
65
|
Prefix used for generated branch names.
|
|
58
66
|
|
|
59
|
-
# flags.
|
|
67
|
+
# flags.change-request-labels.summary
|
|
60
68
|
|
|
61
|
-
Comma-separated labels to apply to created or updated merge requests.
|
|
69
|
+
Comma-separated labels to apply to created or updated change requests (merge requests on GitLab, pull requests on GitHub).
|
|
62
70
|
|
|
63
71
|
# flags.fail-on-error.summary
|
|
64
72
|
|
|
@@ -76,11 +84,25 @@ The source-control-hosting platform to talk to.
|
|
|
76
84
|
|
|
77
85
|
- <%= config.bin %> <%= command.id %> --root-group-id 12345 --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com --dry-run
|
|
78
86
|
|
|
79
|
-
- <%= config.bin %> <%= command.id %> --root-group-id 12345 --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com --branch-prefix devops/dependabot --
|
|
87
|
+
- <%= config.bin %> <%= command.id %> --root-group-id 12345 --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com --branch-prefix devops/dependabot --change-request-labels dependencies
|
|
88
|
+
|
|
89
|
+
- <%= config.bin %> <%= command.id %> --vcs-provider github --root-group-id my-org --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com
|
|
90
|
+
|
|
91
|
+
# error.missingVcsToken
|
|
92
|
+
|
|
93
|
+
Missing VCS access token. Provide --vcs-token or set SFDX_DEPENDABOT_VCS_TOKEN.
|
|
94
|
+
|
|
95
|
+
# error.missingRootGroupId
|
|
96
|
+
|
|
97
|
+
Missing root group or organization ID. Provide --root-group-id or set SFDX_DEPENDABOT_ROOT_GROUP_ID.
|
|
98
|
+
|
|
99
|
+
# error.missingSubscriberPackageVersionId
|
|
100
|
+
|
|
101
|
+
Missing subscriber package version ID. Provide --subscriber-package-version-id or set SUBSCRIBER_PACKAGE_VERSION_ID.
|
|
80
102
|
|
|
81
|
-
# error.
|
|
103
|
+
# error.missingDevhubUsername
|
|
82
104
|
|
|
83
|
-
Missing
|
|
105
|
+
Missing DevHub username/alias. Provide --devhub-username or set DEVHUB_TOOLING_USERNAME.
|
|
84
106
|
|
|
85
107
|
# info.starting
|
|
86
108
|
|