deploy

Manage Docker-based NiFi and Keycloak environments for end-to-end testing.

4|Updated Sep 5, 2024
One-click install
npx skills add https://github.com/cuioss/nifi-extensions --skill deploy-cuioss
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/cuioss/nifi-extensions/tree/main/.claude/skills/deploy
Command: npx skills add https://github.com/cuioss/nifi-extensions --skill deploy-cuioss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of building, deploying, testing, and managing a NiFi E2E environment using Docker containers, simplifying complex setup and teardown procedures.

Core Features & Use Cases

  • Environment Management: Start, stop, and check the status of NiFi and Keycloak Docker containers.
  • Development Workflow: Rebuild NARs and redeploy NiFi for code changes, ensuring the latest code is tested.
  • Automated Testing: Execute end-to-end Playwright tests against the running NiFi environment.
  • Use Case: As a developer working on NiFi extensions, you can use this Skill to quickly spin up a test environment, deploy your latest changes, run automated tests, and then shut everything down, all with simple commands.

Quick Start

Use the deploy skill to start the NiFi E2E environment.

Frequently Asked Questions about deploy

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

FAQPage Schema
How do I deploy a NiFi and Keycloak Docker environment for E2E testing?▼

You can deploy the NiFi and Keycloak Docker environment for E2E testing by using the deploy skill, which builds, starts, and manages the containers. It provides workflows for initial deployment and status checks to ensure the environment is ready.

What is the best way to run Playwright E2E tests against a running NiFi instance?▼

The best way to run Playwright E2E tests against a running NiFi instance is to use the deploy skill to execute automated testing workflows. It facilitates browser login and provides sandbox credentials for token fetching to validate your environment.

How do I rebuild NiFi NARs and redeploy after making code changes?▼

To rebuild NiFi NARs and redeploy after code changes, use the deploy skill's development workflow. It rebuilds your custom NARs and redeploys NiFi to ensure the latest code changes are tested in the Docker environment.

Does this NiFi E2E environment workflow include troubleshooting for Docker containers?▼

Yes, the NiFi E2E environment workflow includes detailed troubleshooting steps for common issues. It supports stopping, starting, and checking the status of Docker containers to help resolve problems during deployment and testing.

Can I use Keycloak to fetch authentication tokens for NiFi browser login?▼

Yes, you can use Keycloak to fetch authentication tokens for NiFi browser login. The deploy skill facilitates NiFi browser login and provides sandbox credentials to streamline the token fetching process for E2E testing.

Do I need Docker to manage the NiFi end-to-end testing environment?▼

Yes, you need Docker to manage the NiFi end-to-end testing environment. The deploy skill uses Docker-based containers for NiFi and Keycloak to support building, deploying, starting, stopping, and testing the E2E setup.