sfpowerscripts icon indicating copy to clipboard operation
sfpowerscripts copied to clipboard

Ignore empty aliasfied package during the validation

Open ruslan-kurchenko opened this issue 8 months ago • 0 comments

During fast-feedback validation we are getting the issue: Aliasfied package 'env-meta-vars' does not have an alias with 'default' or 'default' directory

It is an MR validation job. We alias our CI org as "default" and there is a folder inside "env-meta-vars" with "default" folder

error log: Screenshot 2023-10-05 at 13 20 55

folders structure: Screenshot 2023-10-05 at 13 23 37 Screenshot 2023-10-05 at 13 24 06

Issue Details: dev, prod, staging and uat was changed but not default. In fast-feedback mode, it deploys only a delta. But there are no changes to the "default" folder and it causes issues because nothing is there.

Workaround: Introduce dummy change to "default" folder too.

Proposed Solution: The validation process should ignore aliasfied package if the deployment package is not found or empty. But we need to think about upcoming enhancement in the context of https://github.com/dxatscale/sfpowerscripts/pull/1418 as it can impact this item too.

Slack Message

ruslan-kurchenko avatar Oct 09 '23 07:10 ruslan-kurchenko