@simplysf/simply-cicd 0.7.0 → 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.
Files changed (65) hide show
  1. package/README.md +59 -186
  2. package/lib/commands/simply/cicd/build/create-package-version.d.ts +1 -4
  3. package/lib/commands/simply/cicd/build/create-package-version.js +5 -19
  4. package/lib/commands/simply/cicd/build/create-package-version.js.map +1 -1
  5. package/lib/commands/simply/cicd/build/delete-scratch.js +2 -2
  6. package/lib/commands/simply/cicd/build/delete-scratch.js.map +1 -1
  7. package/lib/commands/simply/cicd/build/install-dependencies.js +2 -2
  8. package/lib/commands/simply/cicd/build/install-dependencies.js.map +1 -1
  9. package/lib/commands/simply/cicd/build/push-scratch.js +2 -2
  10. package/lib/commands/simply/cicd/build/push-scratch.js.map +1 -1
  11. package/lib/commands/simply/cicd/build/test-scratch.js +2 -2
  12. package/lib/commands/simply/cicd/build/test-scratch.js.map +1 -1
  13. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +1 -6
  14. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +2 -9
  15. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js +4 -19
  16. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js.map +1 -1
  17. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +1 -6
  18. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +1 -6
  19. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +1 -6
  20. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +1 -6
  21. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js +0 -5
  22. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js.map +1 -1
  23. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +1 -6
  24. package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +1 -6
  25. package/lib/commands/simply/cicd/deploy/project/install-packaged.js +0 -5
  26. package/lib/commands/simply/cicd/deploy/project/install-packaged.js.map +1 -1
  27. package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +1 -6
  28. package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +1 -6
  29. package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +1 -6
  30. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +1 -6
  31. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js +0 -5
  32. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js.map +1 -1
  33. package/lib/commands/simply/cicd/notify/project.d.ts +1 -7
  34. package/lib/commands/simply/cicd/notify/project.js +4 -31
  35. package/lib/commands/simply/cicd/notify/project.js.map +1 -1
  36. package/lib/common/build/createPackageVersion.d.ts +2 -4
  37. package/lib/common/build/createPackageVersion.js +8 -11
  38. package/lib/common/build/createPackageVersion.js.map +1 -1
  39. package/lib/common/build/flags.d.ts +3 -7
  40. package/lib/common/build/flags.js +3 -11
  41. package/lib/common/build/flags.js.map +1 -1
  42. package/lib/common/deploy/deployCommon.d.ts +12 -10
  43. package/lib/common/deploy/deployCommon.js +10 -13
  44. package/lib/common/deploy/deployCommon.js.map +1 -1
  45. package/lib/common/deploy/deployHappySoup.d.ts +1 -3
  46. package/lib/common/deploy/deployHappySoup.js +8 -17
  47. package/lib/common/deploy/deployHappySoup.js.map +1 -1
  48. package/lib/common/deploy/deployProject.js +1 -3
  49. package/lib/common/deploy/deployProject.js.map +1 -1
  50. package/lib/common/deploy/flags.d.ts +6 -7
  51. package/lib/common/deploy/flags.js +9 -12
  52. package/lib/common/deploy/flags.js.map +1 -1
  53. package/lib/common/deploy/stageCommand.d.ts +3 -18
  54. package/lib/common/deploy/stageCommand.js +0 -10
  55. package/lib/common/deploy/stageCommand.js.map +1 -1
  56. package/lib/common/notify/projectNotification.d.ts +5 -17
  57. package/lib/common/notify/projectNotification.js +24 -51
  58. package/lib/common/notify/projectNotification.js.map +1 -1
  59. package/lib/common/sfPackages.d.ts +2 -5
  60. package/lib/common/sfPackages.js +8 -25
  61. package/lib/common/sfPackages.js.map +1 -1
  62. package/messages/simply.cicd.build.create-package-version.md +3 -11
  63. package/messages/simply.cicd.deploy.happy-soup.install-packaged.md +3 -11
  64. package/messages/simply.cicd.notify.project.md +4 -28
  65. package/package.json +2 -2
