Another Integration Blog

We are excited to bring you a publication dedicated to sharing insights, stories, and how-tos by the best and brightest in the integration/automation industry. Whether you are an avid MuleSoft fan or just starting to explore the ecosystem, this publication has something for you!

How to set up a complete CI/CD pipeline with GitHub Actions — from MUnit testing to deploying your Mule app to CloudHub

--

Lately, I’ve been writing a series of articles (and recording a series of videos) with steps to create a complete CI/CD pipeline for your Mule applications in GitHub.

Note: The initial versions of the pipeline are based on the following repository created by Archana Patel: arch-jn/github-actions-mule-cicd-demo.

Here you can find the compilation of the 5 articles and videos to set up your own pipeline. In this series, you will learn the following:

  1. Create a simple pipeline to deploy a Mule app to CloudHub using your Anypoint Platform’s username and password.
  2. Add the required configuration to make use of secured/encrypted properties.
  3. Include MUnit tests in the pipeline using Nexus credentials.
  4. Include MUnit’s minimum coverage percentage in the pipeline.
  5. Enable Multi-Factor Authentication (MFA) in your Anypoint Platform account using a Connected App.

Now let’s list the 5 articles/videos that you can follow to set all this up!

1 — Create a simple pipeline

In this post/video, we’ll learn how to create a simple CI/CD pipeline to deploy Mule applications from GitHub to CloudHub using GitHub Actions.

📘 Article: https://www.prostdev.com/post/how-to-set-up-a-ci-cd-pipeline-to-deploy-your-mulesoft-apps-to-cloudhub-using-github-actions

🖥️ Video:

2 — Add secured/encrypted properties

In this post/video, we’ll see the steps to create a pipeline with GitHub Actions that will decrypt your secured properties in your Mule application. If you don’t have secured properties in your application, you may not need this configuration.

📘 Article: https://www.prostdev.com/post/part-2-ci-cd-pipeline-with-mulesoft-and-github-actions-secured-encrypted-properties

🖥️ Video:

3 — Add MUnit tests

In this post/video, we’ll see the steps to create a pipeline with GitHub Actions that will run the MUnit tests you have set up in your Mule project.

📘 Article: https://www.prostdev.com/post/part-3-ci-cd-pipeline-with-mulesoft-and-github-actions-munit-testing

🖥️ Video:

4 — Add MUnit minimum coverage percentage

In this post/video, we’ll see the steps to add the minimum coverage percentage for the MUnit tests in order to pass the pipeline.

📘 Article: https://www.prostdev.com/post/part-4-ci-cd-pipeline-with-mulesoft-and-github-actions-munit-minimum-coverage-percentage

🖥️ Video:

5 — Enable MFA through a Connected App

In this post/video, we’ll learn how to set up our pipeline with a connected app, which is useful when you have multi-factor authentication activated in Anypoint Platform.

📘 Article: https://www.prostdev.com/post/part-5-ci-cd-pipeline-with-mulesoft-and-github-actions-enabling-mfa-through-a-connected-app

🖥️ Video:

--

--

Another Integration Blog
Another Integration Blog

Published in Another Integration Blog

We are excited to bring you a publication dedicated to sharing insights, stories, and how-tos by the best and brightest in the integration/automation industry. Whether you are an avid MuleSoft fan or just starting to explore the ecosystem, this publication has something for you!

Alex Martinez
Alex Martinez

Written by Alex Martinez

Developer Advocate at MuleSoft | Co-Author of MuleSoft for Salesforce Developers | ProstDev Founder | MuleSoft Ambassadress Alumni

No responses yet