<?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 Ricky on Medium]]></title>
        <description><![CDATA[Stories by Ricky on Medium]]></description>
        <link>https://medium.com/@n.riquelmebareiro?source=rss-e4b67b3d0c37------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*E8pVwzD8mUMJlstv2OJUaw.jpeg</url>
            <title>Stories by Ricky on Medium</title>
            <link>https://medium.com/@n.riquelmebareiro?source=rss-e4b67b3d0c37------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:51:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@n.riquelmebareiro/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[My Journey as a Versatile Developer, Navigating the wide landscape of computer science]]></title>
            <link>https://medium.com/@n.riquelmebareiro/my-journey-as-a-versatile-developer-navigating-the-wide-landscape-of-computer-science-1383866ae4c3?source=rss-e4b67b3d0c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/1383866ae4c3</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[self-development]]></category>
            <category><![CDATA[versatility]]></category>
            <dc:creator><![CDATA[Ricky]]></dc:creator>
            <pubDate>Fri, 15 Sep 2023 08:01:45 GMT</pubDate>
            <atom:updated>2023-09-15T08:01:45.576Z</atom:updated>
            <content:encoded><![CDATA[<p>In the ever-evolving world of software development, I acknowledge the significance of versatility. Throughout my journey, I’ve had the privilege of navigating the intricate realms of frontend, backend, and DevOps with the help of technologies like JavaScript (Typescript), React, NodeJS, Kubernetes, and Terraform. While I may not consider myself a master, I’ve learned to wear multiple hats as a developer. In this article, I’d like to take you through my modest journey, showcasing how these technologies have shaped my career.</p><h3>The Journey Begins: A Multifaceted Skillset</h3><p>I didn’t start as a versatile developer, nor do I claim to have mastered these domains. Like many, I began specializing in one area. However, my desire to learn and adapt has been my driving force.</p><h4>1. Frontend Exploration with React</h4><p>Early in my career, I delved into frontend development, primarily using JavaScript and specifically the React framework. These technologies allowed me to create user-friendly interfaces while learning about the intricacies of frontend design. While my expertise may not be groundbreaking, I’m proud of my commitment to providing pleasant user experiences.</p><h4>2. Backend Adventures</h4><p>The world of backend development opened up to me as I started exploring languages like JavaScript using Node JS coupled with typescript and some other technologies the landscape has to offer. These languages, along with the power of serverless computing, helped me build reliable server-side applications. I’ve enjoyed crafting APIs and specifically create a PaaS platform in my current position, optimising databases, and ensuring data security.</p><h4>3. Embracing DevOps with Kubernetes and Terraform</h4><p>Recognizing the importance of DevOps practices, I humbly began my journey in this domain. Technologies like Kubernetes and Terraform caught my attention as I explored automation and containerization. My role in DevOps, though modest, revolves around ensuring smoother deployments and fostering collaboration between development and operations teams.</p><h3>The Synergy: Why Versatility Matters</h3><p>So, why does versatility matter, and what makes my journey noteworthy, albeit humble?</p><p><strong>Efficiency and Collaboration</strong>: My ability to adapt to different domains has allowed me to contribute effectively in collaborative teams, even though I’m far from a specialist in any one area.<br>Problem Solving: While I may not possess deep expertise, my broad skillset lets me approach problems from various angles, occasionally finding innovative solutions that specialists may overlook.</p><p><strong>Adaptability</strong>: In a rapidly evolving tech landscape, versatility is a virtue. My dedication to ongoing learning keeps me on the path of continuous improvement.</p><p><strong>Growing Together</strong>: In teams, humble versatility can empower others. I aim to understand the big picture and guide my colleagues, even if I don’t have all the answers.</p><p><strong>Conclusion</strong>: Embracing the Versatility</p><p>In the world of software development, it’s essential to acknowledge that there’s always more to learn and master.</p><p>We should all value developers like who continuously seek to expand their horizons. In an era where the demand for interdisciplinary skills is on the rise, I believe that remaining adaptable is a valuable trait.</p><p>Remember that embracing humility and being willing to adapt is what truly makes a difference in our ever-changing digital world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1383866ae4c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuous Integration and Deployment with Github Actions]]></title>
            <link>https://medium.com/@n.riquelmebareiro/continuous-integration-and-deployment-with-github-actions-c5c898d77bf9?source=rss-e4b67b3d0c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5c898d77bf9</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <category><![CDATA[engeneering]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Ricky]]></dc:creator>
            <pubDate>Mon, 29 May 2023 11:32:58 GMT</pubDate>
            <atom:updated>2023-05-29T11:32:58.205Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, we’ll look at how a tool like Github Actions can be used to deploy an application automatically.</p><p>But we’re also going to look at how these two concepts fit into the big picture of integration and deployment.</p><p>To provide a bit of context, we’re going to use a use case to illustrate these concepts. I won’t take the time to explain each of the building blocks because that would take many hours to understand.</p><p>However, we’ll take a closer look at how Github action is integrated into this process.</p><p>We’ll use the following application as a case study</p><p>Let’s say we have an application written in NodeJS, a server that exposes an API (something classic). This application is to be deployed on a Kubernetes-based environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yTjPc83glEZlYnxmR3YyLw.png" /></figure><p>The aim of this story is to add small bricks to this schema, little by little, in order to detail the overall schema of this pipeline.</p><p>What do we need?</p><p>Tests ! Yes, that’s the right answer. The first thing to validate when we deploy an application is to make sure that it starts up and that the regression tests are validated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cWr03zYWlYXKfssbC9zyVg.png" /></figure><p>This is what we call continuous integration. This phase enables our application to ensure (in the majority of cases) that the new functions have not created any new bugs in our application.</p><p>To create this first behaviour in our pipeline, we’re going to create this first workflow file.</p><pre>name: Pull-request #Name of the workflow (displayed in the github interface)<br><br>on: [pull_request] #Trigger event, here this workflow will be run on each Pull-Request<br><br>jobs: #(1)<br>  lint:<br>    name: Lint<br>    runs-on: ubuntu-20.04<br>    steps: #(2)<br>      - uses: actions/checkout@v3<br><br>      - name: Install nodejs version 16<br>        uses: actions/setup-node@v3<br>        with:<br>          node-version: 16<br><br><br>      - name: Lint project #(3)<br>        run: |<br>          npm install -g npm<br>          npm install<br>          npm run lint<br><br>  functional-test:<br>    name: Functional Test<br>    runs-on: ubuntu-20.04<br>    needs: [&quot;lint&quot;]<br>    steps:<br>      - uses: actions/checkout@v3<br><br>      - name: Install nodejs version 16<br>        uses: actions/setup-node@v3<br>        with:<br>          node-version: 16<br><br><br>      - name: Test project<br>        run: |<br>          npm install -g npm<br>          npm install<br>          npm run test:functional</pre><ol><li>jobs : The list of actions to be done in the whole pipeline</li><li>steps : The list of actions to be done in a single job</li><li>lint : The list of actions to be done in a single step is done here.</li></ol><p>Now we have an initial workflow that tests our application when we make a Pull Request.</p><p>Once this has been validated, your functionality has arrived on your development branch — great! 🎉</p><p>We can move on to the next stage:</p><p>Create a new workflow that will be launched when we merge our development branch with our deployment branch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MNJFlGBIKwsM6ww2rfJtLg.png" /></figure><p>If we go back to our diagram, it would look something like this.</p><p>What are the next steps?</p><p>We know that our NodeJS application will be deployed in a containerised environment. We’ll need to create a Dockerfile and publish our image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJVwIFNh3J_9q65bg1HHZA.png" /></figure><pre>name: Master<br><br>on:<br>  push:<br>    branches:<br>      - master<br><br><br>  push_api:<br>    name: Build api<br>    runs-on: ubuntu-20.04<br>    steps:<br>      - uses: actions/checkout@v3<br><br>      - name: Login to registry #(1)<br>        uses: docker/login-action@v1<br>        with:<br>          registry: ${{ secrets.REGISTRY_URL }}<br>          username: ${{ secrets.REGISTRY_USERNAME }}<br>          password: ${{ secrets.REGISTRY_PASSWORD }}<br><br>      - name: Build and push #(2)<br>        uses: docker/build-push-action@v2<br>        with:<br>          build-args: |<br>            NPM_TOKEN=${{ secrets.PACKAGES_TOKEN }}<br>          file: Dockerfile<br>          context: .<br>          push: true<br>          target: ${{ steps.vars.outputs.ref }}<br>          tags: ${{ secrets.REGISTRY_URL }}/namespace/master/myapp:latest</pre><ol><li>Login to registry : This step involves connecting to our registry (<a href="https://hub.docker.com/">https://hub.docker.com/</a>) so that our application can be available in our Kubernetes cluster.</li><li>Build and deploy : We’re using the pre-existing Github action to simplify our work.</li></ol><p>What we have so far is a pipeline which is launched when a Pull Request is made and which runs our series of tests, and a pipeline which is triggered when a merge is made on the Master branch and which builds our image and publishes it to a registry.</p><p>The final stage of our adventure is to take care of deployment.</p><p>We can use the same workflow file that runs on the “master” trigger to complete our full implementation of our deployment pipeline.</p><pre>name: Master<br><br>on:<br>  push:<br>    branches:<br>      - master<br><br><br>  push_api:<br>    name: Build api<br>    runs-on: ubuntu-20.04<br>    steps:<br>      - uses: actions/checkout@v3<br><br>      - name: Login to registry #(1)<br>        uses: docker/login-action@v1<br>        with:<br>          registry: ${{ secrets.REGISTRY_URL }}<br>          username: ${{ secrets.REGISTRY_USERNAME }}<br>          password: ${{ secrets.REGISTRY_PASSWORD }}<br><br>      - name: Build and push #(2)<br>        uses: docker/build-push-action@v2<br>        with:<br>          build-args: |<br>            NPM_TOKEN=${{ secrets.PACKAGES_TOKEN }}<br>          file: Dockerfile<br>          context: .<br>          push: true<br>          target: ${{ steps.vars.outputs.ref }}<br>          tags: ${{ secrets.REGISTRY_URL }}/namespace/master/myapp:latest<br><br>    deploy_api:<br>    name: Deploy api<br>    runs-on: ubuntu-20.04<br>    needs: [push_api]<br>    steps:<br>      - uses: actions/checkout@v3<br><br>      - name: Install kubectl<br>        uses: ./.github/actions/kubectl<br><br>      - name: Install scaleway-cli<br>        uses: ./.github/actions/scaleway-cli<br><br>      - name: Install scaleway-cli<br>        uses: ./.github/actions/connect-to-cluster<br><br>      - name: Deploy new image<br>        run: |<br>          helm upgrade --reuse-values --set image=${{ secrets.REGISTRY_URL }}/namespace/master/myapp:latest app</pre><p>We now have a package consisting of continuous integration and continuous deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oUX1EbQ4AnGw5dBw-kL6KA.png" /></figure><p>a robust pipeline that allows us to take care of our code completely automatically, validating it on a development branch and then merging it with our deployment branch when we want to put our new functions into production.</p><p>It’s with this automation mindset that it’s possible to get away from tedious, error-prone work and create an automated process.</p><p>I hope you found it useful! ☺️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5c898d77bf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a Meteor app to Heroku using Github]]></title>
            <link>https://medium.com/@n.riquelmebareiro/deploy-a-meteor-app-to-heroku-using-github-bfbfa289d7b6?source=rss-e4b67b3d0c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfbfa289d7b6</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[meteor]]></category>
            <dc:creator><![CDATA[Ricky]]></dc:creator>
            <pubDate>Wed, 30 Aug 2017 21:36:04 GMT</pubDate>
            <atom:updated>2017-08-30T21:39:19.044Z</atom:updated>
            <content:encoded><![CDATA[<p>Prerequisite :</p><pre>meteor create myapp</pre><pre>cd myapp &amp;&amp; git init</pre><pre>git remote add origin https://www.github.com/username/repo</pre><pre>git add -A</pre><pre>git commit -am ‘initial commit’</pre><pre>git push origin master </pre><p>1 — Connect to Heroku</p><p>2 — Create a new app</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*UVO9GUn5Phr3RZIX8b0FDg.png" /><figcaption>Create a new app</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G61RQWgWcD0l1p45568Yhw.png" /></figure><p>Once this is done, you should now link your Github account to Heroku.</p><p>3 — Under myApp &gt; deploy tab</p><p>You will find an access to Github Auth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PUyPggDXtKZ4LC4RAPUTQ.png" /></figure><p>Then browse for your Github repo of your application and connect to it.</p><p>Now that our Github account is linked, we can continue our way.</p><p>Meteor himself cannot be host on Heroku, but some crazy people have created an ready to use ISOPACK in order to compile our app everytime we push it to the Heroku platform.</p><p>4 — So in the myApp &gt; Settings tab.</p><p>Click on “Add buildpack” and paste <a href="https://github.com/AdmitHub/meteor-buildpack-horse.git#beta">https://github.com/AdmitHub/meteor-buildpack-horse.git#beta</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wKu1ykX1TtQ9Q_ZG0sk5Jw.png" /><figcaption>Buildpack bro !</figcaption></figure><p>5 — Settings var.</p><p>You’re wondering where we are going ? It’s time to create our MongoDB</p><p>Many providers are available, and i choose <a href="https://mlab.com/">https://mlab.com/</a></p><p>Fast and reliable, we can easily create a new database. Just log on the the website and create a new one. (It’s totaly free under 500MB).</p><p>Then come back on Heroku and under myApp &gt; settings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g07UutIhFVoEhLvKYnJziQ.png" /></figure><p>The MONGO_URL should look like — mongodb://user:<a href="/service/mailto:root@ds141232.mlab.com">dbpassword@&lt;db&gt;.mlab.com</a>:41232/&lt;dbname&gt;</p><p>The ROOT_URL should match the name created by Heroku — <a href="https://ogame-trade.herokuapp.com/">https://&lt;appname&gt;.herokuapp.com</a></p><p>6 — Deploy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yM1xm_V7ob1jQ9tGrlcteA.png" /><figcaption>Deploy your app</figcaption></figure><p>Enjoy 😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfbfa289d7b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>