BookmarkSubscribeRSS Feed
tlorel
Obsidian | Level 7

Hi All, Any reference documents you have to on how to perform a CI/CD in a Viya 4 Deployment in a cloud environment?

 

 

3 REPLIES 3
MCoopmans
SAS Employee

The best is probably to start from the official documentation : https://documentation.sas.com/doc/en/sasadmincdc/v_025/k8sag/p0hm2t63wm8qcqn1iqs6y8vw8y81.htm 

You can find links in there to a manual CI/CD update or using the Deployment Operator.

 

RobCollum
SAS Super FREQ

Hey there,

 

That's a great question. SAS does provide some significant tools to help with the CI/CD deployment and management of SAS software in your environment. Many of them are hosted in Github at https://github.com/sassoftware

 

To get started with provisioning resources in your cloud provider of choice, check out the IaC project (Infrastructure as Code):

- Amazon: https://github.com/sassoftware/viya4-iac-aws 

- Azure: https://github.com/sassoftware/viya4-iac-azure 

- Google: https://github.com/sassoftware/viya4-iac-gcp 

 

And then, once you've gotten to the place where you have resources, we also provide automation to deploy SAS Viya:

- viya4-deployment: https://github.com/sassoftware/viya4-deployment 

 

We even offer a python-based set of scripting tools to extend the ability to administer your SAS Viya environment:

- pyViyaTools: https://github.com/sassoftware/pyviyatools 

 

And I'm just getting started. The sassoftware channel on Github is home to numerous projects which will come in handy for the day-to-day operations of SAS Viya. 

 

 

Break the rules. Keep the faith. Fight for love.
AllanBowe
Barite | Level 11

What is it you're looking to deploy?

 

If it's mainly SAS code (eg data engineering or data science projects), or SAS-Powered Web Apps, the SASjs framework (disclaimer - built by my team) could be a good fit.  These tools are free to use, open source, comprehensive, and work across Viya 4 / Viya 3.5 / SAS 9 EBI and even Foundation SAS.

 

On the Viya side they make use of the REST APIs and a client/secret pair to handle all connections to SAS.  It allows your developers to work locally, in a GIT repository and their preferred IDE, to compile / build / deploy projects to SAS.

 

Being terminal based, everything is possible as part of a CI/CD pipeline / action / runner.

 

Some videos here:  https://www.youtube.com/channel/UCJ7O833IUmeUAYTWTvSFNRQ

An explainer here: https://communities.sas.com/t5/SAS-Global-Forum-Proceedings/Scaffolding-SAS-Projects-With-NPM-and-SA...

 

Some additional 'goodies' from using the framework:

 

* An opinionated structure for SAS projects - easily migrate developers from one project to anther

* A linter to automatically quality check SAS code during a git pre-commit or server build

* Ability to run jobs, job flows, web services, manage viya folders etc

* Self-documenting jobs / services / tests (uses Doxygen)

* An integrated TESTING framework


Docs:  https://cli.sasjs.io

Github: https://github.com/sasjs


/Allan

 

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1793 views
  • 2 likes
  • 4 in conversation