test-backend

Test the complete Obol stack backend lifecycle on k3d and k3s clusters.

10|1|Updated Mar 19, 2025
One-click install
npx skills add https://github.com/ObolNetwork/obol-stack --skill test-backend-obolnetwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-backend
Source: https://github.com/ObolNetwork/obol-stack/tree/main/.agents/skills/test-backend
Command: npx skills add https://github.com/ObolNetwork/obol-stack --skill test-backend-obolnetwork

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the testing of the Obol stack's backend infrastructure, ensuring its core lifecycle operations function correctly.

Core Features & Use Cases

  • Full Lifecycle Testing: Executes a complete sequence of operations: init, up, verify, down, restart, and purge.
  • Backend Agnostic: Supports testing for both k3d (Docker-based) and k3s (bare-metal) backends.
  • Use Case: Before deploying a new version of the Obol stack, run this Skill to perform a comprehensive integration test, confirming that the backend can be initialized, started, stopped, and cleaned up without errors.

Quick Start

Run a full integration test of the Obol stack backend, testing both k3s and k3d.

Frequently Asked Questions about test-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an integration test for the Obol stack backend lifecycle?

Backend lifecycle testing validates the operational integrity of Kubernetes infrastructure managed by the Obol CLI. It verifies that core sequences like init, up, verify, down, and purge execute correctly without deployment errors.

Can I test both k3d and k3s cluster backends with this process?

Yes, you can test both k3d and k3s cluster backends. This testing process is backend agnostic, validating the operational integrity of both Docker-based k3d and bare-metal k3s infrastructure.

What Kubernetes operations are covered during Obol stack backend verification?

Obol stack backend verification covers the complete lifecycle sequence: initialization, deployment, verification, shutdown, restart, and purging. This validates that the managed Kubernetes infrastructure operates without errors across all states.

When should I perform a full lifecycle test on my Kubernetes backend?

You should perform a full lifecycle test on your Kubernetes backend before deploying a new version of the Obol stack. This confirms the backend can be initialized, started, stopped, and cleaned up without operational failures.

Does the Obol CLI backend testing support purging and restart operations?

Yes, Obol CLI backend testing supports purging and restart operations. The automated test sequence explicitly includes both restart and purge steps to validate complete environment cleanup and recovery.