Skip to content

Commit

Permalink
Automated code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 2, 2023
1 parent 2c81764 commit 87045ae
Show file tree
Hide file tree
Showing 19 changed files with 67 additions and 14 deletions.
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-11-nx-monorepos-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ internal-links:
- starting with nx monorepos
- introduction to nx monorepos
- nx monorepos for beginners
excerpt: |
This article introduces Nx, a monorepo build tool, and explains how it can be used to efficiently manage multiple interrelated projects in a single repository. It covers the advantages and disadvantages of using Nx and provides a step-by-step guide on creating and managing a monorepo with Nx.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We simplify and accelerate software building with containerization, especially helpful for managing Nx Monorepos. [Check us out](/).**

Imagine you have a collection of distinct but interrelated projects. For instance, you might have an app with its own [React](https://react.dev/) frontend and [Node.js](https://nodejs.org/en/) backend, or two different [Angular](https://angular.io/) applications sharing a common collection of components. Monorepos offer an effective solution to organize these distinct but interrelated projects into a single repository.

Expand Down Expand Up @@ -423,4 +426,4 @@ Monorepos are becoming the norm for organizing multiple interrelated projects in

In this article, you explored a powerful tool called Nx. You learned about its pros and cons and saw how easy it is to build a monorepo with it. If your projects are predominantly in JavaScript or TypeScript, then you can't go wrong with Nx. If your projects include use of other languages, Nx can still work but you might want to take a look at [Earthly.](https://earthly.dev/)

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
2 changes: 2 additions & 0 deletions blog/_posts/2023-09-12-shutting-down-earthly-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ internal-links:
- earthly ci failed
- learning from failures
- fastest ci failed
excerpt: |
Earthly CI, touted as the fastest CI system, is shutting down due to a lack of market demand and difficulty in convincing users to switch from existing CIs. The company will refocus on Earthly and Earthly Satellites, which offer build consistency and speed without the need for migration.
---

### TLDR
Expand Down
2 changes: 2 additions & 0 deletions blog/_posts/2023-09-13-safely-using-bash-eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ internal-links:
- what is dynamic code evaluation
- power of dynamic code evaluation
- how to use the power of dynamic code evaluation
excerpt: |
This article explains the Bash `eval` command, its usage, risks, and how to safely use it. It also provides real-world examples of vulnerabilities caused by the `eval` command.
---

**We're [Earthly](https://earthly.dev/). We simplify building software with containerization. This article explains how you can safely use the Bash `eval` command. However, if you are curious about getting better build times by combining ideas from Makefile and Dockerfile? [Check us out.](https://earthly.dev/)**
Expand Down
2 changes: 2 additions & 0 deletions blog/_posts/2023-09-19-static-and-dynamic-linking.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ internal-links:
- dynamic linking
- linking functions
- how linking works
excerpt: |
This article explains the concepts of static and dynamic linking in programming. It discusses the differences between the two methods, their advantages and disadvantages, and provides guidance on when to choose each approach.
---

**We're [Earthly](https://earthly.dev/). We simplify building software with containerization. This article explains what Static and Dynamic Linking are. However, if you are curious about getting better build times by combining ideas from Makefile and Dockerfile? [Check us out.](https://earthly.dev/)**
Expand Down
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-20-powerline10k.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ categories:
- Tutorials
toc: true
author: Adam
excerpt: |
Powerlevel10k is a powerful prompt customization tool for ZSH that offers speed, customization, and a helpful configuration wizard. It elevates the terminal experience by providing a personalized and informative workspace for developers.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We make building software simpler and faster using containerization. If you're a Powerline10k user, Earthly can streamline your CI build processes like a breeze. [Check us out](/).**

In the ever-evolving landscape of development tools, the terminal remains a constant companion for every developer. It's not just a black box where commands are executed; it's a personalized workspace that can be as simple or as intricate as you want it to be.

Expand Down Expand Up @@ -121,4 +124,4 @@ Yes, I'm pretty happy with it. Its a bit longer then the ZSH prompt I had before

So, if you're looking to elevate your terminal experience from merely functional to truly delightful, give Powerlevel10k a try. It's more than just a pretty face for your command line. It's a robust tool that streamlines your workflow and keeps you informed, all without slowing you down.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
2 changes: 2 additions & 0 deletions blog/_posts/2023-09-20-terraform-depends-on-argument.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ internal-links:
- terraform `depends_on` to specify dependencies
- specifying dependencies with terraform
- getting started with terraform depends_on
excerpt: |
This tutorial explains how to use the `depends_on` attribute in Terraform to specify resource dependencies. It covers both explicit and implicit dependencies and provides best practices for managing dependencies in Terraform configurations.
---

**We're [Earthly](https://earthly.dev/). We simplify and speed up the software building process using containerization. Earthly can seamlessly work with Terraform to streamline your infra process. [Check it out](/).**
Expand Down
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-22-build-monorepo-with-turporepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ internal-links:
- building your first monorepo
- turborepo
- first monorepo with turborepo
excerpt: |
This tutorial introduces Turborepo, a fast and high-performance build system for JavaScript and TypeScript monorepos. It explains the benefits of using Turborepo, such as fast builds, remote caching, flexible task configuration, and integration with existing package managers, while also highlighting its limitations.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). Got a complex project or a monorepo? We simplify and speed up the building process using containerization. It's perfect for working with tools like Turborepo. [Check us out](/).**

