SlideShare una empresa de Scribd logo
1 de 28
6th March 2021 12 PM to 2:00PM (IST)
Ahmedabad MuleSoft Meetup
Group #3
Azure DevOps and CICD
2
● Please keep yourself unless you have any questions.
● We encourage you to keep your video on for interactive session.
● You can write down your question in the chat session.
● Once join please write down your name and email id in chat so that we can have attendance.
● Please provide your valuable feedback. Thanks.
Guidelines
3
● Networking and Knowledge Sharing
● Azure DevOps and CICD
● Q&A and then Quiz for all participants
● Discussion for next Meetup, Stay connected, and Happy Learning.
Agenda
4
● MuleSoft Releases
○ https://docs.mulesoft.com/release-notes/
○ https://docs.mulesoft.com/release-notes/cloudhub/cloudhub-release-notes (4 March
Updates)
○ https://docs.mulesoft.com/release-notes/studio/anypoint-studio-7.8-with-4.3-runtime-release-
notes (2 Feb Updates)
Updates
5
●About the organizer: About the Sponsors:
■ - MuleSoft
■
Introductions
6
● About the Speakers:
Technical Expertise:
➢ 10 years of Technical Experience.
➢ 4+ years of Experience in Integration Domain.
➢ Certified MuleSoft Platform Architect
➢ Certified MuleSoft Integration Architect
➢ Certified MuleSoft Developer - Level 1.
Introductions
Ganesh Nyati
APISERO India Pvt. Ltd.
Solution Architect
Azure DevOps - CICD
Agenda
8
1. What is DevOps- CI/CD?
2. What is CI-CD Pipeline?
3. DevOps with Mule API development process ?
4. Deployment Environment - Mulesoft Anypoint CloudHub
5. Maven- Mule Maven Plugin
6. Unit/Integration Testing - MUnit Test cases
7. SCM - Git/Github, SVN, TFS, etc
8. Build tool - Azure DevOps, Rundeck, Jenkins, Bamboo, TeamCity etc
9. Demo
10. Tips and Troubleshooting
11. Q&A
9
● DevOps is a culture which promotes collaboration between Development and
IT Operations Team to deploy code to production faster in an automated &
repeatable way
● Continuous Integration:
○ Is a coding philosophy and set of practices that drive development teams to implement small
changes and check in that code to version control repositories frequently.
○ Since in modern applications is required to develop code in different platforms, tools and
teams is necessary a mechanism to integrate and validate its changes.
● Continuous Delivery:
○ Automates the delivery of applications to selected infrastructure environments. Most teams
work with multiple environments.
What is DevOps-CI/CD?
10
What is CI/CD Pipeline ?
Benefits of DevOps-CI/CD
11
Improve Customer satisfaction
and Experience
Software releases
are less prone to
defects
Increase development
productivity
Focus on new
features
Higher Employee
Engagement
12
DevOps with Mule API development process
13
• Enlist the below information from mulesoft
Anypoint Platform Account
○ Navigate to https://anypoint.mulesoft.com
○ Check your Anypoint credentials (username and
password)
○ Deployment environment (Development, Sandbox,
Production, Test)
Mulesoft Anypoint CloudHub
14
• Download and Install Maven from https://maven.apache.org/download.cgi
• Set “M2_HOME” environment variable
• Verify Installation using “mvn --version” command
• Mule provides built-in Maven functionality, including the following features:
○ Anypoint Exchange
○ Anypoint Studio
○ Mule Runtime Engine
○ Installing 3rd party JARs
Maven - Project Management Utility
• The Maven build follows a specific life cycle to deploy and distribute the
target project.
• There are three built-in life cycles:
○ default: the main life cycle as it's responsible for project deployment
○ clean: to clean the project and remove all files generated by the previous build
○ site: to create the project's site documentation
15
Building Maven Project
Here are some of the most important phases in the default build lifecycle:
• validate
• compile
• test
• package
• integration-test
• verify
• install
• deploy
16
Building Maven Project
A Maven phase represents a stage in the Maven build lifecycle.
For example, if we want to execute the entire default
lifecycle then run the deploy phase:
mvn deploy
Alternatively, we can stop at the install phase:
mvn install
But usually we'll use the below command to clean the project
first by running the clean lifecycle before the new build or
deployment.
mvn clean install
mvn clean package deploy -DmuleDeploy
• Integrate the packaging and deployment
of your Mule applications with Maven
lifecycle.
• Automate Mule application deployment
using any of the following deployment
strategies:
○ CloudHub
○ Runtime Fabric
○ On-premises Mule instances
■ Standalone deployment
■ Using Anypoint Runtime Manager REST API
■ Using Runtime Manager agent
17
MMP - Automate Mule Deployment
<plugin>
....
<configuration>
<cloudHubDeployment>
<uri>https://anypoint.mulesoft.com</uri>
<muleVersion>${app.runtime}</muleVersion>
<username>${username}</username>
<password>${password}</password>
<applicationName>${cloudhub.application.name}</appli
cationName>
<environment>${environment}</environment>
<region>${region}</region>
<workers>${workers}</workers>
<workerType>${workerType}</workerType>
<properties>
<key>value</key>
</properties>
</cloudHubDeployment>
</configuration>
</plugin>
18
• Create Git repository Where you want to implement CI/CD.
• Basic steps to add, commit and push Mule code to GitHub.
○ git clone – to clone the create local repository
○ git status – to check the status of repository
○ git add – to add the changes to staging area
○ git commit – to commit the changes to local repository
○ git push – to publish changes to remote GitHub server.
Source Control Management
19
● Is an automation server that build, test, and deploy software.
● Configure credentials/settings.xml file in Azure DevOps.
● Create pipeline (azure-pipelines.yml file, pipeline job)
● Run the job
Build Tool – Azure DevOps
20
Demonstration
22
● Anypoint studio
● Mule Runtime
● Mule maven plugin
● Anypoint cloud hub access for deployment
● Azure DevOps Subscription
Tools & Component
Tips and Troubleshooting
● Pipeline caching
● Runtime variables
● Azure variable groups configuration
● Secure settings.xml file configuration
● Generic contribute permission error in azure
● Secure file and variable group permission error in pipeline
● Munit IllegalStateException: Cannot start embedded container
23
References
● https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-cloudhub
● https://docs.mulesoft.com/munit/2.3/munit-maven-plugin
● https://docs.mulesoft.com/mule-runtime/4.3/maven-reference
● https://docs.mulesoft.com/exchange/to-publish-assets-maven
● https://download.eclipse.org/egit/updates
24
25
26
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/ahmedabad/
● Feedback:
○ Fill out the survey feedback.
○ Contact your Organizer Shekh Muenuddeen to suggest topics for upcoming events.
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
● Our Next Meetup
○ Date: TBD
○ Location: TBD
○ Topic: TBD
What’s next?
27
Take a Stand !
Thank you

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

Bhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpractices
Bhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpracticesBhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpractices
Bhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpractices
 
Nagpur Mulesoft Meetup on CICD using Jenkins
Nagpur Mulesoft Meetup on CICD using JenkinsNagpur Mulesoft Meetup on CICD using Jenkins
Nagpur Mulesoft Meetup on CICD using Jenkins
 
Indore MuleSoft Meetup #4 : Demystifying Error Handling & Snowflake Integration
Indore MuleSoft Meetup #4 : Demystifying Error Handling & Snowflake IntegrationIndore MuleSoft Meetup #4 : Demystifying Error Handling & Snowflake Integration
Indore MuleSoft Meetup #4 : Demystifying Error Handling & Snowflake Integration
 
MuleSoft_Meetup_#6_Chandigarh_April_2021
MuleSoft_Meetup_#6_Chandigarh_April_2021MuleSoft_Meetup_#6_Chandigarh_April_2021
MuleSoft_Meetup_#6_Chandigarh_April_2021
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13
 
CI CD Daridabad MuleSoft meetup
CI CD Daridabad MuleSoft meetupCI CD Daridabad MuleSoft meetup
CI CD Daridabad MuleSoft meetup
 
MuleSoft Slack Integration - meetup
MuleSoft Slack Integration - meetupMuleSoft Slack Integration - meetup
MuleSoft Slack Integration - meetup
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
 
Nagpur MuleSoft Meetup Group - Working with API Groups in Mulesoft
Nagpur MuleSoft Meetup Group - Working with API Groups in Mulesoft Nagpur MuleSoft Meetup Group - Working with API Groups in Mulesoft
Nagpur MuleSoft Meetup Group - Working with API Groups in Mulesoft
 
Impact Of A Cms Framework Change - Holland Open Netherlands
Impact Of A Cms Framework Change - Holland Open NetherlandsImpact Of A Cms Framework Change - Holland Open Netherlands
Impact Of A Cms Framework Change - Holland Open Netherlands
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2
 
Mule meetup 25thjan
Mule meetup 25thjanMule meetup 25thjan
Mule meetup 25thjan
 
Baltimore july2021 final
Baltimore july2021 finalBaltimore july2021 final
Baltimore july2021 final
 
20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion
 
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ IntegrationsMumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
 
MuleSoft Kochi Meetup #5– Handling Mule Exceptions
MuleSoft Kochi Meetup #5– Handling Mule ExceptionsMuleSoft Kochi Meetup #5– Handling Mule Exceptions
MuleSoft Kochi Meetup #5– Handling Mule Exceptions
 
