March 2022 Summaries
9 posts from CircleCI
Filter
Month:
Year:
Post Summaries
Back to Blog
At Lightspeed, the integration of multiple iOS projects and their dependencies necessitated a unified approach to continuous integration (CI), leading to the adoption of CircleCI for its dependability and standardization benefits. Initially, the transition resulted in longer run times compared to their previous in-house Jenkins setup. However, through strategic improvements like increased parallelism, caching, and optimized test plans, the team significantly reduced test run times from 1.5 hours to 30 minutes, despite the complexity of maintaining state across clean instances for iOS testing. These enhancements not only improved speed but also reduced the flakiness and maintenance burdens of their CI workflow, allowing the team to focus on productive tasks without hardware-related interruptions. The changes exemplify how optimizing CI pipelines can streamline development processes and enhance productivity, setting a foundation for future improvements.
Mar 29, 2022
1,401 words in the original blog post.
The text is a tutorial within a series on using k6 for performance testing, specifically focusing on storing k6 test results locally and scheduling load tests using CircleCI's scheduled pipelines feature. It builds on previous tutorials by demonstrating how to persist test outputs in JSON format, which allows for detailed analysis of test metrics, including request timestamps and execution times. The tutorial also guides users on configuring scheduled pipelines in CircleCI to automate test runs during low-traffic periods, optimizing resource usage and ensuring consistent testing at specified times. This approach allows users to efficiently review and compare test data while ensuring load tests are executed without disrupting regular system operations.
Mar 29, 2022
1,306 words in the original blog post.
Scheduling jobs within continuous integration and continuous delivery (CI/CD) pipelines is a crucial aspect of modern software development, allowing teams to automate recurring tasks and optimize workflow efficiency. Scheduled pipelines enable developers to perform tasks like deploying artifacts, running tests, and conducting maintenance activities at designated times rather than merely responding to codebase changes. This flexibility is especially beneficial for actions such as regular security scans, resource refreshing, quality assurance tests, data cleanup, load testing, and sending reports or notifications. By scheduling these tasks, teams can ensure consistent execution, better resource management, enhanced security, and timely updates for stakeholders, all contributing to improved development velocity and application security. Scheduled pipelines complement traditional event-based CI/CD workflows by allowing nonessential or resource-intensive jobs to be queued and executed at the most suitable times, thereby enhancing operational success and reducing the mean time to recovery.
Mar 22, 2022
1,974 words in the original blog post.
The text provides a detailed tutorial on automating the process of generating and sending invoices using Node.js, the Invoice generator API, and CircleCI. The author, a software engineer and technical content creator, explains how repetitive invoicing tasks can be streamlined through automation, allowing more focus on productive work. The tutorial guides users through setting up a Node.js project, configuring dependencies, and utilizing the nodemailer module to send invoices as email attachments via Mailtrap's SMTP services. Additionally, it covers the integration of CircleCI for automating invoice generation and distribution, including setting up scheduled pipelines to trigger these processes at specified intervals. The tutorial emphasizes the benefits of automating invoicing, such as reducing manual workload and maintaining continuous integration and deployment, allowing developers to concentrate more on their core tasks.
Mar 21, 2022
1,566 words in the original blog post.
This tutorial provides a comprehensive guide on automating database backups for a Node.js application using MongoDB, CircleCI, and Heroku, with storage on Microsoft Azure. It outlines the process of setting up a MongoDB database on MongoDB Atlas, deploying a Node.js application on Heroku, and configuring CircleCI pipelines to automate database backups. The tutorial includes steps for creating and storing backups using MongoDB tools and Azure Blob Storage, and it emphasizes the importance of scheduled backups to prevent data loss due to system failures or security breaches. Additionally, it covers the creation and management of scheduled pipelines using CircleCI's API, ensuring regular database backups without manual intervention. The tutorial concludes by highlighting the benefits of automating such tasks to free up developer time and reduce the risk of human error.
Mar 20, 2022
3,537 words in the original blog post.
The tutorial provides a comprehensive guide on automating the testing of an Angular application by utilizing the Angular framework, which is popular for building Single Page Applications (SPAs). The process involves setting up a simple Angular application that retrieves a list of dummy users from a fake RESTful API named JSONPlaceholder, and then implementing a user service to manage communication with the API. It details the steps for creating user interfaces, modifying app components, and styling the application using Bootstrap. Testing is conducted using Karma and Jasmine to ensure that both the UserService and AppComponent function correctly. Finally, the tutorial outlines the setup for automating these tests using CircleCI, including creating a configuration file and linking the project to a GitHub repository for continuous integration. This ensures that tests are run automatically without the need for a full browser interface, using Headless Chrome for efficiency.
Mar 16, 2022
2,011 words in the original blog post.
Developers utilize JavaScript frameworks such as Angular, React, and Vue.js to create various single-page applications, which are structured in modular code chunks for efficient functionality. Once an application is ready for production, it must be compiled and bundled into a single file before being deployed to platforms like Firebase, a Google development platform offering services such as hosting and database management. This tutorial guides users through setting up continuous deployment for an Angular application to Firebase hosting, requiring Node.js, Angular CLI, and accounts with CircleCI, GitHub, and Firebase. It involves cloning a demo Angular project, installing dependencies, creating a Firebase project, and configuring Firebase hosting. The process includes setting up CircleCI to automate testing and deployment, using Firebase tools and authentication credentials to deploy the application. The goal is to establish a CI/CD workflow where changes in the codebase are automatically tested and deployed, ensuring efficient and reliable application updates.
Mar 15, 2022
1,803 words in the original blog post.
CircleCI has announced its acquisition of Ponicode, a Paris-based AI company focused on improving the quality of source code through tasks such as writing tests and analyzing code quality. This acquisition aims to enhance CircleCI's continuous integration and continuous delivery (CI/CD) offerings by integrating Ponicode's AI-driven test writing and scoring capabilities, which help developers prioritize and fill critical gaps in their codebase. The move is intended to relieve developers of time-consuming tasks, allowing them to focus on writing high-quality software more efficiently within their existing development environments. The acquisition also extends CircleCI's global presence to France, as the Ponicode team joins CircleCI. Current Ponicode services will remain available as they are integrated into CircleCI, further supporting the company's mission to accelerate innovation cycles and reduce developer toil.
Mar 08, 2022
575 words in the original blog post.
The text provides a detailed tutorial on setting up and troubleshooting webhooks for CircleCI, focusing on using webhooks for data logging and integrations with third-party systems. It emphasizes the importance of having a reliable process for debugging errors, such as authentication and not found errors, and introduces a sample Node.js API to demonstrate these concepts. The tutorial guides the reader through the setup process, including the use of Hookdeck CLI to create publicly accessible URLs for local development environments, and outlines steps for generating a CircleCI webhook URL, setting up a webhook on CircleCI, and addressing common errors like 500 server errors and 404 not found errors. The text highlights the importance of correct configurations, such as matching API secrets and proper endpoint naming, to ensure successful webhook operations. The tutorial concludes by underscoring the inevitability of errors in application development and the value of knowing how to effectively debug them.
Mar 02, 2022
2,188 words in the original blog post.