QuestionQ83

Application Lifecycle Management

Universal Containers (UC) currently follows the org development model and uses the Salesforce CLI as its deployment tool. After the feature-release artifact (a .zip file) has been tested in a lower sandbox, it is being deployed to the full sandbox for performance testing and a production-deployment readiness check.

Because quick deployment options are not being used, what is the correct method for deploying the artifact to the full sandbox?

  • A Authorize to the Full sandbox org; Validate with sfdx:source:deploy; On successful validation, deploy with sfdx:source:deploy
  • B Authorize to the Full sandbox org; Validate with sfdx:mdapi:deploy; On successful validation, deploy with sfdx:mdapi:deploy
  • C Authorize to the Full sandbox org; Validate with sfdx:mdapi:deploy; On successful validation, deploy with sfdx:source:deploy
  • D Authorize to the Full sandbox; Validate with sfdx:source:deploy; On successful validation, deploy with sfdx:mdapi:deploy
Explanation

A .zip release artifact is deployed as Metadata API-formatted metadata. The Metadata API deployment command supports validation followed by a separate deployment of that artifact, whereas source deployment is for source-format project files. Therefore, both operations must use sfdx:mdapi:deploy after authorizing the full sandbox.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!