Has anyone integrated SDF into a CI workflow? If ...
# sdf
s
Has anyone integrated SDF into a CI workflow? If so, I'd love to know how you're handling deleting files and deployments as to my knowledge this is not possible currently right?
f
What exactly do you mean by deployments don’t work?
the SDF CLI is taking care of syncing files (including deletion) and there is no reason why you can’t call the SDF CLI from a CI environment.
m
SDF will only delete files for SuiteApps projects, not account customisation projects
👍 1
s
@fkrauthan I mean that currently using the npm CLI I haven't found a way to delete script files and their associated deployment. This is for Account Customization projects as Michael pointed out
CLI can definitely be used in a CI workflow, but if you think rollbacks and removal of script files deletion becomes important, which is why I'm curious to know how peeps are handling
f
Oh ok. I only have experience with SuiteApps and CI sorry.
b
@SimonC that would need to be handled in some kind of pre or post deployment step using the SOAP API.
f
or consider packing your code in a suiteapp if that is possible
s
thx for suggestions