#3 calicut meetup - understanding slb, dlb and web sockets
#3   calicut meetup - understanding slb, dlb and web sockets#3   calicut meetup - understanding slb, dlb and web sockets
#3 calicut meetup - understanding slb, dlb and web sockets
 
How Secure is Your API?
How Secure is Your API?How Secure is Your API?
How Secure is Your API?
 
MuleSoft MuleSoft Meetup - Shared Flows
MuleSoft MuleSoft Meetup -  Shared FlowsMuleSoft MuleSoft Meetup -  Shared Flows
MuleSoft MuleSoft Meetup - Shared Flows
 

Similar a Ahmadabad mule soft_meetup_6march2021_azure_CICD

Similar a Ahmadabad mule soft_meetup_6march2021_azure_CICD (20)

MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
 
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket IntegrationImplementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
 
20220324 - Angel Updates - PKO
20220324 - Angel Updates - PKO20220324 - Angel Updates - PKO
20220324 - Angel Updates - PKO
 
Warsaw MuleSoft Meetup #6 - CI/CD
Warsaw MuleSoft Meetup  #6 - CI/CDWarsaw MuleSoft Meetup  #6 - CI/CD
Warsaw MuleSoft Meetup #6 - CI/CD
 
Building APIs with Mule and Spring Boot
Building APIs with Mule and Spring BootBuilding APIs with Mule and Spring Boot
Building APIs with Mule and Spring Boot
 
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
 
São Paulo MuleSoft Meetup - Deployments Models
São Paulo MuleSoft Meetup - Deployments ModelsSão Paulo MuleSoft Meetup - Deployments Models
São Paulo MuleSoft Meetup - Deployments Models
 
Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...
Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...
Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...
 
MuleSoft Meetup Bangalore - March 6 2021
MuleSoft Meetup Bangalore - March 6 2021MuleSoft Meetup Bangalore - March 6 2021
MuleSoft Meetup Bangalore - March 6 2021
 
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptxPrinceton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
 
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
 
Mule soft indore meetup 2
Mule soft indore meetup 2Mule soft indore meetup 2
Mule soft indore meetup 2
 
Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...
Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...
Ahmadabad mule soft_meetup_05june2021_mule4_automate mulesoft on prem servers...
 
Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36
 
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
 
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptxMuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
 
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
 

Último

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Último (20)

%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 

