1.1.0 • Published 4 months ago

ephemeral-test-environment v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
4 months ago

Ephemeral test environments for CI workflows

How to use vCluster, ArgoCD Events and Argo Workflow to manage short-live test ephemeral environments

Project structure:

.
├── argo
│   ├── events
│   └── workflow
├── hello-world-app
└── vcluster
  1. argo folder: All configurations made for
    1. events: Argo Events webhook, trigger (for Argo Workflow), and sensor
    2. workflow: CI/CD pipeline triggered by Argo Events
  2. hello-world-app folder: Go Hello world application that prints a beautiful octopus 🐙 in ASCII code
  3. vcluster folder: All configurations made for creating VCluster where deploy the hello world application

Key highlights from the article include:

  1. vCluster Usage: The article introduces vCluster as a pivotal tool for creating lightweight, ephemeral Kubernetes clusters. It's so interesting how vCluster can be employed to instantiate and manage test environments on-demand, covering the scenarios where temporary clusters are essential for testing purposes.

  2. Argo Events Integration: The article explores the integration of Argo Events, a tool designed for event-driven architecture in Kubernetes. It details how Argo Events can be utilized to trigger and manage events received from the SCM to manage the lifecycle of short-lived test environments. This allows for dynamic and automated responses to changes in the testing and security requirements.

  3. Argo Workflow Implementation: The article delves into the integration of Argo Workflow, a workflow engine for Kubernetes. It provides insights into how Argo Workflow can be configured to orchestrate the deployment, testing, and teardown processes efficiently. The tool enables the final user to define also another kind of process drawing DAGs (https://argoproj.github.io/argo-workflows/walk-through/dag/). This feature supports complex scenarios where there is a requirement to maximize parallelism when running tasks.

1.1.0

4 months ago

1.0.0

5 months ago