Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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