Publishing VS Pulling code from repository in sub-production environments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 05:17 AM - edited 02-14-2025 05:34 AM
Hi,
I'm trying to setup a proper CI/CD and I was wondering what would be the best option to proceed. Here's what we had in mind for our setup:
- We have 5 environments Dev > Test > Stage > Prod, and Build.
- We would like to push code to Test as soon as a developer commits code from Dev to git.
- We want to trigger pipeline to Stage and Prod based on tagging.
- The build server is used to Publish to the ServiceNow app repo.
What's I'm trying to understand is when would it be appropriate to Publish to the ServiceNow App Repo:
- At every commits from Dev?
- Only when tagging?
- Or just for the Prod release?
Or would it make more sense to pull changes from the Git repo in the next environments? Is there any difference between doing this and installing the app from the ServiceNow App Repo?
I'm open to your suggestions.
Thanks!
Eric
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 10:12 AM
UP
If anything, I just want to know if there's a difference between installing/updating an app from a git repository VS installing/updating from the ServiceNow App Repository?
Thanks,