package/README.md CHANGED
@@ -142,9 +142,8 @@ Create a new package version, verify minimum code coverage, and create/push a ve
142
142
  ```
143
143
  USAGE
144
144
  $ sf simply cicd build create-package-version --ci-commit-ref-name <value> --ci-pipeline-id <value> --ci-project-path <value>
145
- --project-access-token <value> --jwt-key-file <value> --ci-commit-sha <value> --ci-pipeline-url <value>
146
- --packaging-devhub-username <value> --packaging-devhub-client-id <value> --packaging-devhub-instance-url <value>
147
- [--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]
148
147
  [--ci-pipeline-source <value>] [--always-create-package] [--code-coverage-minimum <value>]
149
148
  [--package-release-branch-prefix <value>]
150
149
 
@@ -168,19 +167,11 @@ FLAGS
168
167
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
169
168
  --disabled [env: SIMPLY_CICD_DISABLED] Skip this job entirely, logging a warning instead
170
169
  of running it.
171
- --jwt-key-file=<value> (required) [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file
172
- used to re-authenticate the scratch org (or its Dev Hub) when it was
173
- JWT-authenticated. Not needed when the Dev Hub was authenticated via web
174
- login or an SFDX auth URL — the scratch org's own refresh token is used
175
- instead.
176
170
  --package-release-branch-prefix=<value> Prefix identifying release branches. Determines whether this build creates a
177
171
  package version and how the resulting git tag is named.
178
- --packaging-devhub-client-id=<value> (required) [env: SIMPLY_CICD_PACKAGING_DEVHUB_CLIENT_ID] Connected app client
179
- ID for the packaging Dev Hub.
180
- --packaging-devhub-instance-url=<value> (required) [env: SIMPLY_CICD_PACKAGING_DEVHUB_INSTANCE_URL] Login instance
181
- URL for the packaging Dev Hub.
182
- --packaging-devhub-username=<value> (required) [env: SIMPLY_CICD_PACKAGING_DEVHUB_USERNAME] Username of the Dev
183
- 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.
184
175
  --project-access-token=<value> (required) [env: SIMPLY_CICD_PROJECT_ACCESS_TOKEN] Access token used to
185
176
  authenticate git remote operations (tagging, pushing).
186
177
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] Hostname of the VCS instance hosting this
@@ -205,7 +196,7 @@ DESCRIPTION
205
196
  Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
206
197
 
207
198
  EXAMPLES
208
- $ 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-username packaging-devhub@example.com --packaging-devhub-client-id 3MVG9... --packaging-devhub-instance-url https://login.salesforce.com --jwt-key-file ./server.key
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
209
200
  ```
210
201
 
211
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)_
@@ -586,19 +577,15 @@ Run the deploy-unpackaged stage of a happy-soup deployment.
586
577
 
587
578
  ```
588
579
  USAGE
589
- $ sf simply cicd deploy happy-soup deploy-unpackaged --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
590
- [--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]
591
581
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
592
582
  <value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
593
583
  [--vcs-provider github|gitlab]
594
584
 
595
585
  FLAGS
596
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
597
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
598
- alternative to JWT authentication.
586
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
599
587
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
600
588
  read-only repository clones.
601
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
602
589
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
603
590
  --deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
604
591
  not provided, derived from --source-branch-name.
@@ -606,9 +593,6 @@ FLAGS
606
593
  deployment progress file.
607
594
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
608
595
  deployment rules file.
609
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
610
- authentication.
611
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
612
596
  --source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
613
597
  to derive the deployment config file path if --deploy-config-file is not provided.
614
598
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
@@ -617,7 +601,6 @@ FLAGS
617
601
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
618
602
  --test-level.
619
603
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
620
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
621
604
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
622
605
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
623
606
  to talk to.
@@ -699,43 +682,27 @@ Install packaged dependencies into the target org for a happy-soup deployment.
699
682
 
700
683
  ```
701
684
  USAGE
702
- $ sf simply cicd deploy happy-soup install-packaged [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>] [--client-id <value>]
703
- [--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
704
686
  github|gitlab] [--debug] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--install-type
705
- All|Delta|Upgrade] [--packaging-devhub-client-id <value>] [--packaging-devhub-instance-url <value>]
706
- [--packaging-devhub-username <value>]
687
+ All|Delta|Upgrade] [--packaging-devhub <value>]
707
688
 
