Home / Companies / CircleCI / Blog / July 2020

July 2020 Summaries

6 posts from CircleCI

Filter
Month: Year:
Post Summaries Back to Blog
The tutorial provides a detailed guide on testing and automating Electron.js applications, a popular framework for building desktop apps like Visual Studio Code, Slack, and WhatsApp. It outlines the process of setting up an Electron app using npx and create-electron-app, and then demonstrates how to configure end-to-end testing with Playwright. The tutorial explains how to write a test script that checks for specific elements in the app, such as a header containing "đź’– Hello World!", and discusses automating the testing process using CircleCI. By integrating continuous integration practices, developers can ensure that their Electron.js applications are thoroughly tested, with any issues identified promptly through automated pipelines.
Jul 30, 2020 1,139 words in the original blog post.
Electron.js enables developers to create cross-platform desktop applications using familiar web technologies such as HTML, CSS, and JavaScript. This tutorial provides a step-by-step guide to setting up a continuous integration (CI) pipeline with CircleCI to automate the packaging and distribution of Electron.js desktop applications. By using Electron Forge, developers can easily scaffold an Electron project and configure it to generate distribution builds for different operating systems, including Linux and Debian-based platforms. The tutorial explains how to configure the CI pipeline to automate tasks such as checking out the repository, updating npm, installing dependencies, and storing the build artifacts, ensuring a streamlined process for distributing applications to end users.
Jul 30, 2020 1,074 words in the original blog post.
This tutorial series provides a comprehensive guide to implementing Infrastructure as Code (IaC) with a focus on Terraform and CircleCI for automating deployments. It walks developers through creating Kubernetes clusters, building Docker images, and setting up continuous integration and deployment (CI/CD) pipelines. The article details how to automate Terraform IaC deployments using CircleCI, explaining the configuration of jobs and workflows in the CircleCI .config.yml file and the importance of project-level environment variables for authentication. By automating these processes, developers can enhance the efficiency and reliability of their software development workflows, ensuring consistent execution and gaining real-time feedback. The series encourages hands-on experimentation, promoting a deeper understanding of DevOps tools and practices while providing resources for further learning in Terraform, Google Cloud Platform, and Docker.
Jul 29, 2020 3,223 words in the original blog post.
The text is a detailed guide on utilizing infrastructure as code (IaC) to create, deploy, and manage applications using Docker, Kubernetes, and Terraform. It explains how to build a Docker image for a Node.js application, push it to Docker Hub, and deploy it to a Google Kubernetes Engine (GKE) cluster. The guide emphasizes the role of Dockerfiles and .dockerignore files in managing Docker images and provides a breakdown of various Terraform files, such as providers.tf, variables.tf, main.tf, deployments.tf, services.tf, and output.tf, which are essential for defining and executing Kubernetes deployments. The tutorial includes steps for initializing Terraform, creating GKE clusters, and deploying applications with Terraform, highlighting the importance of Terraform's Kubernetes provider and Kubernetes Deployment resource. Additionally, it covers the use of the terraform plan and terraform apply commands to validate and execute infrastructure changes, and concludes with instructions on how to destroy the resources to avoid unnecessary costs, inviting readers to continue to the next tutorial part to integrate these processes into CI/CD pipelines using CircleCI.
Jul 28, 2020 3,978 words in the original blog post.
The text provides a comprehensive guide on using Infrastructure as Code (IaC) with a focus on HashiCorp's Terraform for provisioning, deploying, and destroying infrastructure resources, specifically for creating a Google Kubernetes Engine (GKE) cluster. It explains the prerequisites for getting started, including necessary accounts and installations, and details the use of Terraform's configuration files—providers.tf, variables.tf, main.tf, and output.tf—to define and manage infrastructure components. The guide demonstrates the initialization and execution of Terraform commands such as `terraform init`, `terraform plan`, `terraform apply`, and `terraform destroy`, emphasizing the importance of managing cloud resources efficiently and the potential costs associated with leaving resources running. The tutorial is part of a series that aims to build a foundational understanding of IaC, with subsequent parts focusing on Docker images and CI/CD automation.
Jul 28, 2020 2,343 words in the original blog post.
The tutorial explores the innovative approach of Svelte, a JavaScript front-end framework that differs from others like React, Vue, and Angular by compiling efficient JavaScript code during the build process rather than using the Virtual DOM for browser updates. This guide details the steps to create an automated continuous deployment (CD) pipeline for deploying a Svelte app to Heroku, integrating with CircleCI for a complete continuous integration and deployment (CI/CD) solution. The process involves setting up a Svelte project using SvelteKit, configuring Heroku with necessary buildpacks, and adapting the SvelteKit app for deployment with the Node adapter. The deployment to Heroku is automated through a CircleCI configuration that uses Git to push updates, requiring a Heroku account, a CircleCI account, and a GitHub account. The tutorial emphasizes the ease of deployment facilitated by CircleCI and provides the complete source code for reference on GitHub, demonstrating the automated deployment pipeline's effectiveness and efficiency.
Jul 22, 2020 1,318 words in the original blog post.