You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
orchestrator:prepare builds package versions that are not used in the process of scratch orgs creation #1222
Describe the bug
When pool of scratch orgs is created, and the pool config file contains "installAll": false, I expect only managed packages to be installed. It works fine, but at the beginning of prepare job all artifacts are downloaded from Artifact Store. If there's no script to fetch artifacts, then all of them are being built by quickbuild command. Both actions (download or quickbuild) are not needed in this scenario, as nothing happens with retrieved / created packages.
To Reproduce
Initial setup
customPackage (custom, unlocked package) depends on managed package, e.g. Salesforce CPQ
pool configuration uses "installAll": false parameter
Execute orchestrator:prepare command
Observe that new version of customPackage is created prior to scratch org creation
Observe that only Salesforce CPQ has been installed to the scratch org
Expected behavior
If there's no need to install unlocked packages, they should not be downloaded, nor created.
Activity
fix(prepare): prevent from downloading / creating artifacts that are …
fix(prepare): prevent from downloading / creating artifacts that are …