708
689
  FLAGS
709
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
710
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as
711
- an alternative to JWT authentication.
712
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT
713
- authentication.
714
- --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
715
- --deploy-progress-file=<value> [default: DEPLOY_PROGRESS.json, env: SIMPLY_CICD_DEPLOY_PROGRESS_FILE] Path
716
- to the deployment progress file.
717
- --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path
718
- to the deployment rules file.
719
- --install-type=<option> [default: Upgrade] The type of dependency installation to perform.
720
- <options: All|Delta|Upgrade>
721
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
722
- authentication.
723
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
724
- --packaging-devhub-client-id=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_CLIENT_ID] Connected app client ID for JWT
725
- authentication to the packaging DevHub.
726
- --packaging-devhub-instance-url=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_INSTANCE_URL] Login instance URL for the
727
- packaging DevHub.
728
- --packaging-devhub-username=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_USERNAME] Username for JWT authentication
729
- to the packaging DevHub. Required (along with the other
730
- `--packaging-devhub-*` flags) to look up the previous/target version's origin
731
- commit information for upgraded packages; omitted entirely (with a warning)
732
- when not provided.
733
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
734
- --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g.
735
- gitlab.com).
736
- --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting
737
- platform to talk to.
738
- <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>
739
706
 
740
707
  GLOBAL FLAGS
741
708
  --flags-dir=<value> Import flag values from a directory.
@@ -744,9 +711,10 @@ GLOBAL FLAGS
744
711
  DESCRIPTION
745
712
  Install packaged dependencies into the target org for a happy-soup deployment.
746
713
 
747
- Authenticates to the target org and installs the packaged dependencies declared in `sfdx-project.json`. For every
748
- dependency that upgrades an already-installed package, records the previous/target version and origin commit
749
- information to the deploy progress file, for `notify happy-soup` to look up related stories from later.
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.
750
718
 
751
719
  EXAMPLES
752
720
  $ sf simply cicd deploy happy-soup install-packaged --alias my-org
@@ -760,19 +728,15 @@ Run the post-deploy stage of a happy-soup deployment.
760
728
 
761
729
  ```
762
730
  USAGE
763
- $ sf simply cicd deploy happy-soup post-deploy --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
764
- [--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]
765
732
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
766
733
  <value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
767
734
  [--vcs-provider github|gitlab]
768
735
 
769
736
  FLAGS
770
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
771
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
772
- alternative to JWT authentication.
737
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
773
738
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
774
739
  read-only repository clones.
775
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
776
740
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
777
741
  --deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
778
742
  not provided, derived from --source-branch-name.
@@ -780,9 +744,6 @@ FLAGS
780
744
  deployment progress file.
781
745
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
782
746
  deployment rules file.
783
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
784
- authentication.
785
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
786
747
  --source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
787
748
  to derive the deployment config file path if --deploy-config-file is not provided.
788
749
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
@@ -791,7 +752,6 @@ FLAGS
791
752
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
792
753
  --test-level.
793
754
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
794
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
795
755
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
796
756
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
797
757
  to talk to.
@@ -819,19 +779,15 @@ Run the post-destructive stage of a happy-soup deployment.
819
779
 
820
780
  ```
821
781
  USAGE
822
- $ sf simply cicd deploy happy-soup post-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
823
- [--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]
824
783
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
825
784
  <value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
826
785
  [--vcs-provider github|gitlab]
827
786
 
828
787
  FLAGS
829
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
830
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
831
- alternative to JWT authentication.
788
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
832
789
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
833
790
  read-only repository clones.
834
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
835
791
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
836
792
  --deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
837
793
  not provided, derived from --source-branch-name.
@@ -839,9 +795,6 @@ FLAGS
839
795
  deployment progress file.
840
796
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
841
797
  deployment rules file.
842
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
843
- authentication.
844
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
845
798
  --source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
846
799
  to derive the deployment config file path if --deploy-config-file is not provided.
847
800
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
@@ -850,7 +803,6 @@ FLAGS
850
803
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
851
804
  --test-level.
