Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5
-What is CI/CD?
-What are the GitHub Actions?
-How to set up the workflow in GitHub?
-How to setup Anypoint Platform credentials in GitHub?
Creating a mule Application
-Commit mule Application to -GitHub
-GitHub Actions jobs
-Mule Maven Plugin
Speaker:- Riya Punjabi
Organizers:- Shubham Chaurasia | Giridhar Meka
3. Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
3
4. A recording of this meetup will be uploaded to events page within 24 hours.
Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
4
5. 5
● Introductions
What is CI/CD?
What are the GitHub Actions?
How to set up the workflow in GitHub?
How to setup Anypoint Platform credentials in GitHub?
Creating a mule Application
Commit mule Application to GitHub
GitHub Actions jobs
Mule Maven Plugin
● Demo
● Trivia
● Wrap-Up
Agenda
6. 6
A SHOW OF HANDS:
New Members With Us.!!
CHEERS…!!!
We have prizes to give away!
3 lucky winners will receive a MuleSoft voucher!!!
7. Introduction
● About the Organizers
7
Shubham Chaurasia
Billennium India
Professional Integration Developer
A SHOW OF HANDS:
Who is new to this Meetup?
8. 1+ years of technical experience in MuleSoft
Certified MuleSoft Developer
Working as Software Engineer at HashedIn by Deloitte
● About the Speaker
Speaker
8
9. ● Continuous Integration:
○ Is a coding philosophy and set of practices that drive
development teams to implement small changes and
check in code to version control repositories frequently.
● Continuous Delivery:
○ Automates the delivery of applications to selected
infrastructure environments. Most teams work with
multiple environments.
What is CI CD?
9
10. 10
• GitHub Action is CI/CD platform that allows you to automates the build, test & deployment pipeline.
What are GitHub Actions?
12. How to setup Anypoint platform
credentials in GitHub?
12
13. Creating Mule Applications and
Setting-up GitHub
• Create a sample Mule application using Anypoint Studio.
Git Setup -
• Navigate to https://github.com and create new free GitHub account then verify your account.
• 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
13
15. Mule Maven Plugin
● Mule Maven Plugin allows you to deploy MuleSoft application to CloudHub, Runtime Fabric
Manager or Standalone Mule Runtime.
● The Mule Maven plugin has three goals:
Package
Generates the jar file for your project.
mule:deploy
Deploys an artifact from the specified location.
mule:undeploy
Automatically removes your application from any of the application deployment targets
(CloudHub, RTF or On-Prem)
15
18. Take a stand !
18
● Nominate yourself for the next meetup speaker and suggest a topic as well.
19. 19
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Join Mysore Group: https://meetups.mulesoft.com/mysore/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
○ Reach out to Mysore Meetup Leaders (Shubham / Giridhar) to suggest
topics for next Meetup
What’s next?
20. Get ready to WIN a MuleSoft Voucher from MuleSoft
Quiz Time