<?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 Peyman Ghazvini on Medium]]></title>
        <description><![CDATA[Stories by Peyman Ghazvini on Medium]]></description>
        <link>https://medium.com/@peymancyb?source=rss-5e54d27a423c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*KXGXhfaJcLC6jab27paf8w.jpeg</url>
            <title>Stories by Peyman Ghazvini on Medium</title>
            <link>https://medium.com/@peymancyb?source=rss-5e54d27a423c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:04:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@peymancyb/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[The Power of ArgoCD: Continuous Deployment Made Effortless]]></title>
            <link>https://peymancyb.medium.com/the-power-of-argocd-continuous-deployment-made-effortless-4a5738b72243?source=rss-5e54d27a423c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a5738b72243</guid>
            <category><![CDATA[argo-cd]]></category>
            <dc:creator><![CDATA[Peyman Ghazvini]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 21:51:32 GMT</pubDate>
            <atom:updated>2023-09-26T21:55:55.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*55BdXPV0_CeIitTIvjLjew.png" /></figure><p>In the fast-paced world of software development, the need for efficient and reliable continuous deployment tools is greater than ever. Developers are constantly striving to streamline the process of delivering their applications to production environments, while ensuring stability and minimizing downtime. ArgoCD, an open-source continuous deployment tool, has emerged as a game-changer in this regard. In this article, we’ll explore what ArgoCD is, why it’s so powerful, and how it can benefit your organization.</p><h3>What is ArgoCD?</h3><p>ArgoCD is a declarative, GitOps continuous deployment tool that helps automate the deployment and management of Kubernetes applications. It is part of the Argo project, which also includes tools like Argo Workflows for orchestrating complex workflows in Kubernetes.</p><p>At its core, ArgoCD is designed to bring GitOps principles to Kubernetes environments. GitOps is an operational model that uses Git repositories as the source of truth for defining and managing infrastructure and application configurations. With ArgoCD, you define your application manifests in a Git repository, and ArgoCD ensures that the actual cluster state matches the desired state defined in Git.</p><h3>Key Features of ArgoCD</h3><h4>Declarative Configuration</h4><p>ArgoCD encourages a declarative approach to configuration, where you define the desired state of your applications in YAML files. This eliminates the need for imperative scripts or manual intervention in the deployment process. You simply declare how your application should look, and ArgoCD takes care of making it so.</p><h4>GitOps Workflow</h4><p>ArgoCD follows a GitOps workflow, which means it continuously monitors your Git repositories for changes in your application configuration. When it detects changes, it automatically syncs the cluster’s state to match the new configuration. This ensures that your cluster is always in the desired state defined in your Git repository.</p><h4>Rollback Capabilities</h4><p>Sometimes, deployments can go awry. ArgoCD provides an easy way to roll back to a previous known-good state by reverting to a previous Git commit. This feature is invaluable for mitigating errors and ensuring minimal downtime in case of issues.</p><h4>Multi-Tenancy</h4><p>ArgoCD supports multi-tenancy, allowing organizations to manage multiple Kubernetes clusters and applications within a single ArgoCD instance. This is particularly useful for enterprises with complex infrastructures and diverse application portfolios.</p><h4>Extensibility</h4><p>ArgoCD is highly extensible and integrates seamlessly with other DevOps tools and Kubernetes ecosystem components. It supports custom plugins and webhooks, enabling organizations to tailor it to their specific needs.</p><h3>Benefits of ArgoCD</h3><h4>Improved Reliability</h4><p>By enforcing a declarative configuration approach and continuously reconciling the cluster state with the desired state in Git, ArgoCD significantly improves the reliability of deployments. You can trust that your applications will always run as expected.</p><h4>Enhanced Collaboration</h4><p>With ArgoCD, developers and operations teams can collaborate more effectively. Application configurations are stored in Git repositories, making it easy to track changes, review code, and collaborate on updates.</p><h4>Reduced Downtime</h4><p>ArgoCD’s ability to roll back to a previous known-good state helps minimize downtime in the event of deployment failures or issues. This is crucial for maintaining the availability of critical applications.</p><h4>Scalability</h4><p>ArgoCD scales effortlessly with your organization’s needs. Whether you’re managing a single cluster or a large multi-cluster environment, ArgoCD can handle it, ensuring consistent deployments across all clusters.</p><h4>Cost-Efficiency</h4><p>ArgoCD is an open-source tool, which means it is free to use. This makes it a cost-effective choice for organizations looking to optimize their deployment processes without breaking the bank.</p><h4>Getting Started with ArgoCD</h4><p>To get started with ArgoCD, you’ll need to:</p><ol><li>Install and configure ArgoCD on your Kubernetes cluster.</li><li>Define your application configurations in Git repositories.</li><li>Use the ArgoCD CLI or the web-based UI to manage and deploy your applications.</li></ol><p>ArgoCD has an active community and comprehensive documentation, making it relatively straightforward to set up and use.</p><h4>Conclusion</h4><p>ArgoCD brings the power of GitOps to Kubernetes, making continuous deployment and management of applications easier, more reliable, and efficient. By embracing declarative configuration, GitOps workflows, and advanced features like rollbacks and multi-tenancy, ArgoCD is a must-have tool for organizations looking to excel in the modern software development landscape. If you haven’t explored ArgoCD yet, it’s time to dive in and experience the benefits it can bring to your DevOps pipeline. Your deployments will thank you for it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a5738b72243" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migrating to AndroidX]]></title>
            <link>https://peymancyb.medium.com/migrating-to-androidx-282732179da8?source=rss-5e54d27a423c------2</link>
            <guid isPermaLink="false">https://medium.com/p/282732179da8</guid>
            <category><![CDATA[react-native-developers]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[androidx]]></category>
            <category><![CDATA[react-native-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Peyman Ghazvini]]></dc:creator>
            <pubDate>Fri, 28 Jun 2019 18:32:05 GMT</pubDate>
            <atom:updated>2019-06-28T18:32:05.149Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z4tcjM4eoesKVorJ3nsu3w.jpeg" /></figure><p>On June 17th, 2019, Android released new package names for their deprecated libraries so your project might fail to execute because of this breaking change.</p><p>In this Article, We are going to see the steps that we need to do to migrate our Android project to AndroidX.</p><p>First of all, you might need to take a look at its official guide:<br> — &gt; <a href="https://developer.android.com/jetpack/androidx/migrate">https://developer.android.com/jetpack/androidx/migrate</a></p><p>If you have followed the official guide and your project migrated to AndroidX without issues, Then you are Lucky :) and you can stop reading this Article, but if you are stuck, Then this Article might help you to fix your problems.</p><blockquote><strong>First</strong>, make sure you set the following two flags to true in your <strong>android/gradle.properties</strong> file:<br>android.useAndroidX=true<br>android.enableJetifier=true</blockquote><p><strong><em>Note:</em></strong> if your project<strong> does not</strong> use third-party libraries, you might set <strong>android.enableJetifier=false</strong></p><p><strong><em>Note:</em></strong> make sure you that you have <strong>com.android.tools.build:gradle:3.4.1 </strong>set in your project under android &gt; build.gradle, under <strong>buildscript</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sL1oMQ7g-D1U3B-RUrfJ4A.png" /></figure><blockquote>If you are using gradle version 3.4.1 then you need to set<br><strong>distributionUrl </strong>= <strong>https\://services.gradle.org/distributions/gradle-5.1.1-all.zip<br></strong>in android &gt; gradle &gt; wrapper &gt; gradle-wrapper.properties<br>For other versions you might need to take a look at this guide<strong><br></strong><a href="https://developer.android.com/studio/releases/gradle-plugin">https://developer.android.com/studio/releases/gradle-plugin</a></blockquote><p>Now you need to migrate to AndroidX, so as the official guide has mentioned, you need to select “<strong>Migrate to AndroidX” </strong>from the menu<strong> <br></strong>Refactor &gt; Migrate to AndroidX</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JLmq10y1uhdW0Q_yqJFjPg.jpeg" /></figure><p>After clicking on “<strong>Migrate to AndroidX” </strong>there will be a popup asking for backing up the project, it is suggested to have a backup of your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwWLhfqxmhoo0cqJTuBD9g.png" /></figure><p>Note: if by any chance the following popup shown, first make sure that you have gradle <strong>version 3.2.0 </strong>or higher in <strong>android &gt; build.gradle</strong> and you need to check the <strong>distributionUrl </strong>in<strong>:<br>android &gt; gradle &gt; wrapper &gt; gradle-wrapper.properties<br></strong>After making sure that all the <strong>versions are correct</strong>, then close the project and delete the <strong>.idea </strong>file under <strong>android/.idea </strong>and then open your project in android studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*fLWjmQxrhOg8EuOCXl1AUA.png" /></figure><p>After doing these steps successfully, you will see a report that shows you what packages needs to be refactored:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sM-S68WKMofA11Epia1_Xw.png" /></figure><p>Just click on <strong>Do Refactor</strong> and wait for the process to be finished.</p><p>Now try to build your application if everything goes well then you can say that your project migrated successfully to AndroidX, if by any chance the building process failed, you need to change the imported package names manually.</p><blockquote>you can find the list of package names here:<br><a href="https://developer.android.com/jetpack/androidx/migrate">https://developer.android.com/jetpack/androidx/migrate</a></blockquote><p>Hope this article helps you to migrate to AndroidX faster.<br>Thank you for reading my Article.</p><p><strong>Feel free to reach me out:<br>Github: </strong><a href="https://github.com/peymancyb"><strong>https://github.com/peymancyb</strong></a><strong><br>Linkedin: </strong><a href="https://www.linkedin.com/in/peyman-ghazvini-85566410b"><strong>https://www.linkedin.com/in/peyman-ghazvini-85566410b</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=282732179da8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>