Is it possible to implement complete CICD flow in NetSuite?
n
NElliott
10/16/2023, 1:06 PM
Salto have a good short course on this subject that's free:
❤️ 2
e
erictgrubaugh
10/16/2023, 1:23 PM
Yes. NetSuite is just a deployment target for JavaScript and XML files; you can do whatever CICD process you want to ahead of deploying to NetSuite.
l
Lucas
10/17/2023, 10:25 AM
Ok, @erictgrubaugh I know CI can be implemented, But not sure about CD, I would like to deploy my code directly from Git, would that something achievable?
c
CD
10/17/2023, 12:59 PM
You can do anything. CI/CD is just a bunch of shell scripts that run. You can deploy with sdf if you set things up right
☝️ 1
r
Ryan Valizan
10/21/2023, 6:07 PM
I developed us a pipeline flow in Azure DevOps which takes our git repo and sends it through a release process.
Things that needed over come were:
• validating production/main branch objects match production server at time of deployment (reduce overwriting changes in UI)
• Flattening the object tree and detecting duplicates
• Creating custom deploy.xml and manifest with each deployment
• Adding script files to the deploy.xml when only changes to obj occurred as scripts are dependencies
• Managing version tagging
• Redeploying previous versions of files on rollback
Now our code follows a task -> story -> feature -> sandbox -> production PR structure
sandbox PRs are developed and tested in SB2 and appropriately labeled Development on work items.
Once a feature passes development it goes to the release pipeline, where it’s staged on SB1 for QA testing. Once the code passes QA it’s signed off and released to production.
All of this is tracked to a work item so stakeholders can follow along with the development of their change requests.
As stated earlier, SDF CLI is how we accomplish this
https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/chapter_1558708800.html