Home / Companies / CircleCI / Blog / August 2020

August 2020 Summaries

5 posts from CircleCI

Filter
Month: Year:
Post Summaries Back to Blog
The tutorial discusses optimizing build times on CircleCI by splitting tests based on timing data, specifically for a React.js application using jest-junit. It explains how CircleCI divides tests across multiple nodes using parallelism, allowing each container to run a portion of the tests simultaneously. The process involves configuring Jest to generate JUnit test reports, which CircleCI uses to analyze and distribute test timings evenly. By adjusting the package.json file and utilizing CircleCI's capabilities, developers can achieve more efficient test runs both locally and in CI environments. The tutorial provides step-by-step instructions on setting up this configuration, emphasizing the importance of experimenting with the number of nodes to find the optimal configuration for each test suite.
Aug 31, 2020 1,108 words in the original blog post.
CircleCI has introduced new and updated Salesforce orbs, including the Salesforce Apex orb and an enhanced Salesforce CLI orb, to streamline the development, testing, and deployment of Salesforce applications by developers. The Salesforce Apex orb is designed to significantly reduce the time developers spend learning commands and configuring systems, allowing for automatic deployment of changes, execution of unit tests, and building of version control system (VCS) applications. The updated Salesforce CLI orb offers improved accessibility to common commands, enhancing the developer experience. These advancements are part of a broader effort to support the Salesforce developer community with robust CI/CD solutions, empowering developers to innovate rapidly, scale confidently, and automate their development processes effectively. Prominent figures from CircleCI and Salesforce emphasize the importance of these integrations in advancing cloud computing by providing the necessary tools for developers to focus on valuable tasks.
Aug 11, 2020 369 words in the original blog post.
The article details the integration of CircleCI with Salesforce through new orbs, specifically the Salesforce SFDX CLI orb and the newly introduced Salesforce SFDX Apex orb, which facilitate the automation of building, testing, and deploying Salesforce applications. It provides a step-by-step guide to setting up a continuous integration (CI) pipeline using these tools, starting from enabling a Dev Hub in Salesforce to configuring a project on CircleCI. The process involves creating a self-signed SSL certificate for JWT-based authentication, setting up a connected app, and managing environment variables for secure authentication. The article also explains the use of CircleCI's configuration file to automate tasks, using the ebikes-lwc sample application as a reference, and highlights the benefits of utilizing pre-built Docker images. CircleCI's orbs enable defining and orchestrating jobs within workflows to streamline development workflows, while encouraging developer contributions to the open-source orb projects.
Aug 11, 2020 1,742 words in the original blog post.
Adonis.js, a popular Node.js web framework, is known for its developer-friendly API, scalability, and performance. This tutorial guides users through building a simple API with Adonis.js 5, deploying it to Heroku, and automating the process using CircleCI for continuous deployment. It begins with setting up a local Adonis.js project, configuring a SQLite database for development, and creating a User API with models and controllers. The tutorial then transitions to deploying the API on Heroku using a MySQL database, facilitated by the jawsDB add-on, and configuring it for production environments. Automation is achieved by creating a Heroku Procfile and a CircleCI configuration file, enabling seamless deployment whenever code changes are pushed to GitHub. The detailed guide emphasizes the use of environment variables to manage different configurations for development and production, providing a comprehensive walkthrough for setting up a robust automated deployment pipeline.
Aug 11, 2020 2,548 words in the original blog post.
Vulnerability management is a critical, albeit tedious, aspect of maintaining security compliance in modern technical stacks, involving the continuous process of scanning, prioritizing, and patching software vulnerabilities. CircleCI's journey through FedRAMP certification and SOC 2 Type II compliance revealed the necessity of automating vulnerability management, particularly with their Docker-based infrastructure, where patching entails deploying new images rather than traditional server patches. This shift in responsibility from SREs to development teams necessitated educating both internal teams and auditors unfamiliar with Docker's implications on security practices. Initial steps involved manually assessing vulnerabilities using spreadsheets, which later evolved into an automated ticketing system integrated with CI/CD pipelines, enabling seamless vulnerability patching as part of regular workflows. CircleCI's strategy emphasized feedback loops, collaboration with engineering teams, and automation to streamline processes, despite initial resistance and challenges, ultimately leading to a system where vulnerability management is an ongoing, integrated part of software deployment rather than a disruptive event.
Aug 04, 2020 2,809 words in the original blog post.