Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Refactor Artifact Structure across the package creation tasks #131

Merged
merged 44 commits into from
Aug 31, 2020

Conversation

azlam-abdulsalam
Copy link
Contributor

@azlam-abdulsalam azlam-abdulsalam commented Aug 23, 2020

sfpowerscripts feature artifact as the central idea for connecting build and release. Till Milestone 16, the artifacts were only metadata and it need to be checked out from version control, in the case of source package. Delta package did generate the artifacts, but the package format was not fully thought out.
Also to satisfy, skipping of artifacts, if installed not only in unlocked package, also in source package, it is much simpler if we have the artifact carried as part of the build process. This was already done as part of #101, however we have decided to make it uniform across the entire packages.

Every artifact will be named <package_name>_sfpowerscripts_aritfact or spowerscripts_artifact (only in the case of delta package, generated across all the repositories)

Each artifact will contain an aritfact_metadata.json (which has all the information regaring the artifact). as well as a folder called source (which is the metadata that will be deployed).

Backward compatibility is not supported, The Install Source Package or Deploy Task will only work with the newer versions of associated artifact producer tasks

Fixes #56
Fixes #101

@azlam-abdulsalam azlam-abdulsalam requested a review from aly76 August 23, 2020 05:36
@azlam-abdulsalam azlam-abdulsalam force-pushed the feature/unlocked_package_artifact branch from fdcae03 to df0aa02 Compare August 23, 2020 05:46
@azlam-abdulsalam azlam-abdulsalam marked this pull request as ready for review August 30, 2020 14:16
@azlam-abdulsalam azlam-abdulsalam added this to the Milestone 17 milestone Aug 30, 2020
@azlam-abdulsalam azlam-abdulsalam requested a review from aly76 August 30, 2020 14:29
@azlam-abdulsalam azlam-abdulsalam added the enhancement enhancement to existing feature label Aug 31, 2020
@azlam-abdulsalam azlam-abdulsalam merged commit 5e6a7e5 into develop Aug 31, 2020
@azlam-abdulsalam azlam-abdulsalam deleted the feature/unlocked_package_artifact branch August 31, 2020 06:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement enhancement to existing feature
Projects
None yet
2 participants