Skip to main content
Home

Built and signed on GitHub Actions

A ready to use CI/CD Pipeline for testing configurations with Conftest

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
a year ago (0.1.0)

Module: Conftest

dagger-min-version deno compatibility

A Dagger Module for testing configuration files using Conftest.

🚀 Usage

dagger -m github.com/tsirysndr/daggerverse/conftest call test \
  --src <source> \
  --files <files> \
  --policy [policy] \
  --output [output]
dagger -m github.com/tsirysndr/daggerverse/conftest call \
  dev --src <source> terminal

🧑‍🔬 Example

dagger -m github.com/tsirysndr/daggerverse/conftest call test \
  --src . \
  --files deployment.yaml \
  --policy policy \
  --output-format stdout
dagger call -m github.com/tsirysndr/daggerverse/conftest dev --src . terminal

🧑‍💻 Programmatic usage

import { test } from 'jsr:@fx/conftest';

await test(
  ".", 
  "deployment.yaml", 
  "policy", 
  "stdout"
);
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fx/conftest

Import symbol

import * as conftest from "@fx/conftest";
or

Import directly with a jsr specifier

import * as conftest from "jsr:@fx/conftest";

Add Package

pnpm i jsr:@fx/conftest
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fx/conftest

Import symbol

import * as conftest from "@fx/conftest";

Add Package

yarn add jsr:@fx/conftest
or (using Yarn 4.8 or older)
yarn dlx jsr add @fx/conftest

Import symbol

import * as conftest from "@fx/conftest";

Add Package

npx jsr add @fx/conftest

Import symbol

import * as conftest from "@fx/conftest";

Add Package

bunx jsr add @fx/conftest

Import symbol

import * as conftest from "@fx/conftest";