Best of CI/CDDecember 2024

  1. 1
    Article
    Avatar of threedotslabsThree Dots Labs·1y

    The Over-Engineering Pendulum

    Balancing the need for high-quality code and fast delivery is crucial for startup engineers. Over-engineering can lead to inefficiencies and delays, especially in early-stage startups. Focus on practical essentials, such as a solid CI/CD pipeline, a great local development environment, and clear guidelines for common tasks. Aim for the middle ground between over-engineering and quick, messy prototypes to maintain productivity and avoid long-term complications.

  2. 2
    Article
    Avatar of communityCommunity Picks·1y

    How do I deploy my Laravel applications using Github Action?

    Deploying Laravel applications can be automated using GitHub Actions to streamline the process. This guide provides step-by-step instructions to set up a GitHub Actions pipeline, including the necessary YAML and bash scripts. It explains the creation of a `.github/workflows` directory, the setup of variables for repository secrets, and the jobs for building, deploying, and cleaning up a decoy branch. The post offers solutions for handling deployments on low-end cPanel servers and emphasizes the importance of resource optimization.

  3. 3
    Video
    Avatar of techworldwithnanaTechWorld with Nana·1y

    Complete DevOps Roadmap 2025 - Master these 4 Levels!

    DevOps is becoming an essential skill in the IT industry, especially with unique integrations of AI impacting various roles. Mastering DevOps involves understanding operating systems, Git for version control, package management tools, containerization tools like Docker, cloud infrastructure basics, Kubernetes for orchestration, and more advanced tools and practices such as Infrastructure as Code, Python scripting, and monitoring with tools like Prometheus. Learning these in the right order is crucial to effectively building and managing end-to-end DevOps processes.

  4. 4
    Article
    Avatar of cerbosCerbos·1y

    Best practices for testing and deploying microservices

    Transitioning from a monolithic architecture to microservices demands strategic foresight and meticulous execution. Effective testing at various levels—unit, contract, integration, and end-to-end—is essential. Strategies like blue-green deployment, canary deployment, rolling updates, and serverless deployment minimize issues and downtime during deployment. Netflix's approach involves stress testing, chaos engineering, and continuous integration and deployment to ensure resilience and fault tolerance.

  5. 5
    Article
    Avatar of itnextITNEXT·1y

    Lighthouse is a chore!

    Regularly measuring and improving website performance and accessibility scores using Lighthouse CI can significantly enhance SEO. Running Lighthouse manually can be inconsistent and time-consuming, but automation via Lighthouse CI CLI and proper GitHub configuration eliminates these hassles. The post walks through setting up a Vuejs project, adding a Lighthouse configuration, and configuring GitHub to run Lighthouse checks on pull requests.

  6. 6
    Video
    Avatar of youtubeYouTube·1y

    DevOps Complete Guide for 2025

    The post provides a comprehensive guide to becoming a DevOps engineer in 2025. It outlines the necessary skills and tools, including knowledge in networking, security, scripting, cloud services, microservices, containerization, and CI/CD pipelines. Additionally, it emphasizes the importance of automation, infrastructure as code, orchestration, and management tools, as well as monitoring and logging practices.

  7. 7
    Video
    Avatar of continuousdeliveryContinuous Delivery·1y

    What TDD Looks Like In A REAL PROJECT (With Code Examples)

    Test-driven development (TDD) is often seen as tricky to implement in real-world projects. The post discusses the advantages of TDD, such as encouraging simpler and more testable code designs, and provides a practical example from an open-source project. It highlights the differences between teaching TDD using simple exercises and applying it to complex, real-world scenarios. The post also covers the use of internal DSLs for acceptance testing and demonstrates some coding practices for effective TDD.

  8. 8
    Article
    Avatar of faunFaun·1y

    5 Ansible Playbooks You Can’t Live Without in Your CI/CD Pipeline!

    Ansible is a key automation tool in CI/CD pipelines for reducing errors and enhancing workflow efficiency. Five essential playbooks recommended for optimal performance include environment provisioning, application deployment, configuration management, continuous monitoring setup, and rollbacks and recovery. These playbooks help ensure consistency, streamline deployments, manage configurations, set up monitoring, and enable reliable rollback mechanisms.

  9. 9
    Article
    Avatar of communityCommunity Picks·1y

    DevOps vs Platform Engineering

    DevOps and Platform Engineering are often confused, but they serve different purposes within software development. DevOps is a philosophy aimed at fostering collaboration between development and operations teams to improve software quality and deployment efficiency. It has evolved into a job role focused on automation and continuous integration/continuous deployment (CI/CD). Platform engineering, on the other hand, revolves around building internal developer platforms to streamline development workflows and enhance developer autonomy. While not a replacement for DevOps, platform engineering is a way to implement its principles effectively.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    Learn Continuous Integration, Delivery, and Deployment with GitHub Actions, Docker, and Google Cloud Run

    Learn how to set up a Continuous Integration (CI), Continuous Delivery (CD), and Continuous Deployment pipeline using GitHub Actions, Docker, and Google Cloud Run. This guide covers the basics of each concept and provides hands-on steps to build and deploy a Node.js project, including setting up automated tests, creating workflows in GitHub Actions, building and pushing Docker images to Docker Hub, and deploying to both a staging and production environment on Google Cloud Run.

  11. 11
    Article
    Avatar of hnHacker News·1y

    pgroll

    pgroll simplifies zero-downtime schema migrations for PostgreSQL by automating data backfills and using PostgreSQL views to support simultaneous old and new schemas. It handles the complex steps of schema changes with its expand-and-contract pattern and integrates seamlessly with development and deployment pipelines. The tool offers enhanced functionality in its cloud version and ensures safe, reversible schema changes with instant rollbacks.

  12. 12
    Article
    Avatar of mlmMachine Learning Mastery·1y

    How to Quickly Deploy Machine Learning Models with Streamlit

    Learn how to deploy a simple machine learning model using Streamlit to predict house prices based on size. The guide walks through generating synthetic data, training a linear regression model, and creating a user interface with Streamlit. It also covers how to deploy the model on Streamlit Cloud, making it accessible via a web app.

  13. 13
    Article
    Avatar of dockerDocker·1y

    What Does Docker Do?

    Docker provides a suite of software development tools that enhance productivity, improve security, and seamlessly integrate with CI/CD pipelines. It automates repetitive tasks, ensures application security through features like Docker Scout, and supports multi-cloud development. Docker's standardized environments and advanced tools facilitate effective team collaboration, streamline workflows, and contribute to faster, more reliable software delivery, ultimately leading to higher business value.

  14. 14
    Article
    Avatar of golangnutsGo Developers·1y

    Go + AWS - The Boring CI/CD setup using Terraform and GitHub actions.

    Exploring traditional deployment methods using EC2, Load Balancers, and Auto Scaling Groups for a cost-effective and controlled CI/CD setup with Terraform and GitHub Actions. Check out the GoAWS repository for implementation details.

  15. 15
    Article
    Avatar of last9Last9·1y

    Docker Compose Logs: An In-Depth Guide for Developers

    Docker Compose logs provide a unified view of logs from all services in a docker-compose.yml file, simplifying troubleshooting and monitoring. Users can view logs with the docker-compose logs command and utilize various options to filter and manage log output. Configuring logging drivers in the docker-compose.yml file allows routing logs to different destinations, and tools like Fluentd, Elasticsearch, and Grafana can be used for centralized logging and analysis. Log management practices such as log rotation and monitoring log volume are crucial for maintaining application performance.

  16. 16
    Article
    Avatar of gitguardianGitGuardian·1y

    How to Handle Secrets in CI

    Learn the importance of securely handling secrets in CI/CD pipelines and explore different methods for managing them. The post covers why storing secrets as plain text is risky and offers two primary solutions: using the CI/CD system's secrets feature and leveraging secret managers with short-lived tokens via OpenID Connect (OIDC). Detailed instructions are given for integrating these practices with GitHub Actions, GitLab CI, and AWS services.

  17. 17
    Article
    Avatar of octopusdeployOctopusDeploy·1y

    Effective DevOps metrics

    The concept of value in software delivery has evolved through different eras, from the heavyweight approach focusing on activities and budgets, to the lightweight era focused on speed, and now the modern era emphasizing outcomes. Effective measurement in DevOps includes tracking metrics like throughput, stability, and reliability within teams, while reporting on user-centric metrics to management. The key is to ensure metrics provide useful feedback without being overemphasized, striking a balance between promoting positive behaviors and avoiding distractions. This approach helps in connecting technical performance with business outcomes for continuous improvement.

  18. 18
    Article
    Avatar of spaceliftSpacelift·1y

    What is DevOps Security? Challenges & Best Practices

    DevOps security integrates security practices into the DevOps workflow to protect code, infrastructure, and deployments. Best practices include securing CI/CD pipelines, managing secrets responsibly, enforcing access control, automating security tasks, and fostering a security-focused organizational culture. Essential practices involve shifting security to the left in the software development lifecycle, leveraging AI tools for security, and maintaining continuous education on security measures. Security should be an organization-wide effort, emphasizing a proactive, integrated approach known as DevSecOps.

  19. 19
    Article
    Avatar of medium_jsMedium·1y

    Who is Mr. DevOps?

    DevOps is a methodology that merges development and operations teams to improve communication and efficiency in software development and delivery. A DevOps engineer requires a blend of technical and interpersonal skills, focusing on automation, continuous integration and deployment, and systems management. The role offers high earning potential, career growth opportunities, and a large community for support and collaboration.

  20. 20
    Article
    Avatar of selfhostedselfhosted·1y

    Go + AWS - The Boring CI/CD setup using Terraform and GitHub actions.

    Explore a traditional method for deploying applications using EC2, Load Balancer, and Auto Scaling Group (ASG) on AWS. This approach, implemented through Terraform and GitHub Actions, provides greater control and cost-effectiveness for open-source SaaS solutions. The post includes a repository and a structured guide for setting up deployments.

  21. 21
    Article
    Avatar of mlmMachine Learning Mastery·1y

    Optimizing Machine Learning Models for Production: A Step-by-Step Guide

    Learn how to optimize machine learning models for production by understanding business problems, preparing and managing data, selecting and training models, optimizing model latency and scalability, and continuously evaluating and monitoring models. Key discussed practices include data quality management, model simplicity, and the use of CI/CD for efficient lifecycle management.

  22. 22
    Article
    Avatar of softwaretestingmagazineSoftware Testing Magazine·1y

    Test Automation Best Practices That You Might Not Be Following in Your Daily Testing Routine

    Effective test automation can boost the quality and reliability of your product. This post emphasizes selecting the right tools based on project requirements, integrating CI/CD pipelines for immediate feedback, and maintaining test scripts through regular review and refactoring. Prioritizing tests to focus on the most critical areas ensures efficiency, and integrating various tools within the CI/CD pipeline can streamline the testing process and minimize errors.

  23. 23
    Article
    Avatar of octopusdeployOctopusDeploy·1y

    Introducing Git triggers

    Git triggers introduce a streamlined way to automate deployments by triggering releases directly from changes in your Git repository. This eliminates the need for explicit CI steps and aligns with GitOps practices, making deployment workflows simpler, faster, and more reliable. Git triggers are compatible with tools like Helm, Kustomize, and Terraform, and offer significant improvements in flexibility, simplicity, and efficiency.

  24. 24
    Article
    Avatar of appsignalAppSignal·1y

    Distributed Phoenix: Deployment and Scaling

    Effective deployment and scaling strategies for Phoenix applications are crucial as they evolve to meet growing demands. Key topics include single-node and multi-node deployment strategies, horizontal scaling with load balancers, and clustering for high availability. Best practices for monitoring telemetry, error tracking, and maintaining distributed systems are also covered, ensuring performant and resilient applications.