852
805
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
853
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
854
806
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
855
807
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
856
808
  to talk to.
@@ -878,19 +830,15 @@ Run the pre-destructive stage of a happy-soup deployment.
878
830
 
879
831
  ```
880
832
  USAGE
881
- $ sf simply cicd deploy happy-soup pre-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
882
- [--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]
883
834
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--source-branch-name
884
835
  <value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>]
885
836
  [--vcs-provider github|gitlab]
886
837
 
887
838
  FLAGS
888
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
889
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
890
- alternative to JWT authentication.
839
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
891
840
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
892
841
  read-only repository clones.
893
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
894
842
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
895
843
  --deploy-config-file=<value> [env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the deployment configuration file. If
896
844
  not provided, derived from --source-branch-name.
@@ -898,9 +846,6 @@ FLAGS
898
846
  deployment progress file.
899
847
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
900
848
  deployment rules file.
901
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
902
- authentication.
903
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
904
849
  --source-branch-name=<value> [env: SIMPLY_CICD_SOURCE_BRANCH_NAME] The source branch name for the deployment, used
905
850
  to derive the deployment config file path if --deploy-config-file is not provided.
906
851
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
@@ -909,7 +854,6 @@ FLAGS
909
854
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
910
855
  --test-level.
911
856
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
912
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
913
857
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
914
858
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
915
859
  to talk to.
@@ -938,15 +882,12 @@ Tag the current commit with details about a happy-soup deployment.
938
882
  ```
939
883
  USAGE
940
884
  $ sf simply cicd deploy happy-soup tag-deployment --ci-merge-request-iid <value> --ci-merge-request-project-url <value> --ci-pipeline-id <value>
941
- --ci-pipeline-url <value> --ci-project-path <value> --project-access-token <value> [--json] [--flags-dir <value>]
942
- [--alias <value>] [--auth-url <value>] [--client-id <value>] [--instance-url <value>] [--jwt-key-file <value>]
943
- [--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>]
944
887
  [--vcs-provider github|gitlab]
945
888
 
946
889
  FLAGS
947
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
948
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as
949
- an alternative to JWT authentication.
890
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
950
891
  --ci-merge-request-iid=<value> (required) [env: SIMPLY_CICD_CI_MERGE_REQUEST_IID] The merge request's
951
892
  internal ID (IID), used to build the merge request link in the tag message.
952
893
  --ci-merge-request-project-url=<value> (required) [env: SIMPLY_CICD_CI_MERGE_REQUEST_PROJECT_URL] The project's URL,
@@ -956,19 +897,13 @@ FLAGS
956
897
  the tag message if provided.
957
898
  --ci-project-path=<value> (required) [env: SIMPLY_CICD_CI_PROJECT_PATH] The project path (e.g.
958
899
  group/project), used to build the authenticated push remote.
959
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT
960
- authentication.
961
900
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
962
901
  --deploy-progress-file=<value> [default: DEPLOY_PROGRESS.json, env: SIMPLY_CICD_DEPLOY_PROGRESS_FILE] Path to
963
902
  the deployment progress file.
964
903
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path
965
904
  to the deployment rules file.
966
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
967
- authentication.
968
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
969
905
  --project-access-token=<value> (required) [env: SIMPLY_CICD_PROJECT_ACCESS_TOKEN] A project access token with
970
906
  write access, used to push the tag.
971
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
972
907
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g.
973
908
  gitlab.com).
974
909
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting
@@ -1036,18 +971,14 @@ Run the deploy-unpackaged stage of a project deployment.
1036
971
 
1037
972
  ```
1038
973
  USAGE
1039
- $ sf simply cicd deploy project deploy-unpackaged --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
1040
- [--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]
1041
975
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
1042
976
  [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
1043
977
 
1044
978
  FLAGS
1045
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1046
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
1047
- alternative to JWT authentication.
979
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1048
980
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
1049
981
  read-only repository clones.
1050
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
1051
982
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1052
983
  --deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
1053
984
  deployment configuration file.
@@ -1055,16 +986,12 @@ FLAGS
1055
986
  deployment progress file.
1056
987
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
1057
988
  deployment rules file.
1058
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
1059
- authentication.
1060
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
1061
989
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
1062
990
  file.
1063
991
  --test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
1064
992
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
1065
993
  --test-level.
1066
994
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
1067
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
1068
995
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
1069
996
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
1070
997
  to talk to.
@@ -1092,19 +1019,14 @@ Install packaged dependencies and the project's own package into the target org.
1092
1019
 
1093
1020
  ```