In recent years, monorepos have seen a boom in popularity. Many real-life software projects consist of smaller, individual components that often depend on each other.

Expand Down Expand Up @@ -582,4 +585,4 @@ Turborepo is a young contender in the world of build tools. Its speed and optimi

In this article, you learned the pros and cons of Turborepo and saw how to use Turborepo in a monorepo for building and running tasks. If you have JavaScript or TypeScript projects that you want to speed up, give Turborepo a try! If your projects include the use of other languages, Turborepo won't be a fit, but you might want to take a look at [Earthly](https://earthly.dev/). Earthly can speed up your builds and work with other tools including Turborepo and NX.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
6 changes: 5 additions & 1 deletion blog/_posts/2023-09-24-devops-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ categories:
- Articles
toc: false
author: Adam
excerpt: |
This article provides a humorous and satirical glossary of terms related to DevOps, highlighting the realities and quirks of the field. It offers amusing definitions for terms like DevOps Engineer, Incident, PagerDuty, and more.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We make building software simpler and therefore faster using containerization. It's an open-source tool that's used a lot in DevOps and Continuous Integration. [Check it out](/).**

You've seen them—the pristine glossaries, endorsed by industry titans like the CNCF, with terms that sound like they're straight out of a sci-fi movie. All impressive and idealistic. But we all know that on the ground, where build meets deploy, things aren't always as polished as the glossary makes it seem.

So here's my DevOps glossary in no particular order.
Expand Down Expand Up @@ -39,4 +43,4 @@ So here's my DevOps glossary in no particular order.

So, there it is—a slice of DevOps life that you won't find in standard glossaries. But hey, we've only scratched the surface here. What is missing? Maybe I need to do a part two?

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ internal-links:
- errors workflow commands
- gitHub actions workflow commands
- set-output save-state add-path set-env workflow commands
excerpt: |
This tutorial explains how to resolve deprecation errors in GitHub Actions caused by the `set-output`, `save-state`, `add-path`, and `set-env` workflow commands. It provides step-by-step instructions for fixing the errors and warnings and introduces the use of environment files as an alternative.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We make building software simpler and faster using containerization. Earthly is a handy tool that can simplify your GitHub Actions workflows. [Give it a try](/).**

<div class="wide">
![Disabled and Deprecated Workflow Commands Errors and Warnings]({{site.images}}{{page.slug}}/KyJZvzC.png)
Expand Down Expand Up @@ -540,4 +543,4 @@ For action authors, you have also learned about how to fix the custom action tha

