Ruby Pipeline

fluentci pipeline deno module deno compatibility

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 mod install github.com/fluent-ci-templates/ruby-pipeline@mod

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 "https://pkg.fluentci.io/ruby_pipeline@v0.8.2/mod.ts";

await rubocop();
await rails();
await rspec();