1094
1021
  USAGE
1095
- $ sf simply cicd deploy project install-packaged --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
1096
- [--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>]
1097
1023
  [--vcs-provider github|gitlab] [--debug] [--deploy-config-file <value>] [--deploy-progress-file <value>]
1098
1024
  [--deploy-rules-file <value>] [--subscriber-package-version-id <value>] [--install-type All|Delta|Upgrade]
1099
1025
 
1100
1026
  FLAGS
1101
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1102
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as
1103
- an alternative to JWT authentication.
1027
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1104
1028
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to
1105
1029
  authenticate read-only repository clones.
1106
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT
1107
- authentication.
1108
1030
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1109
1031
  --deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to
1110
1032
  the deployment configuration file.
@@ -1114,12 +1036,8 @@ FLAGS
1114
1036
  to the deployment rules file.
1115
1037
  --install-type=<option> [default: Upgrade] The type of dependency installation to perform.
1116
1038
  <options: All|Delta|Upgrade>
1117
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
1118
- authentication.
1119
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
1120
1039
  --subscriber-package-version-id=<value> The subscriber package version ID (04t...) to install. If not provided, the
1121
1040
  ID is looked up from the git tag annotation at HEAD.
1122
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
1123
1041
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g.
1124
1042
  gitlab.com).
1125
1043
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting
@@ -1149,18 +1067,14 @@ Run the post-deploy stage of a project deployment.
1149
1067
 
1150
1068
  ```
1151
1069
  USAGE
1152
- $ sf simply cicd deploy project post-deploy --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
1153
- [--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]
1154
1071
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
1155
1072
  [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
1156
1073
 
1157
1074
  FLAGS
1158
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1159
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
1160
- alternative to JWT authentication.
1075
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1161
1076
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
1162
1077
  read-only repository clones.
1163
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
1164
1078
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1165
1079
  --deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
1166
1080
  deployment configuration file.
@@ -1168,16 +1082,12 @@ FLAGS
1168
1082
  deployment progress file.
1169
1083
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
1170
1084
  deployment rules file.
1171
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
1172
- authentication.
1173
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
1174
1085
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
1175
1086
  file.
1176
1087
  --test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
1177
1088
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
1178
1089
  --test-level.
1179
1090
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
1180
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
1181
1091
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
1182
1092
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
1183
1093
  to talk to.
@@ -1205,18 +1115,14 @@ Run the post-destructive stage of a project deployment.
1205
1115
 
1206
1116
  ```
1207
1117
  USAGE