In order to stay updated with the latest changes like deprecation or features introduction on GitHub products generally, you can always visit the [changelog page](https://github.blog/changelog).

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-26-curse-of-knowledge.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ internal-links:
- knowledge in technical writing
- curse in technical writing
- technical writing
excerpt: |
The article discusses the phenomenon of the Curse of Knowledge in technical writing, where authors assume that their audience possesses prior knowledge, leading to ineffective communication. It explores the causes of the curse, its impact on readers, and provides strategies for writers to overcome it and create clear and engaging technical content.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We make building software simpler and therefore faster using containerization. If you're into efficient and reliable CI build tools, you might find Earthly handy. [Check it out](/).**

<div class="align-right">
![]({{site.images}}{{page.slug}}/tFNsGfD.jpg)
Expand Down Expand Up @@ -91,4 +94,4 @@ Now that you know all about the curse of knowledge, here's the best advice I can

If we make a real effort to see things from our readers' perspective, we can beat the curse of knowledge. Just remember to have empathy for your audience, and you'll be explaining things clearly in no time.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-27-npm-workspaces-monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ internal-links:
- utilizing monorepo management
- how to use npm workspaces
- npm workspaces for monorepo management
excerpt: |
This tutorial explores the use of `npm` workspaces for managing monorepos in software development. It covers the benefits and limitations of using `npm` workspaces and provides a step-by-step guide on setting up and implementing them.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We simplify and speed up software builds with containerization. Particularly for npm workspace, monorepo users, Earthly can be a game-changer in managing your build complexities. [Check it out](/).**

In the ever-evolving world of software development, managing complex projects with multiple interconnected components can be a daunting task. However, monorepos provide an efficient organizational strategy by offering a unified repository that houses all related projects in one place.

Expand Down Expand Up @@ -400,4 +403,4 @@ You can find the complete code for this tutorial on [GitHub](https://github.com/

Even though `npm` workspaces are an excellent option for small monorepos, it's not mature enough to use in large, complex monorepos. The lack of defining task dependencies, result caching, and affected mechanism makes it an inferior choice to other tools like Nx or Turborepo when it comes to managing a complex js monorepo with a large number of projects and/or a lot of interdependencies. And if you need to incorporate other languages or backend services, an NPM based solution will be a limitation. For monorepos builds that support NPM and many other tools, take a look at [Earthly](http://earthly.dev). It can help keep your monorepo builds fast as your code base grows.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
2 changes: 2 additions & 0 deletions blog/_posts/2023-09-28-advanced-git-commands-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ internal-links:
- github commands
- advance git commands
- 10 new git commands
excerpt: |
This article discusses ten more advanced Git commands, including git remote, git bisect, git fetch, git checkout, git branch, git reset, git archive, and git help. These commands provide developers with powerful tools for managing remote repositories, finding specific commits, retrieving changes from remote repositories, navigating branches, manipulating commit history, creating archives, and accessing Git documentation.
---

The last [article](https://earthly.dev/blog/advanced-git-commands/) discussed ten advanced Git commands you should know as a developer.
Expand Down
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-28-deployment-strategies-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ internal-links:
- strategies for deployment in kubernetes
- deployment in kubernetes
- how to do deployment in kubernetes
excerpt: |
This article discusses different deployment strategies in Kubernetes, including rolling deployment, blue-green deployment, recreate deployment, and canary deployment. It explains how to implement each strategy and highlights their advantages and disadvantages.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/), bringing faster and simpler software builds using containerization. If you're knee-deep in Kubernetes deployment strategies, you'll appreciate how Earthly can streamline your builds. [Give us a whirl](/).**

Kubernetes is a container orchestration platform that helps you deploy, manage, and scale containerized applications. One of the key features of Kubernetes is its ability to choose between different deployment strategies. With the right strategy you can easily roll out new versions of your application based on business needs and application requirements.

Expand Down Expand Up @@ -532,4 +535,4 @@ The choice of deployment strategy depends on factors like the desired update spe

If you need to minimize downtime and deploy different versions at the same time, then a blue-green deployment or a canary deployment may be a good choice. If you need a simple and easy-to-implement deployment strategy, then a rolling deployment may be a better option.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
5 changes: 4 additions & 1 deletion blog/_posts/2023-09-29-rust-api-rocket-diesel.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ internal-links:
- building apis with the help of rust
- rust rocket and diesel
- apis with rust
excerpt: |
This tutorial explores how to build a CRUD REST API using Rust's Rocket web framework and Diesel ORM. It covers setting up the database, handling POST, GET, PUT, and DELETE requests, and interacting with the database using Diesel.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We simplify and speed up software builds with containerization. If you're into Rust API development, Earthly can be a game changer. [Give us a look](/).**

Rust is a formidable contender in the backend development scene, drawing attention for its unparalleled emphasis on speed, memory safety, and concurrency. Rust's popularity has propelled it to the forefront of high-performance application development, making it an irresistible choice for those seeking performance and security in their codebase.

Expand Down Expand Up @@ -468,4 +471,4 @@ You've learned how to build a CRUD REST API with Rust's Rocket and Diesel librar

You can check out [Rocket](http://rocket.rs) and [Diesel's](http://diesel.rs) documentation to learn more about these libraries for more advanced operations like using WebSockets and defining custom middleware.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
5 changes: 4 additions & 1 deletion blog/_posts/2023-10-02-using-github-actions-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ internal-links:
- using github actions locally
- testing github actions locally
- how does github actions run locally
excerpt: |
This tutorial explains how to test and run GitHub Actions locally using a tool called `act`. It covers the installation of `act`, exploring its features, and discusses the limitations of using `act` for local GitHub Actions development.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We make building software simpler and faster using containerization. If you're into using GitHub Actions, you'll love how Earthly integrates with it, providing an efficient build tool for continuous integration. [Check it out](/).**

[GitHub Actions](https://docs.github.com/en/actions) is GitHub's approach to automating development workflows, enabling you to create, build, test, and deploy software. Additionally, with GitHub Actions, you can build automation around GitHub's offerings, such as triaging GitHub issues and creating GitHub releases.

Expand Down Expand Up @@ -350,4 +353,4 @@ While `act` is a great tool for setting up a local GitHub Actions workflow devel

A different approach to testing GitHub Actions locally is to write your workflow as an [Earthfile](/) that you run inside GitHub Actions. Earthly's Earthfile's can always be run locally due to containerization.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
5 changes: 4 additions & 1 deletion blog/_posts/2023-10-03-github-action-triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ internal-links:
- how to use github action triggers
- github actions triggers
- working with github actions triggers
excerpt: |
GitHub Actions is a powerful CI/CD platform that allows you to automate various tasks in your GitHub repository. This article explores different triggers, such as `create`, `delete`, `deployment`, `issues`, `issue_comment`, `page_build`, `pull_request`, `pull_request_review`, `push`, `registry_package`, `release`, `schedule`, `workflow_call`, and `workflow_dispatch`, and provides examples of how to use them to create automated workflows.
---
<!--sgpt-->**We're [Earthly](https://earthly.dev/). We streamline software building through containerization. Working with GitHub Actions? Earthly can ease your CI workflows. [Give us a look](/).**

[GitHub Actions](https://github.com/features/actions) is a continuous integration, continuous delivery (CI/CD) platform by GitHub that lets you automate, build, test, and deploy software directly in GitHub. A key component of GitHub Actions are triggers—events that start off an automated workflow. Triggers make it easy to execute workflows on demand or in response to an event in your GitHub repository.

Expand Down Expand Up @@ -743,4 +746,4 @@ In this article, you learned all about the different GitHub Actions triggers you

GitHub Actions is a powerful and cost-effective tool for building automation in your repository. It can be used for a wide variety of tasks, from code management and automated testing to project management and external notifications like email and Slack. There are also many actions that offer integrations into numerous external systems, and these actions are available for free on the [GitHub Marketplace](https://github.com/marketplace?type=actions). Give it a try and see how automation can simplify your development and deployment processes.

{% include_html cta/bottom-cta.html %}
{% include_html cta/bottom-cta.html %}
Loading

0 comments on commit 87045ae

Please sign in to comment.