Skip to main content

🧩 A ready to use CI/CD Pipeline for Ruby Projects

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
70%
Published
2 months ago

Ruby Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version ci

A ready-to-use CI/CD Pipeline for Ruby projects.

🚀 Usage

Run the following command in your project:

fluentci run ruby_pipeline

Or, if you want to use it as a template:

fluentci init -t ruby

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

🧩 Dagger Module

Use as a Dagger module:

dagger install github.com/fluent-ci-templates/ruby-pipeline@main

Call a function from the module:

dagger -m github.com/fluent-ci-templates/ruby-pipeline@main \
  call rubocop --src .

dagger -m github.com/fluent-ci-templates/ruby-pipeline@main \
  call rails --src .

dagger -m github.com/fluent-ci-templates/ruby-pipeline@main \
  call rspec --src .

✨ Jobs

Job Description
rubocop Runs Rubocop
rails Runs Rails tests
rspec Runs RSpec tests
rails(
  src: Directory | string
): Promise<string>

rspec(
  src: Directory | string
): Promise<string>

rubocop(
  src: Directory | string
): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { rubocop, rails, rspec } from "jsr:@fluentci/ruby";

await rubocop();
await rails();
await rspec();
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @fluentci/ruby

Import symbol

import * as mod from "@fluentci/ruby";

Add Package

npx jsr add @fluentci/ruby

Import symbol

import * as mod from "@fluentci/ruby";

Add Package

yarn dlx jsr add @fluentci/ruby

Import symbol

import * as mod from "@fluentci/ruby";

Add Package

pnpm dlx jsr add @fluentci/ruby

Import symbol

import * as mod from "@fluentci/ruby";

Add Package

bunx jsr add @fluentci/ruby

Import symbol

import * as mod from "@fluentci/ruby";