1208
- $ sf simply cicd deploy project post-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
1209
- [--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]
1210
1119
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
1211
1120
  [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
1212
1121
 
1213
1122
  FLAGS
1214
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1215
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
1216
- alternative to JWT authentication.
1123
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1217
1124
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
1218
1125
  read-only repository clones.
1219
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
1220
1126
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1221
1127
  --deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
1222
1128
  deployment configuration file.
@@ -1224,16 +1130,12 @@ FLAGS
1224
1130
  deployment progress file.
1225
1131
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
1226
1132
  deployment rules file.
1227
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
1228
- authentication.
1229
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
1230
1133
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
1231
1134
  file.
1232
1135
  --test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
1233
1136
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
1234
1137
  --test-level.
1235
1138
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
1236
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
1237
1139
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
1238
1140
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
1239
1141
  to talk to.
@@ -1261,18 +1163,14 @@ Run the pre-destructive stage of a project deployment.
1261
1163
 
1262
1164
  ```
1263
1165
  USAGE
1264
- $ sf simply cicd deploy project pre-destructive --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
1265
- [--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]
1266
1167
  [--deploy-config-file <value>] [--deploy-progress-file <value>] [--deploy-rules-file <value>] [--start-from <value>]
1267
1168
  [--test-level <value>] [--test-suite <value>] [--tests <value>] [--vcs-host <value>] [--vcs-provider github|gitlab]
1268
1169
 
1269
1170
  FLAGS
1270
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1271
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
1272
- alternative to JWT authentication.
1171
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1273
1172
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
1274
1173
  read-only repository clones.
1275
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
1276
1174
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1277
1175
  --deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
1278
1176
  deployment configuration file.
@@ -1280,16 +1178,12 @@ FLAGS
1280
1178
  deployment progress file.
1281
1179
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
1282
1180
  deployment rules file.
1283
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
1284
- authentication.
1285
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
1286
1181
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
1287
1182
  file.
1288
1183
  --test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
1289
1184
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
1290
1185
  --test-level.
1291
1186
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
1292
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
1293
1187
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
1294
1188
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
1295
1189
  to talk to.
@@ -1317,18 +1211,14 @@ Run Apex tests against the target org for a project deployment.
1317
1211
 
1318
1212
  ```
1319
1213
  USAGE
1320
- $ sf simply cicd deploy project run-apex-tests --ci-job-token <value> [--json] [--flags-dir <value>] [--alias <value>] [--auth-url <value>]
1321
- [--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>]
1322
1215
  [--vcs-provider github|gitlab] [--debug] [--deploy-config-file <value>] [--deploy-progress-file <value>]
1323
1216
  [--deploy-rules-file <value>] [--start-from <value>] [--test-level <value>] [--test-suite <value>] [--tests <value>]
1324
1217
 
1325
1218
  FLAGS
1326
- --alias=<value> [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1327
- --auth-url=<value> [env: SIMPLY_CICD_AUTH_URL] Salesforce authorization (SFDX auth) URL, used as an
1328
- alternative to JWT authentication.
1219
+ --alias=<value> (required) [env: SIMPLY_CICD_ALIAS] Salesforce org alias.
1329
1220
  --ci-job-token=<value> (required) [env: SIMPLY_CICD_CI_JOB_TOKEN] The CI job token used to authenticate
1330
1221
  read-only repository clones.
1331
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID, used for JWT authentication.
1332
1222
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1333
1223
  --deploy-config-file=<value> [default: config/deploy.json, env: SIMPLY_CICD_DEPLOY_CONFIG_FILE] Path to the
1334
1224
  deployment configuration file.
@@ -1336,16 +1226,12 @@ FLAGS
1336
1226
  deployment progress file.
1337
1227
  --deploy-rules-file=<value> [default: config/deploy-rules.json, env: SIMPLY_CICD_DEPLOY_RULES_FILE] Path to the
1338
1228
  deployment rules file.
1339
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Salesforce login/instance URL, used for JWT
1340
- authentication.
1341
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file.
1342
1229
  --start-from=<value> Start (or resume) the deployment from a specific job name, overriding the progress
1343
1230
  file.
1344
1231
  --test-level=<value> [default: RunLocalTests, env: SIMPLY_CICD_TEST_LEVEL] The Apex test level to run.
1345
1232
  --test-suite=<value> [env: SIMPLY_CICD_TEST_SUITE] The Apex test suite to run. If specified, overrides
1346
1233
  --test-level.
1347
1234
  --tests=<value> [env: SIMPLY_CICD_TESTS] Specific Apex tests to run.
1348
- --username=<value> [env: SIMPLY_CICD_USERNAME] Salesforce username, used for JWT authentication.
1349
1235
  --vcs-host=<value> [env: SIMPLY_CICD_VCS_HOST] The source-control host to talk to (e.g. gitlab.com).
1350
1236
  --vcs-provider=<option> [default: gitlab, env: SIMPLY_CICD_VCS_PROVIDER] The source-control-hosting platform
1351
1237
  to talk to.
@@ -1517,16 +1403,14 @@ USAGE
1517
1403
  $ sf simply cicd notify project [--json] [--flags-dir <value>] [--after-script] [--alias <value>] [--before-script]
1518
1404
  [--ci-commit-ref-name <value>] [--ci-environment-name <value>] [--ci-job-name <value>] [--ci-job-stage <value>]
1519
1405
  [--ci-job-status <value>] [--ci-pipeline-id <value>] [--ci-pipeline-url <value>] [--ci-project-title <value>]
1520
- [--client-id <value>] [--packaging-devhub-client-id <value>] [--packaging-devhub-instance-url <value>]
1521
- [--packaging-devhub-username <value>] [--enabled] [--instance-url <value>] [--alm-base-url <value>]
1522
- [--alm-project-key <value>] [--alm-provider gitlab-issues|jira] [--jwt-key-file <value>]
1523
- [--prev-installed-package-version <value>] [--subscriber-package-version-id <value>] [--target-package-version
1524
- <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]
1525
1409
 
1526
1410
  FLAGS
1527
1411
  --after-script Run the after-deployment notification logic.
1528
- --alias=<value> [env: SIMPLY_CICD_ALIAS] The target Salesforce org alias to authenticate and
1529
- query for the previously installed package version.
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.
1530
1414
  --alm-base-url=<value> [env: SIMPLY_CICD_ALM_BASE_URL] Base URL that an issue reference is appended
1531
1415
  to, e.g. https://jira.example.com/browse for Jira or
1532
1416
  https://gitlab.com/group/project/-/issues for GitLab Issues. References are
@@ -1552,20 +1436,11 @@ FLAGS
1552
1436
  --ci-pipeline-url=<value> [env: SIMPLY_CICD_CI_PIPELINE_URL] The URL of the current CI pipeline.
1553
1437
  --ci-project-title=<value> [env: SIMPLY_CICD_CI_PROJECT_TITLE] The project title shown in the
1554
1438
  notification card's heading.
1555
- --client-id=<value> [env: SIMPLY_CICD_CLIENT_ID] Connected app client ID for JWT authentication
1556
- to the target org.
1557
1439
  --debug [env: SIMPLY_CICD_DEBUG] Enable verbose debug logging.
1558
1440
  --enabled [env: SIMPLY_CICD_ENABLED] Whether the notification is actually sent.
1559
1441
  Defaults to false so pipelines can gate this behind their own condition.
1560
- --instance-url=<value> [env: SIMPLY_CICD_INSTANCE_URL] Login instance URL for the target org.
1561
- --jwt-key-file=<value> [env: SIMPLY_CICD_JWT_KEY_FILE] Path to the JWT private key file, used for
1562
- both the target org and packaging DevHub authentication.
1563
- --packaging-devhub-client-id=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_CLIENT_ID] Connected app client ID for
1564
- JWT authentication to the packaging DevHub.
1565
- --packaging-devhub-instance-url=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_INSTANCE_URL] Login instance URL for the
1566
- packaging DevHub.
1567
- --packaging-devhub-username=<value> [env: SIMPLY_CICD_PACKAGING_DEVHUB_USERNAME] Username for JWT authentication
1568
- 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.
1569
1444
  --prev-installed-package-version=<value> The previously installed package version. Only needed if re-running
