<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ravi Taneja on Medium]]></title>
        <description><![CDATA[Stories by Ravi Taneja on Medium]]></description>
        <link>https://medium.com/@ravi.taneja.me?source=rss-40a13b1e60e3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Po5FdNd9QERAA5nifAGYUA.png</url>
            <title>Stories by Ravi Taneja on Medium</title>
            <link>https://medium.com/@ravi.taneja.me?source=rss-40a13b1e60e3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 01:31:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ravi.taneja.me/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Clawdbot (Now OpenClaw): Top 20 Features That Make This AI Agent Truly Powerful]]></title>
            <link>https://medium.com/@ravi.taneja.me/clawdbot-now-openclaw-top-20-features-that-make-this-ai-agent-truly-powerful-a9da2255cf6c?source=rss-40a13b1e60e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9da2255cf6c</guid>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[clawdbot]]></category>
            <dc:creator><![CDATA[Ravi Taneja]]></dc:creator>
            <pubDate>Sat, 31 Jan 2026 14:04:06 GMT</pubDate>
            <atom:updated>2026-01-31T14:04:06.673Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve been hearing the name <strong>Clawdbot </strong>pop up across developer forums, social media, and AI communities, you’re not imagining things. Clawdbot became popular because it represents something many people have been waiting for: an AI system that doesn’t just talk but actually does things. While the project is now officially called <strong>OpenClaw</strong>, most people still discover it using the original name — and for good reason. That’s where the conversation started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*Q6azysmgnof6hx1aivMkvA.png" /></figure><p>At its core, <strong>Clawdbot </strong>is an <strong>open-source, self-hosted</strong> AI agent designed to work alongside you like a digital operator. It can remember context, plan tasks, connect to real tools, and execute actions autonomously or with human approval. Instead of being another chat window, Clawdbot aims to become part of your daily workflow — whether that’s managing emails, helping with DevOps tasks, or coordinating information across multiple systems.</p><p>Below are the top 20 features that explain why Clawdbot is generating so much attention.</p><h3>Top 20 Features of Clawdbot (OpenClaw):</h3><h3>1. Agentic Planning Instead of Simple Chatting</h3><p>Clawdbot doesn’t respond with one-off answers. When you give it a goal, it breaks it into smaller steps, decides the order in which to execute them, and then works through them methodically. This planning-first approach is what allows it to behave more like an assistant than a chatbot.</p><h3>2. Persistent Long-Term Memory</h3><p>Unlike most AI tools that forget everything once a session ends, Clawdbot can remember preferences, previous tasks, and outcomes. Over time, this allows the agent to adapt to how you work and make more relevant decisions based on past interactions.</p><h3>3. Self-Hosted and Local-First by Design</h3><p>Clawdbot is meant to run on your own machine or server. This means your data does not automatically flow to a third-party SaaS platform. For developers and enterprises, this offers much greater control over privacy, compliance, and security.</p><h3>4. Model-Agnostic AI Core</h3><p>You are not locked into a single AI model. Clawdbot can work with different LLMs, allowing you to choose between cost, performance, or privacy depending on your needs. Switching models does not require redesigning the system.</p><h3>5. Messaging-Based Control</h3><p>One of Clawdbot’s most practical features is that you can interact with it through familiar messaging platforms such as WhatsApp, Telegram, Discord, or Slack. This removes friction and allows you to trigger workflows without learning a new interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4SEwQ1LKnTwfm6Zju8FyQg.png" /></figure><h3>6. Real Tool Execution</h3><p>Clawdbot doesn’t just suggest actions — it performs them. It can run shell commands, call APIs, modify files, and trigger external systems. This ability to execute real operations is what sets it apart from conversational AI tools.</p><h3>7. File System Awareness</h3><p>The agent can read, analyze, summarize, and generate files directly on your system. Whether it’s scanning logs, summarizing documents, or creating reports, Clawdbot understands directory structures and file contexts.</p><h3>8. Built-In Integration Mindset</h3><p>Clawdbot is designed to integrate with real-world tools such as GitHub, Notion, Google Calendar, CRMs, and internal enterprise APIs. This makes it suitable not only for personal productivity but also for business workflows.</p><h3>9. Retrieval-Augmented Generation (RAG)</h3><p>By connecting Clawdbot to a vector database, you can ground its responses in your actual documents, policies, and knowledge bases. This significantly reduces guesswork and improves the accuracy of its decisions.</p><h3>10. Background Jobs and Scheduling</h3><p>Clawdbot can run tasks on a schedule. Daily summaries, overnight checks, and periodic monitoring jobs can all be automated without manual intervention.</p><h3>11. Human-in-the-Loop Safety</h3><p>For sensitive actions such as deployments or financial operations, Clawdbot can pause and ask for human approval. This creates a balance between automation and control.</p><h3>12. Fine-Grained Permission Controls</h3><p>You decide what Clawdbot is allowed to access. Specific directories, commands, and APIs can be enabled or restricted to reduce the risk of unintended actions.</p><h3>13. Observability and Action Logs</h3><p>Every plan, tool execution, and outcome can be logged. This transparency is critical for debugging, audits, and building trust in an autonomous system.</p><h3>14. Error Handling and Self-Correction</h3><p>When something fails, Clawdbot doesn’t simply stop. It can retry, adjust its approach, or report the issue with meaningful context, making it more resilient than basic automation scripts.</p><h3>15. Large Document Handling</h3><p>Clawdbot can work with documents that exceed a single model’s context window by chunking and streaming information intelligently. This is especially useful for reports, policies, and technical documentation.</p><h3>16. Multi-Agent and Skill-Based Design</h3><p>Different tasks can be handled by specialized skills or sub-agents. This separation keeps complex workflows organized and easier to maintain.</p><h3>17. Memory Inspection and Forgetting</h3><p>You can review what Clawdbot remembers and delete specific entries when needed. This is important for privacy, accuracy, and long-term system hygiene.</p><h3>18. Cost Awareness and Model Optimization</h3><p>Clawdbot can be configured to use lower-cost models for routine tasks and reserve more powerful models for complex reasoning, helping manage AI usage costs.</p><h3>19. Developer-Friendly CLI and Setup</h3><p>From installation to configuration, Clawdbot is built with developers in mind. Clear logs, configuration files, and CLI tools make it approachable for technical users.</p><h3>20. Open Source and Community Driven</h3><p>Clawdbot is fully open source. You can inspect the code, extend it with custom skills, and benefit from a growing community that continuously improves the ecosystem.</p><h3>Closing Thoughts</h3><p>Clawdbot (now OpenClaw) is compelling not because it promises the future, but because it delivers something useful today. It shows what happens when AI is allowed to remember, reason, and act — while remaining under human control. As agentic systems continue to evolve, Clawdbot stands as an early but practical example of how AI can move from conversation into real, everyday work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9da2255cf6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Streamlining MuleSoft CI/CD: A Guide to Centralized Secrets Management with GitHub Actions]]></title>
            <link>https://medium.com/@ravi.taneja.me/streamlining-mulesoft-ci-cd-a-guide-to-centralized-secrets-management-with-github-actions-877814e057f5?source=rss-40a13b1e60e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/877814e057f5</guid>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[cloudhub]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Ravi Taneja]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 03:24:47 GMT</pubDate>
            <atom:updated>2024-01-04T03:24:47.053Z</atom:updated>
            <content:encoded><![CDATA[<p>In the dynamic landscape of modern software development, Continuous Integration and Continuous Deployment (CI/CD) pipelines are indispensable for delivering reliable and efficient applications. For MuleSoft environments, orchestrating seamless CI/CD processes becomes a complex task, particularly when dealing with multiple APIs across various repositories. One significant challenge is the secure management of credentials and sensitive information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SsOmpYyW440e_FKSOgVuAw.png" /><figcaption>Centralized Secrets Management in MuleSoft CI/CD</figcaption></figure><p>GitHub Actions, a powerful automation tool, allows developers to define custom workflows directly in their repositories. However, maintaining credentials for each MuleSoft API across numerous repositories can quickly become unwieldy. To address this challenge, many turn to the “Secrets Sync” GitHub Actions marketplace solution.</p><p>The <a href="https://github.com/marketplace/actions/secrets-sync-action">Secrets Sync Action</a> offers a streamlined approach to centrally managing secrets across multiple repositories. This action enables developers to sync secrets from a single source repository to all related repositories, ensuring consistency and reducing the risk of misconfigurations.</p><p>Implementing centralized secrets management with Secrets Sync involves a few key steps.</p><ol><li>We have to create a source repository (Master Repo) in GitHub that can be utilized to store the secrets in GitHub Secrets. You can create environments and inside that you can create environment specific secrets, you can also create repository secrets which are common to all environments.</li><li>Create a personal GitHub Classic access token (Configure SSO. If needed) to provide access to all repos that user have. Store this as GitHub Secrets in Master Repo.</li><li>After creating the secrets, create a syncjob.yml workflow file in .github/workflows/syncjob.yml</li></ol><pre>name: Deploy Sit sync<br>on:<br> push:<br> branches: [ &quot;sit&quot; ]<br>jobs:<br> build:<br> runs-on: ubuntu-latest<br> environment: SIT<br> steps:<br> - uses: jpoehnelt/secrets-sync-action@v1.7.2<br> with:<br>   SECRETS: |<br>     APP_ENVIRONMENT<br>     BUS_GROUP<br>   REPOSITORIES: |<br>     mule-test-flow #you can add more as per the need, seperated by newline<br><br>   DRY_RUN: false<br>   environment: SIT<br>   GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN_CLASSIC }}<br>   CONCURRENCY: 10<br> env:<br>   APP_ENVIRONMENT: ${{secrets.APP_ENVIRONMENT}}<br>   BUS_GROUP_DEVOPS: ${{secrets.BUS_GROUP}}</pre><p>4. After that, run this through GitHub actions pipeline, and you would be able to sync the credentials between multiple REPO’s mentioned in the syncjob.yaml. (In our case, we only have one)</p><p>These secrets could include API keys, authentication tokens, or any sensitive information required for MuleSoft API connections. You can create multiple sync workflows in multiple environment specific branch</p><p>By adopting centralized secrets management, development teams benefit from enhanced security, efficiency, and maintainability. It reduces the likelihood of secrets being inadvertently omitted or misconfigured in individual repositories, mitigating potential security risks.</p><p>In conclusion, GitHub Actions, coupled with the Secrets Sync Action, provides a robust solution for managing secrets in MuleSoft CI/CD pipelines. This approach streamlines the development process, allowing teams to focus on innovation and collaboration while ensuring the security of sensitive information across their entire ecosystem. Embracing centralized secrets management is a proactive step toward achieving a more secure and efficient MuleSoft CI/CD workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=877814e057f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 2: Fetch all the MuleSoft properties using Azure Key Vault in GitHub Actions.]]></title>
            <link>https://medium.com/@ravi.taneja.me/part-2-fetch-all-the-mulesoft-properties-using-azure-key-vault-in-github-actions-94759c323355?source=rss-40a13b1e60e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/94759c323355</guid>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[mule]]></category>
            <category><![CDATA[azure-key-vault]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[mulesoft]]></category>
            <dc:creator><![CDATA[Ravi Taneja]]></dc:creator>
            <pubDate>Wed, 31 May 2023 11:55:36 GMT</pubDate>
            <atom:updated>2023-05-31T11:55:36.566Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the second part of setup GitHub Actions CI/CD pipeline for MuleSoft Cloudhub.</p><p>In this article, we will cover how we can utilize Azure Key Vault(AKV) to get secrets to fulfil all the deployment and environment properties in GitHub Actions workflow. This way you don’t need to store the credentials inside every repo, you can centralize the secrets, also this will add a security layer.</p><p>Azure Key Vault provides a centralized repository for securely storing and managing secrets, such as API keys, passwords, connection strings and certificates. This eliminates the need of storing credentials inside the Mule/Any other applications, reducing the risk of accidental exposure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VxCdVMu7cC76azgQsRMosA.png" /></figure><p><strong>Requirements:</strong></p><p>1. Azure account with access to create AKV</p><p>2. GitHub Repo with admin access.</p><p><strong>What we will discuss :</strong></p><ol><li>How to create Azure Key Vault.</li><li>How to create a service app.</li><li>How to create Role Assignment for Vault.</li><li>How to Add Azure Login and Azure Vault Action in GitHub workflows.</li><li><strong>Create Azure Key Vault:</strong></li></ol><p>To create AKV, follow the below process:<br>Go to Azure Portal &gt;&gt; search for Key Vault Service&gt;&gt; click create &gt;&gt; provide required details &gt;&gt; create.</p><p><strong>2. Create Service Principal:</strong></p><p>create service principal using the below command:</p><pre>az ad sp create-for-rbac - name {myApp} - role contributor - scopes /subscriptions/{subscription-id}/resourceGroups/{MyResourceGroup} - sdk-auth</pre><p>{myApp} &gt;&gt; Give your Service app name that will be utilized to provide access to Azure Key Vault<br>{Subscription-id} &gt;&gt; Provide subscription ID of azure account.<br>{MyResourceGroup} &gt;&gt; Provide resource group name of account.</p><p>You will get the Output as below (store it for next steps):</p><pre>{<br>    &quot;clientId&quot;: &quot;&lt;GUID&gt;&quot;,<br>    &quot;clientSecret&quot;: &quot;&lt;GUID&gt;&quot;,<br>    &quot;subscriptionId&quot;: &quot;&lt;GUID&gt;&quot;,<br>    &quot;tenantId&quot;: &quot;&lt;GUID&gt;&quot;,<br>     (...)<br>}</pre><p><strong>3. Add Role Assignment for Key Vault:</strong></p><p>Grant access to the Azure service principal so that you can access your key vault for get and list operations using below command:</p><pre>az keyvault set-policy -n {keyVaultName} - secret-permissions get list - spn {clientIdGUID}</pre><p>{keyVaultName} &gt;&gt; provide Key Vault name that created in 1st step.<br>{clientIdGUID} &gt;&gt; provide the client from the output from 2nd step.</p><p><strong>4. Add Azure Login and Azure Vault Action in GitHub workflows:</strong></p><p>Add Credentials as “AZURE_CREDENTIALS” to GitHub Actions secrets using output from 2nd step.</p><pre>{ <br> &quot;clientId&quot;: &quot;&lt;GUID&gt;&quot;,<br> &quot;clientSecret&quot;: &quot;&lt;GUID&gt;&quot;,<br> &quot;subscriptionId&quot;: &quot;&lt;GUID&gt;&quot;,<br> &quot;tenantId&quot;: &quot;&lt;GUID&gt;&quot;<br> }</pre><p>GitHub workflow code:</p><pre>name: Deploy SIT using AKV test<br>on: [push]<br><br>jobs:<br>  build:<br>    runs-on: ubuntu-latest<br>    steps:<br>    # checkout the repo<br>    - uses: actions/checkout@v2<br>    - name: Login to Azure<br>      uses: Azure/login@v1<br>      with:<br>        creds: ${{ secrets.AZURE_CREDENTIALS }}<br>    - uses: Azure/get-keyvault-secrets@v1<br>      with: <br>        keyvault: &quot;AzureKeyVault&quot;<br>        secrets: &#39;NEXUSUSERNAME, NEXUSPASSWORD, PLATFORMUSERNAME, PLATFORMPASSWORD, CLOUDHUBUSERNAME, CLOUDHUBPASSWORD, BUSGROUPID, ENVIRONMENT&#39;<br>        <br>    - name: Checkout repository<br>      uses: actions/checkout@v2<br>    - name: cache dependencies<br>      uses: actions/setup-java@v2<br>      with:<br>        java-version: &#39;11&#39;<br>        distribution: &#39;adopt&#39;<br>        cache: maven<br>    - name: Build with Maven<br>      run: mvn -B clean package -s .maven/settings.xml<br>    - name: Deploy<br>      run: mvn -B deploy -DmuleDeploy -s .maven/settings.xml</pre><p>Note: Keep all environment and deployment properties same name like AKV Secrets, with that you can utilize any secrets value, by env.SECRET_NAME</p><p>Refer: <a href="https://learn.microsoft.com/en-us/azure/developer/github/github-key-vault">https://learn.microsoft.com/en-us/azure/developer/github/github-key-vault</a></p><p>GitHub: <a href="https://github.com/MuleTrail/mule-cicd-githubactions">https://github.com/MuleTrail/mule-cicd-githubactions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94759c323355" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup GitHub Actions CI/CD Pipeline for MuleSoft Cloudhub Deployment]]></title>
            <link>https://medium.com/@ravi.taneja.me/setup-github-actions-ci-cd-pipeline-for-mulesoft-cloudhub-deployment-a1ba1800b54?source=rss-40a13b1e60e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1ba1800b54</guid>
            <category><![CDATA[cicd-pipeline]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[mulesoft]]></category>
            <dc:creator><![CDATA[Ravi Taneja]]></dc:creator>
            <pubDate>Wed, 31 May 2023 11:53:17 GMT</pubDate>
            <atom:updated>2023-05-31T13:19:54.998Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Part 1: Setup GitHub Actions CI/CD Pipeline for MuleSoft Cloudhub.</strong></p><p>CI/CD stands for Continuous Integration and Continuous Deployment (or Continuous Delivery) is a fast-paced software development approach, that focus on automating the processes of integration code changes and deploying applications. With the help of CI/CD, we can increase the efficiency, faster time to market and improve collaboration between developers.</p><p>Implementing a robust CI/CD pipeline is crucial for MuleSoft Cloudhub Deployment.</p><p>GitHub Actions is a powerful automation tool, that provides an excellent platform to create and manage CI/CD pipeline using GitHub workflows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pLLyJ9f_LzNETAvktVig0g.png" /></figure><p>Requirements:</p><ol><li>GitHub personal account or Enterprise account.</li><li>Anypoint Cloudhub account.</li><li>Nexus Repo credentials.</li></ol><p>This article explores — How to build a CI/CD pipeline using GitHub Actions for MuleSoft Cloudhub.</p><p>In Part 1, We will discuss:</p><p>1. How to create a GitHub Repo.<br>2. How to set up GitHub workflows and maven settings.<br>3. How to set up Deployment properties and Cloudhub environment properties in pom.xml.<br>4. How to set up Repository secrets, Repository variables, Environment secrets, Environment variables<br>5. How to run the pipeline on code push.</p><p><strong>1. Create a GitHub Repo :</strong></p><p>Click repositories &gt;&gt; New &gt;&gt; Add Name &gt;&gt; Select public repo for GitHub Actions &gt;&gt; Create Repo.</p><p><strong>Note:</strong> If you are using GitHub free account, you can only use GitHub Actions workflow on public repo. It is available for private repo, only when you have enterprise license.</p><p><strong>2. Setup GitHub Actions Workflow/Pipeline and maven settings file :</strong></p><p>Create folder .maven in root folder of repo and create settings.xml file inside that.</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<br>&lt;settings&gt;<br>  &lt;servers&gt;<br>    &lt;server&gt;<br>      &lt;id&gt;MuleRepository&lt;/id&gt;<br>      &lt;username&gt;${env.NEXUSUSERNAME}&lt;/username&gt;<br>      &lt;password&gt;${env.NEXUSPASSWORD}&lt;/password&gt;<br>    &lt;/server&gt;<br>    &lt;server&gt;<br>      &lt;id&gt;anypoint-exchange-v2&lt;/id&gt;<br>      &lt;username&gt;${env.PLATFORMUSERNAME}&lt;/username&gt;<br>      &lt;password&gt;${env.PLATFORMPASSWORD}&lt;/password&gt;<br>    &lt;/server&gt;<br>  &lt;/servers&gt;<br>  &lt;pluginGroups&gt;<br>    &lt;pluginGroup&gt;org.mule.tools&lt;/pluginGroup&gt;<br>  &lt;/pluginGroups&gt;<br>  &lt;profiles&gt;<br>    &lt;profile&gt;<br>      &lt;id&gt;mule-extra-repos&lt;/id&gt;<br>      &lt;activation&gt;<br>        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;<br>      &lt;/activation&gt;<br>      &lt;repositories&gt;<br>        &lt;repository&gt;<br>          &lt;id&gt;mule-public&lt;/id&gt;<br>          &lt;url&gt;https://repository.mulesoft.org/nexus/content/repositories/public&lt;/url&gt;<br>        &lt;/repository&gt;<br>      &lt;/repositories&gt;<br>      &lt;pluginRepositories&gt;<br>        &lt;pluginRepository&gt;<br>          &lt;id&gt;mule-public&lt;/id&gt;<br>          &lt;url&gt;https://repository.mulesoft.org/nexus/content/repositories/public&lt;/url&gt;<br>        &lt;/pluginRepository&gt;<br>      &lt;/pluginRepositories&gt;<br>    &lt;/profile&gt;<br>    &lt;profile&gt;<br>      &lt;id&gt;Mule&lt;/id&gt;<br>      &lt;activation&gt;<br>        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;<br>      &lt;/activation&gt;<br>      &lt;repositories&gt;<br>        &lt;repository&gt;<br>          &lt;id&gt;MuleRepository&lt;/id&gt;<br>          &lt;name&gt;MuleRepository&lt;/name&gt;<br>          &lt;url&gt;https://repository.mulesoft.org/nexus-ee/content/repositories/releases-ee/&lt;/url&gt;<br>          &lt;layout&gt;default&lt;/layout&gt;<br>          &lt;releases&gt;<br>            &lt;enabled&gt;true&lt;/enabled&gt;<br>          &lt;/releases&gt;<br>          &lt;snapshots&gt;<br>            &lt;enabled&gt;true&lt;/enabled&gt;<br>          &lt;/snapshots&gt;<br>        &lt;/repository&gt;<br>      &lt;/repositories&gt;<br>    &lt;/profile&gt;<br>  &lt;/profiles&gt;<br>&lt;/settings&gt;</pre><p>Create folder .github/workflows in root folder and main.yml (you can name it according to your branch name, you can also create multiple .yml files according to your environment SIT, UAT, PROD)</p><pre>name: Sandbox - Build and Deploy<br><br>on:<br>  push:<br>    branches: sandbox <br>#normally you wouldn&#39;t be deploying master branch pushes to Sandbox,<br>#but we&#39;re keeping things simple! 😁<br><br>#setup enviroment variables using github secrets that will be utilized for setting.xml and pom.xml<br>env:<br>  NEXUS_USERNAME: ${{ secrets.NEXUSUSERNAME }}<br>  NEXUS_PASSWORD: ${{ secrets.NEXUSPASSWORD }}<br>  PLATFORM_USERNAME: ${{ secrets.PLATFORMUSERNAME }}<br>  PLATFORM_PASSWORD: ${{ secrets.PLATFORMPASSWORD }}<br>  ENVIRONMENT: ${{ secrets.ENVIRONMENT}}<br><br>jobs:<br>  BuildAndDeployToDev:<br>    runs-on: ubuntu-latest<br>    environment:<br>      name: Sandbox<br>    steps:<br>#first, we need to checkout our mule application&#39;s branch code<br>      - name: Checkout repository<br>        uses: actions/checkout@v2<br>#second, cache dependencies, No need to download every time<br>      - name: cache dependencies<br>        uses: actions/setup-java@v2<br>        with:<br>          java-version: &#39;11&#39;<br>          distribution: &#39;adopt&#39;<br>          cache: maven<br>#third, build with Maven<br>      - name: Build with Maven<br>        run: mvn -B clean package -s .maven/settings.xml<br>#fourth, upload artifact, to utilize for other repo.(optional)<br>      - name: upload Artifact<br>        run: mkdir staging &amp;&amp; cp target/*.jar staging<br>      - uses: actions/upload-artifact@v2<br>        with:<br>          name: Package<br>          path: staging<br>#fifth, Deploy with Maven<br>      - name: Deploy<br>        run: mvn -B deploy -DmuleDeploy -s .maven/settings.xml</pre><p><strong>3. Setup Deployment properties and Cloudhub environment properties in pom.xml :</strong></p><p>Edit pom.xml file to add Cloudhub Deployment and environment properties in maven plugin configurations.</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;<br> xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;<br> xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;<br> &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;<br><br> &lt;groupId&gt;com.mycompany&lt;/groupId&gt;<br> &lt;artifactId&gt;cicd-with-githubactions&lt;/artifactId&gt;<br> &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;<br> &lt;packaging&gt;mule-application&lt;/packaging&gt;<br><br> &lt;name&gt;cicd-with-githubactions&lt;/name&gt;<br><br> &lt;properties&gt;<br>  &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;<br>  &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;<br><br>  &lt;app.runtime&gt;4.4.0-20211026&lt;/app.runtime&gt;<br>  &lt;mule.maven.plugin.version&gt;3.5.2&lt;/mule.maven.plugin.version&gt;<br> &lt;/properties&gt;<br><br> &lt;build&gt;<br>  &lt;plugins&gt;<br>   &lt;plugin&gt;<br>    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;<br>    &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;<br>    &lt;version&gt;3.0.0&lt;/version&gt;<br>   &lt;/plugin&gt;<br>   &lt;plugin&gt;<br>    &lt;groupId&gt;org.mule.tools.maven&lt;/groupId&gt;<br>    &lt;artifactId&gt;mule-maven-plugin&lt;/artifactId&gt;<br>    &lt;version&gt;${mule.maven.plugin.version}&lt;/version&gt;<br>    &lt;extensions&gt;true&lt;/extensions&gt;<br>    &lt;configuration&gt;<br>    &lt;cloudHubDeployment&gt;<br>     &lt;muleVersion&gt;4.4.0&lt;/muleVersion&gt;<br>     &lt;username&gt;${env.PLATFORMUSERNAME}&lt;/username&gt;<br>     &lt;password&gt;${env.PLATFORMPASSWORD}&lt;/password&gt;<br>     &lt;applicationName&gt;mule-test-cicd-actions-ravyog-${env.ENVIRONMENT}&lt;/applicationName&gt;<br>     &lt;environment&gt;${env.ENVIRONMENT}&lt;/environment&gt;<br>     &lt;workers&gt;1&lt;/workers&gt;<br>     &lt;workerType&gt;MICRO&lt;/workerType&gt;<br>     &lt;objectStoreV2&gt;true&lt;/objectStoreV2&gt;<br>     &lt;region&gt;us-east-2&lt;/region&gt;<br>     &lt;properties&gt;<br>#add your enviorment properties here.<br>        &lt;mule.env&gt;${env.ENVIRONMENT}&lt;/mule.env&gt;<br>     &lt;/properties&gt;<br>    &lt;/cloudHubDeployment&gt;<br>    &lt;/configuration&gt;<br>   &lt;/plugin&gt;<br>  &lt;/plugins&gt;<br> &lt;/build&gt;<br><br> &lt;dependencies&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;org.mule.connectors&lt;/groupId&gt;<br>   &lt;artifactId&gt;mule-http-connector&lt;/artifactId&gt;<br>   &lt;version&gt;1.6.0&lt;/version&gt;<br>   &lt;classifier&gt;mule-plugin&lt;/classifier&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;org.mule.connectors&lt;/groupId&gt;<br>   &lt;artifactId&gt;mule-sockets-connector&lt;/artifactId&gt;<br>   &lt;version&gt;1.2.2&lt;/version&gt;<br>   &lt;classifier&gt;mule-plugin&lt;/classifier&gt;<br>  &lt;/dependency&gt;<br> &lt;/dependencies&gt;<br><br> &lt;repositories&gt;<br>  &lt;repository&gt;<br>   &lt;id&gt;anypoint-exchange-v2&lt;/id&gt;<br>   &lt;name&gt;Anypoint Exchange&lt;/name&gt;<br>   &lt;url&gt;https://maven.anypoint.mulesoft.com/api/v2/maven&lt;/url&gt;<br>   &lt;layout&gt;default&lt;/layout&gt;<br>  &lt;/repository&gt;<br>  &lt;repository&gt;<br>   &lt;id&gt;mulesoft-releases&lt;/id&gt;<br>   &lt;name&gt;MuleSoft Releases Repository&lt;/name&gt;<br>   &lt;url&gt;https://repository.mulesoft.org/releases/&lt;/url&gt;<br>   &lt;layout&gt;default&lt;/layout&gt;<br>  &lt;/repository&gt;<br> &lt;/repositories&gt;<br><br> &lt;pluginRepositories&gt;<br>  &lt;pluginRepository&gt;<br>   &lt;id&gt;mulesoft-releases&lt;/id&gt;<br>   &lt;name&gt;MuleSoft Releases Repository&lt;/name&gt;<br>   &lt;layout&gt;default&lt;/layout&gt;<br>   &lt;url&gt;https://repository.mulesoft.org/releases/&lt;/url&gt;<br>   &lt;snapshots&gt;<br>    &lt;enabled&gt;false&lt;/enabled&gt;<br>   &lt;/snapshots&gt;<br>  &lt;/pluginRepository&gt;<br> &lt;/pluginRepositories&gt;<br><br>&lt;/project&gt;</pre><p>4. <strong>Setup Repository secrets, Repository variables, Environment secrets, Environment variables :</strong></p><p>To add repository secrets, environment secrets and environment variables, you need to enable the GitHub actions for the repo.</p><p>To add Repository Secrets:</p><p>Go to Repo Settings &gt;&gt; Secrets and variables &gt;&gt; New Repository Secrets &gt;&gt; Add Name and Secret &gt;&gt; Click Add secret.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*PUiga6eFl1ir0ZWUgZTjcQ.png" /><figcaption>Add new GitHub action secret</figcaption></figure><p>Same way, you can add the repository variable from next tab.</p><p><strong>To Add Environment Secrets:</strong></p><p>Go to Repo Settings &gt;&gt; Click Environments &gt;&gt; Create Environment &gt;&gt; Now you can add Environment Secrets and Variables.</p><p>Note : This should be environment specific.</p><p>Additional features —</p><ol><li>You can also select the deployment branch by clicking the All-branches dropdown and select specific branch &gt;&gt; add deployment branch rule.</li><li>You can also control deployment by adding the reviewers in environment settings.</li></ol><p><strong>5. Run GitHub Actions Pipeline :</strong></p><p>Enable the GitHub Actions on your repo :</p><p>Repo Settings &gt;&gt; Actions &gt;&gt; General &gt;&gt; Actions Permissions &gt;&gt; select Allow all actions and reusable workflows &gt;&gt; Save.</p><p>Now you will see Actions tab in your repo.</p><p>Push the code to a GitHub branch and it should trigger a Workflow run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*UroKmy98iiu-5Gzs3-8XVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*v0yPCHcK1tOsSN3qG6QOBQ.png" /></figure><p>GitHub Repo for Reference: <a href="https://github.com/MuleTrail/mule-test-cicd-actions">https://github.com/MuleTrail/mule-test-cicd-actions</a></p><p>Part 2: <a href="https://medium.com/@ravi.taneja.me/part-2-fetch-all-the-mulesoft-properties-using-azure-key-vault-in-github-actions-94759c323355">Fetch all the MuleSoft properties using Azure Key Vault in GitHub Actions.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1ba1800b54" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>