{"id":16496729,"url":"https://github.com/dvgamerr/mulesoft-cicd-integation","last_synced_at":"2025-07-19T22:04:31.644Z","repository":{"id":63405390,"uuid":"567115409","full_name":"dvgamerr/mulesoft-cicd-integation","owner":"dvgamerr","description":"Mulesoft CI/CD with domain build to package and deply with anypoint-cli-v4","archived":false,"fork":false,"pushed_at":"2022-12-26T10:32:58.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T12:51:44.533Z","etag":null,"topics":["anypoint-cli","anypoint-studio","deploy","maven","mulesoft","package"],"latest_commit_sha":null,"homepage":"","language":"DataWeave","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvgamerr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-17T05:11:15.000Z","updated_at":"2022-12-02T05:03:33.000Z","dependencies_parsed_at":"2023-01-30T23:45:25.948Z","dependency_job_id":null,"html_url":"https://github.com/dvgamerr/mulesoft-cicd-integation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dvgamerr/mulesoft-cicd-integation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvgamerr%2Fmulesoft-cicd-integation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvgamerr%2Fmulesoft-cicd-integation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvgamerr%2Fmulesoft-cicd-integation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvgamerr%2Fmulesoft-cicd-integation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvgamerr","download_url":"https://codeload.github.com/dvgamerr/mulesoft-cicd-integation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvgamerr%2Fmulesoft-cicd-integation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266026178,"owners_count":23866030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anypoint-cli","anypoint-studio","deploy","maven","mulesoft","package"],"created_at":"2024-10-11T14:36:00.625Z","updated_at":"2025-07-19T22:04:31.594Z","avatar_url":"https://github.com/dvgamerr.png","language":"DataWeave","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mulesoft-cicd-integation\n[![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)\n\n- Domain Project [mulesoft-mule-domain](https://github.com/dvgamerr/mulesoft-mule-domain)\n\n### Config build and deploy\n\n- `pom.xml` Add config.\n\n```xml\n\u003cdistributionManagement\u003e\n  \u003crepository\u003e\n    \u003cid\u003eanypoint-exchange-v3\u003c/id\u003e\n    \u003cname\u003eCorporate Repository\u003c/name\u003e\n    \u003curl\u003ehttps://maven.anypoint.mulesoft.com/api/v3/organizations/${env.ORGANIZATION_ID}/maven\u003c/url\u003e\n    \u003clayout\u003edefault\u003c/layout\u003e\n  \u003c/repository\u003e\n\u003c/distributionManagement\u003e\n\n\n\u003cbuild\u003e\n  \u003cplugins\u003e\n    \u003cplugin\u003e\n\n      ...\n\n      \u003cconfiguration\u003e\n        \u003ccloudHubDeployment\u003e\n\t  \u003cmuleVersion\u003e${app.runtime}\u003c/muleVersion\u003e\n\t  \u003cconnectedAppClientId\u003e${mulesoft.client.id}\u003c/connectedAppClientId\u003e\n\t  \u003cconnectedAppClientSecret\u003e${mulesoft.client.secret}\u003c/connectedAppClientSecret\u003e\n\t  \u003cconnectedAppGrantType\u003eclient_credentials\u003c/connectedAppGrantType\u003e\n\t  \u003capplicationName\u003e${env.APP_ID}\u003c/applicationName\u003e\n\t  \u003cenvironment\u003e${env.ENVIRONMENT}\u003c/environment\u003e\n          \u003cworkers\u003e1\u003c/workers\u003e\n          \u003cworkerType\u003eMICRO\u003c/workerType\u003e\n          \u003cobjectStoreV2\u003etrue\u003c/objectStoreV2\u003e\n          \u003cregion\u003eus-east-2\u003c/region\u003e\n          \u003cbusinessGroupId\u003e${env.ORGANIZATION_ID}\u003c/businessGroupId\u003e\n        \u003c/cloudHubDeployment\u003e\n      \u003c/configuration\u003e\n    \u003c/plugin\u003e\n\t\u003c/build\u003e\n  ...\n\n\u003c/plugins\u003e\n```\n\n- create `settings.xml`in repos, like [settings.xml](./settings.xml).\n- [Create a Connectioned App](https://docs.mulesoft.com/access-management/connected-apps-developers) Any organization administrator can control it.\n- create Secret Actions `CLIENT_ID`, `CLIENT_SECRET`, `ORGANIZATION_ID`\n- copy github actions [build.xml](./.github/workflows/build.yml) and edit for your project\n\n### Referance\n- https://docs.mulesoft.com/exchange/connected-app-authentication\n- https://mulesoft-labs.dev/codelabs/cicd-with-github-actions/index.html#3\n- https://help.mulesoft.com/s/question/0D52T00005JWeXhSAL/connected-apps-and-tokens\n- https://www.linkedin.com/pulse/mulesoft-cicd-github-actions-pralay-debroy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvgamerr%2Fmulesoft-cicd-integation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvgamerr%2Fmulesoft-cicd-integation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvgamerr%2Fmulesoft-cicd-integation/lists"}