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 .

Jobs

Job Description
rubocop Runs Rubocop
rails Runs Rails tests
rspec Runs RSpec tests

Programmatic usage

You can also use this pipeline programmatically:

import Client, { connect } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
import { rubocop, rails, rspec } from "https://pkg.fluentci.io/ruby_pipeline@v0.6.5/mod.ts";


function pipeline(src = ".") {
  connect(async (client: Client) => {
    await rubocop(client, src);
    await rails(client, src);
    await rspec(client, src);
  });
}

pipeline();