Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexandramartinez/github-actions
Setting up CI/CD pipelines with GitHub actions and a simple Mule app. Using GitHub actions to deploy the Mule application to CloudHub automatically.
https://github.com/alexandramartinez/github-actions
anypoint anypoint-platform anypoint-studio anypointplatform cicd cloudhub cloudhub2 devops github-actions
Last synced: 8 days ago
JSON representation
Setting up CI/CD pipelines with GitHub actions and a simple Mule app. Using GitHub actions to deploy the Mule application to CloudHub automatically.
- Host: GitHub
- URL: https://github.com/alexandramartinez/github-actions
- Owner: alexandramartinez
- Created: 2022-07-14T17:07:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-14T17:38:10.000Z (3 months ago)
- Last Synced: 2024-08-14T19:19:49.013Z (3 months ago)
- Topics: anypoint, anypoint-platform, anypoint-studio, anypointplatform, cicd, cloudhub, cloudhub2, devops, github-actions
- Homepage:
- Size: 57.6 KB
- Stars: 10
- Watchers: 1
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub actions CI/CD pipeline for MuleSoft
- [Blog post + video] [Part 1: How to set up a CI/CD pipeline to deploy your MuleSoft apps to CloudHub using GitHub Actions](https://www.prostdev.com/post/how-to-set-up-a-ci-cd-pipeline-to-deploy-your-mulesoft-apps-to-cloudhub-using-github-actions)
- [Blog post + video] [Part 2: CI/CD pipeline with MuleSoft and GitHub Actions - secured/encrypted properties](https://www.prostdev.com/post/part-2-ci-cd-pipeline-with-mulesoft-and-github-actions-secured-encrypted-properties)
- [Blog post + video] [Part 3: CI/CD pipeline with MuleSoft and GitHub Actions - MUnit testing](https://www.prostdev.com/post/part-3-ci-cd-pipeline-with-mulesoft-and-github-actions-munit-testing)
- [Blog post + video] [Part 4: CI/CD pipeline with MuleSoft and GitHub Actions - MUnit minimum coverage percentage](https://www.prostdev.com/post/part-4-ci-cd-pipeline-with-mulesoft-and-github-actions-munit-minimum-coverage-percentage)
- [Blog post + video] [Part 5: CI/CD pipeline with MuleSoft and GitHub Actions - Enabling MFA through a Connected App](https://www.prostdev.com/post/part-5-ci-cd-pipeline-with-mulesoft-and-github-actions-enabling-mfa-through-a-connected-app)
- [Blog post + video] [Part 6: CI/CD pipeline with MuleSoft and GitHub Actions - Deploying to CloudHub 2.0](https://www.prostdev.com/post/part-6-ci-cd-pipeline-with-mulesoft-and-github-actions-deploying-to-cloudhub-2-0)> **Note**
>
> This is a simple Mule application to test. Please update the `app.name` and `env` properties from the `pom.xml` to your own.## Branches
Different examples are being demonstrated per branch. Here's the summary of each.
||[`main`](https://github.com/alexandramartinez/github-actions/tree/main)|[`connected-app`](https://github.com/alexandramartinez/github-actions/tree/connected-app)|[`cloudhub2`](https://github.com/alexandramartinez/github-actions/tree/cloudhub2)
|-|-|-|-
|Deployment|CH1|CH1|CH2
|Passing secured properties|✅|✅|✅
|MUnit testing in pipeline|✅|✅|❌
|Running MUnit coverage|✅|✅|❌
|Nexus credentials|✅|✅|❌
|Auth|username/password in `pom.xml`|connected app in `pom.xml`|server in `settings.xml` (using connected app)
|Maven version|`3.8.0`|`3.8.0`|`4.1.1`
|Runtime|`4.4.0` through the `muleVersion` property|`4.4.0` through the `muleVersion` property|`4.4.0` through the `releaseChannel` property (`NONE`)## Other resources
The initial versions of the pipeline are based on the following repository created by Archana Patel: [arch-jn/github-actions-mule-cicd-demo](https://github.com/arch-jn/github-actions-mule-cicd-demo).
- [Docs] [Deploy Applications to CloudHub Using the Mule Maven Plugin](https://docs.mulesoft.com/mule-runtime/latest/deploy-to-cloudhub)
- [Docs] [Deploy Applications to CloudHub 2.0 Using the Mule Maven Plugin](https://docs.mulesoft.com/mule-runtime/latest/deploy-to-cloudhub-2)
- [Docs] [CloudHub 2.0 Architecture - Regions and DNS Records](https://docs.mulesoft.com/cloudhub-2/ch2-architecture#regions-and-dns-records)