Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvgamerr/mulesoft-cicd-integation
Mulesoft CI/CD with domain build to package and deply with anypoint-cli-v4
https://github.com/dvgamerr/mulesoft-cicd-integation
anypoint-cli anypoint-studio deploy maven mulesoft package
Last synced: 27 days ago
JSON representation
Mulesoft CI/CD with domain build to package and deply with anypoint-cli-v4
- Host: GitHub
- URL: https://github.com/dvgamerr/mulesoft-cicd-integation
- Owner: dvgamerr
- Created: 2022-11-17T05:11:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T10:32:58.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T14:36:07.009Z (6 months ago)
- Topics: anypoint-cli, anypoint-studio, deploy, maven, mulesoft, package
- Language: DataWeave
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mulesoft-cicd-integation
[![Mulesoft Package](https://github.com/dvgamerr/mulesoft-cicd-integation/actions/workflows/build.yml/badge.svg)](https://github.com/dvgamerr/mulesoft-cicd-integation/actions/workflows/build.yml)- Domain Project [mulesoft-mule-domain](https://github.com/dvgamerr/mulesoft-mule-domain)
### Config build and deploy
- `pom.xml` Add config.
```xml
anypoint-exchange-v3
Corporate Repository
https://maven.anypoint.mulesoft.com/api/v3/organizations/${env.ORGANIZATION_ID}/maven
default
...
${app.runtime}
${mulesoft.client.id}
${mulesoft.client.secret}
client_credentials
${env.APP_ID}
${env.ENVIRONMENT}
1
MICRO
true
us-east-2
${env.ORGANIZATION_ID}
...```
- create `settings.xml`in repos, like [settings.xml](./settings.xml).
- [Create a Connectioned App](https://docs.mulesoft.com/access-management/connected-apps-developers) Any organization administrator can control it.
- create Secret Actions `CLIENT_ID`, `CLIENT_SECRET`, `ORGANIZATION_ID`
- copy github actions [build.xml](./.github/workflows/build.yml) and edit for your project### Referance
- https://docs.mulesoft.com/exchange/connected-app-authentication
- https://mulesoft-labs.dev/codelabs/cicd-with-github-actions/index.html#3
- https://help.mulesoft.com/s/question/0D52T00005JWeXhSAL/connected-apps-and-tokens
- https://www.linkedin.com/pulse/mulesoft-cicd-github-actions-pralay-debroy