Ahmadabad mule soft_meetup_6march2021_azure_CICD

  • 1. 6th March 2021 12 PM to 2:00PM (IST) Ahmedabad MuleSoft Meetup Group #3 Azure DevOps and CICD
  • 2. 2 ● Please keep yourself unless you have any questions. ● We encourage you to keep your video on for interactive session. ● You can write down your question in the chat session. ● Once join please write down your name and email id in chat so that we can have attendance. ● Please provide your valuable feedback. Thanks. Guidelines
  • 3. 3 ● Networking and Knowledge Sharing ● Azure DevOps and CICD ● Q&A and then Quiz for all participants ● Discussion for next Meetup, Stay connected, and Happy Learning. Agenda
  • 4. 4 ● MuleSoft Releases ○ https://docs.mulesoft.com/release-notes/ ○ https://docs.mulesoft.com/release-notes/cloudhub/cloudhub-release-notes (4 March Updates) ○ https://docs.mulesoft.com/release-notes/studio/anypoint-studio-7.8-with-4.3-runtime-release- notes (2 Feb Updates) Updates
  • 5. 5 ●About the organizer: About the Sponsors: ■ - MuleSoft ■ Introductions
  • 6. 6 ● About the Speakers: Technical Expertise: ➢ 10 years of Technical Experience. ➢ 4+ years of Experience in Integration Domain. ➢ Certified MuleSoft Platform Architect ➢ Certified MuleSoft Integration Architect ➢ Certified MuleSoft Developer - Level 1. Introductions Ganesh Nyati APISERO India Pvt. Ltd. Solution Architect
  • 8. Agenda 8 1. What is DevOps- CI/CD? 2. What is CI-CD Pipeline? 3. DevOps with Mule API development process ? 4. Deployment Environment - Mulesoft Anypoint CloudHub 5. Maven- Mule Maven Plugin 6. Unit/Integration Testing - MUnit Test cases 7. SCM - Git/Github, SVN, TFS, etc 8. Build tool - Azure DevOps, Rundeck, Jenkins, Bamboo, TeamCity etc 9. Demo 10. Tips and Troubleshooting 11. Q&A
  • 9. 9 ● DevOps is a culture which promotes collaboration between Development and IT Operations Team to deploy code to production faster in an automated & repeatable way ● Continuous Integration: ○ Is a coding philosophy and set of practices that drive development teams to implement small changes and check in that code to version control repositories frequently. ○ Since in modern applications is required to develop code in different platforms, tools and teams is necessary a mechanism to integrate and validate its changes. ● Continuous Delivery: ○ Automates the delivery of applications to selected infrastructure environments. Most teams work with multiple environments. What is DevOps-CI/CD?
  • 10. 10 What is CI/CD Pipeline ?
  • 11. Benefits of DevOps-CI/CD 11 Improve Customer satisfaction and Experience Software releases are less prone to defects Increase development productivity Focus on new features Higher Employee Engagement
  • 12. 12 DevOps with Mule API development process
  • 13. 13 • Enlist the below information from mulesoft Anypoint Platform Account ○ Navigate to https://anypoint.mulesoft.com ○ Check your Anypoint credentials (username and password) ○ Deployment environment (Development, Sandbox, Production, Test) Mulesoft Anypoint CloudHub
  • 14. 14 • Download and Install Maven from https://maven.apache.org/download.cgi • Set “M2_HOME” environment variable • Verify Installation using “mvn --version” command • Mule provides built-in Maven functionality, including the following features: ○ Anypoint Exchange ○ Anypoint Studio ○ Mule Runtime Engine ○ Installing 3rd party JARs Maven - Project Management Utility
  • 15. • The Maven build follows a specific life cycle to deploy and distribute the target project. • There are three built-in life cycles: ○ default: the main life cycle as it's responsible for project deployment ○ clean: to clean the project and remove all files generated by the previous build ○ site: to create the project's site documentation 15 Building Maven Project
  • 16. Here are some of the most important phases in the default build lifecycle: • validate • compile • test • package • integration-test • verify • install • deploy 16 Building Maven Project A Maven phase represents a stage in the Maven build lifecycle. For example, if we want to execute the entire default lifecycle then run the deploy phase: mvn deploy Alternatively, we can stop at the install phase: mvn install But usually we'll use the below command to clean the project first by running the clean lifecycle before the new build or deployment. mvn clean install mvn clean package deploy -DmuleDeploy
  • 17. • Integrate the packaging and deployment of your Mule applications with Maven lifecycle. • Automate Mule application deployment using any of the following deployment strategies: ○ CloudHub ○ Runtime Fabric ○ On-premises Mule instances ■ Standalone deployment ■ Using Anypoint Runtime Manager REST API ■ Using Runtime Manager agent 17 MMP - Automate Mule Deployment <plugin> .... <configuration> <cloudHubDeployment> <uri>https://anypoint.mulesoft.com</uri> <muleVersion>${app.runtime}</muleVersion> <username>${username}</username> <password>${password}</password> <applicationName>${cloudhub.application.name}</appli cationName> <environment>${environment}</environment> <region>${region}</region> <workers>${workers}</workers> <workerType>${workerType}</workerType> <properties> <key>value</key> </properties> </cloudHubDeployment> </configuration> </plugin>
  • 18. 18 • Create Git repository Where you want to implement CI/CD. • Basic steps to add, commit and push Mule code to GitHub. ○ git clone – to clone the create local repository ○ git status – to check the status of repository ○ git add – to add the changes to staging area ○ git commit – to commit the changes to local repository ○ git push – to publish changes to remote GitHub server. Source Control Management
  • 19. 19 ● Is an automation server that build, test, and deploy software. ● Configure credentials/settings.xml file in Azure DevOps. ● Create pipeline (azure-pipelines.yml file, pipeline job) ● Run the job Build Tool – Azure DevOps
  • 20. 20
  • 22. 22 ● Anypoint studio ● Mule Runtime ● Mule maven plugin ● Anypoint cloud hub access for deployment ● Azure DevOps Subscription Tools & Component
  • 23. Tips and Troubleshooting ● Pipeline caching ● Runtime variables ● Azure variable groups configuration ● Secure settings.xml file configuration ● Generic contribute permission error in azure ● Secure file and variable group permission error in pipeline ● Munit IllegalStateException: Cannot start embedded container 23
  • 24. References ● https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-cloudhub ● https://docs.mulesoft.com/munit/2.3/munit-maven-plugin ● https://docs.mulesoft.com/mule-runtime/4.3/maven-reference ● https://docs.mulesoft.com/exchange/to-publish-assets-maven ● https://download.eclipse.org/egit/updates 24
  • 25. 25
  • 26. 26 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/ahmedabad/ ● Feedback: ○ Fill out the survey feedback. ○ Contact your Organizer Shekh Muenuddeen to suggest topics for upcoming events. ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program ● Our Next Meetup ○ Date: TBD ○ Location: TBD ○ Topic: TBD What’s next?