1570
1445
  --after-script without having run --before-script first in the same job.
1571
1446
  --subscriber-package-version-id=<value> The subscriber package version ID (04t...) being deployed, used to resolve
@@ -1573,8 +1448,6 @@ FLAGS
1573
1448
  --target-package-version=<value> The target package version. Only needed if re-running --after-script without
1574
1449
  having run --before-script first in the same job.
1575
1450
  --teams-webhook-url=<value>... One or more Teams webhook URLs to send the notification to.
1576
- --username=<value> [env: SIMPLY_CICD_USERNAME] Username for JWT authentication to the target
1577
- org.
1578
1451
 
1579
1452
  GLOBAL FLAGS
1580
1453
  --flags-dir=<value> Import flag values from a directory.
@@ -1588,7 +1461,7 @@ DESCRIPTION
1588
1461
  the tracked issues that shipped between those two versions).
1589
1462
 
1590
1463
  EXAMPLES
1591
- $ sf simply cicd notify project --before-script --ci-job-stage pre-destructive --alias my-org --username user@example.com --jwt-key-file server.key --client-id abc123 --instance-url https://login.salesforce.com --enabled
1464
+ $ sf simply cicd notify project --before-script --ci-job-stage pre-destructive --alias my-org --enabled
1592
1465
 
1593
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
1594
1467
  ```