diff --git a/docs/tutorial-extras/_category_.json b/docs/cookbook/_category_.json similarity index 100% rename from docs/tutorial-extras/_category_.json rename to docs/cookbook/_category_.json diff --git a/docs/tutorial-extras/build-bun.md b/docs/cookbook/build-bun.md similarity index 100% rename from docs/tutorial-extras/build-bun.md rename to docs/cookbook/build-bun.md diff --git a/docs/tutorial-extras/build-containers.md b/docs/cookbook/build-containers.md similarity index 100% rename from docs/tutorial-extras/build-containers.md rename to docs/cookbook/build-containers.md diff --git a/docs/tutorial-extras/build-deno.md b/docs/cookbook/build-deno.md similarity index 100% rename from docs/tutorial-extras/build-deno.md rename to docs/cookbook/build-deno.md diff --git a/docs/tutorial-extras/build-flutter.md b/docs/cookbook/build-flutter.md similarity index 100% rename from docs/tutorial-extras/build-flutter.md rename to docs/cookbook/build-flutter.md diff --git a/docs/tutorial-extras/build-gleam.md b/docs/cookbook/build-gleam.md similarity index 100% rename from docs/tutorial-extras/build-gleam.md rename to docs/cookbook/build-gleam.md diff --git a/docs/tutorial-extras/build-go.md b/docs/cookbook/build-go.md similarity index 100% rename from docs/tutorial-extras/build-go.md rename to docs/cookbook/build-go.md diff --git a/docs/tutorial-extras/build-java.md b/docs/cookbook/build-java.md similarity index 100% rename from docs/tutorial-extras/build-java.md rename to docs/cookbook/build-java.md diff --git a/docs/tutorial-extras/build-nodejs.md b/docs/cookbook/build-nodejs.md similarity index 100% rename from docs/tutorial-extras/build-nodejs.md rename to docs/cookbook/build-nodejs.md diff --git a/docs/tutorial-extras/build-php.md b/docs/cookbook/build-php.md similarity index 100% rename from docs/tutorial-extras/build-php.md rename to docs/cookbook/build-php.md diff --git a/docs/tutorial-extras/build-rust.md b/docs/cookbook/build-rust.md similarity index 100% rename from docs/tutorial-extras/build-rust.md rename to docs/cookbook/build-rust.md diff --git a/docs/cookbook/build-vm-images-with-packer.md b/docs/cookbook/build-vm-images-with-packer.md new file mode 100644 index 0000000..56955b1 --- /dev/null +++ b/docs/cookbook/build-vm-images-with-packer.md @@ -0,0 +1,25 @@ +--- +sidebar_position: 11 +--- + +# Build VM images with Packer + +[Packer](https://www.packer.io) is an open source tool for creating identical Virtual Machine (VM) images for multiple platforms from a single source configuration. This page explains how to use Packer and FluentCI to create a VM image. + +## Before you begin + +The instructions on this page assume that you are familiar with `Packer`. In addition: + +- Have your source code including the [Packer template](https://www.packer.io/docs/templates) handy. + +## Using the Packer Plugin + +You can use FluentCI to build VM images using the [packer plugin](https://github.com/fluentci-io/packer-plugin), no need to install Packer on your machine, FluentCI will handle everything for you. + +The following command can be used to build VM image with Packer: + +```bash +fluenci run --wasm packer fmt +fluenci run --wasm packer validate +fluenci run --wasm packer build +``` diff --git a/docs/tutorial-extras/build-zig.md b/docs/cookbook/build-zig.md similarity index 97% rename from docs/tutorial-extras/build-zig.md rename to docs/cookbook/build-zig.md index 53622f3..800c957 100644 --- a/docs/tutorial-extras/build-zig.md +++ b/docs/cookbook/build-zig.md @@ -1,5 +1,5 @@ --- -sidebar_position: 11 +sidebar_position: 12 --- # Build and test Zig applications diff --git a/docs/tutorial-extras/deploy-to-cloudflare.md b/docs/cookbook/deploy-to-cloudflare.md similarity index 98% rename from docs/tutorial-extras/deploy-to-cloudflare.md rename to docs/cookbook/deploy-to-cloudflare.md index 027d92a..5bcc809 100644 --- a/docs/tutorial-extras/deploy-to-cloudflare.md +++ b/docs/cookbook/deploy-to-cloudflare.md @@ -1,5 +1,5 @@ --- -sidebar_position: 12 +sidebar_position: 13 --- # Deploy to Cloudflare diff --git a/docs/tutorial-extras/deploy-to-firebase.md b/docs/cookbook/deploy-to-firebase.md similarity index 97% rename from docs/tutorial-extras/deploy-to-firebase.md rename to docs/cookbook/deploy-to-firebase.md index e46d9ed..512d3c0 100644 --- a/docs/tutorial-extras/deploy-to-firebase.md +++ b/docs/cookbook/deploy-to-firebase.md @@ -1,5 +1,5 @@ --- -sidebar_position: 13 +sidebar_position: 14 --- # Deploy to Firebase diff --git a/docs/tutorial-extras/deploy-to-fly.md b/docs/cookbook/deploy-to-fly.md similarity index 97% rename from docs/tutorial-extras/deploy-to-fly.md rename to docs/cookbook/deploy-to-fly.md index 746f086..bdafa91 100644 --- a/docs/tutorial-extras/deploy-to-fly.md +++ b/docs/cookbook/deploy-to-fly.md @@ -1,5 +1,5 @@ --- -sidebar_position: 14 +sidebar_position: 15 --- # Deploy to Fly.io diff --git a/docs/tutorial-extras/deploy-to-heroku.md b/docs/cookbook/deploy-to-heroku.md similarity index 97% rename from docs/tutorial-extras/deploy-to-heroku.md rename to docs/cookbook/deploy-to-heroku.md index cc2c688..0a75be0 100644 --- a/docs/tutorial-extras/deploy-to-heroku.md +++ b/docs/cookbook/deploy-to-heroku.md @@ -1,5 +1,5 @@ --- -sidebar_position: 15 +sidebar_position: 16 --- # Deploy to Heroku diff --git a/docs/tutorial-extras/deploy-to-netlify.md b/docs/cookbook/deploy-to-netlify.md similarity index 97% rename from docs/tutorial-extras/deploy-to-netlify.md rename to docs/cookbook/deploy-to-netlify.md index 4f3ecc9..5e82026 100644 --- a/docs/tutorial-extras/deploy-to-netlify.md +++ b/docs/cookbook/deploy-to-netlify.md @@ -1,5 +1,5 @@ --- -sidebar_position: 16 +sidebar_position: 17 --- # Deploy to Netlify diff --git a/docs/tutorial-extras/deploy-to-railway.md b/docs/cookbook/deploy-to-railway.md similarity index 97% rename from docs/tutorial-extras/deploy-to-railway.md rename to docs/cookbook/deploy-to-railway.md index 6c69f0d..6f8a212 100644 --- a/docs/tutorial-extras/deploy-to-railway.md +++ b/docs/cookbook/deploy-to-railway.md @@ -1,5 +1,5 @@ --- -sidebar_position: 17 +sidebar_position: 18 --- # Deploy to Railway diff --git a/docs/cookbook/deploy-to-shuttle.md b/docs/cookbook/deploy-to-shuttle.md new file mode 100644 index 0000000..b37140d --- /dev/null +++ b/docs/cookbook/deploy-to-shuttle.md @@ -0,0 +1,25 @@ +--- +sidebar_position: 19 +--- + +# Deploy to Shuttle + +This page explains how to deploy applications to Shuttle using FluentCI. + +## Before you begin + +The instructions on this page assume that you are familiar with `Shuttle`. In addition: + +- Have your Shuttle project ready. +- If you don't already have a project to deploy to Shuttle, you can create a default project by [installing and initializing Shuttle](https://docs.shuttle.rs/getting-started/installation). + +## Using the Shuttle Plugin + +You can use FluentCI to deploy applications to Shuttle using the [shuttle plugin](https://github.com/fluent-ci-templates/shuttle-pipeline), no need to install Shuttle CLI on your machine, FluentCI will handle everything for you. + +The following commands can be used to deploy applications to Shuttle: + +```bash +# Deploy to Shuttle, make sure to export SHUTTLE_API_KEY +fluentci run --wasm shuttle deploy +``` diff --git a/docs/cookbook/deploy-to-spin.md b/docs/cookbook/deploy-to-spin.md new file mode 100644 index 0000000..bd64489 --- /dev/null +++ b/docs/cookbook/deploy-to-spin.md @@ -0,0 +1,26 @@ +--- +sidebar_position: 20 +--- + +# Deploy to Fermyon Cloud + +This page explains how to deploy applications to Fermyon CLoud using FluentCI. + +## Before you begin + +The instructions on this page assume that you are familiar with `Fermyon Cloud`. In addition: + +- Have your Spin project ready. +- If you don't already have a project to deploy to Fermyon Cloud, you can create a default project by [installing and initializing Spin](https://developer.fermyon.com/cloud/quickstart). + +## Using the Spin Plugin + +You can use FluentCI to deploy applications to Fermyon Cloud using the [spin plugin](https://github.com/fluent-ci-templates/spin-pipeline), no need to install Spin CLI on your machine, FluentCI will handle everything for you. + +The following commands can be used to deploy applications to Fermyon Cloud: + +```bash +# Deploy to Fermyon Cloud, make sure to export SPIN_AUTH_TOKEN +fluentci run --wasm spin build +fluentci run --wasm spin deploy +``` diff --git a/docs/cookbook/deploy-to-wasmer.md b/docs/cookbook/deploy-to-wasmer.md new file mode 100644 index 0000000..31b6ef9 --- /dev/null +++ b/docs/cookbook/deploy-to-wasmer.md @@ -0,0 +1,26 @@ +--- +sidebar_position: 21 +--- + +# Deploy to Wasmer Edge + +This page explains how to deploy applications to Wasmer Edge using FluentCI. + +## Before you begin + +The instructions on this page assume that you are familiar with `Wasmer`. In addition: + +- Have your Wasmer project ready. +- If you don't already have a project to deploy to Wasmer Edge, you can create a default project by [installing and initializing Wasmer](https://docs.wasmer.io/edge/get-started). + +## Using the Wasmer Plugin + +You can use FluentCI to deploy applications to Wasmer Edge using the [wasmer plugin](https://github.com/fluent-ci-templates/wasmer-pipeline), no need to install Wasmer CLI on your machine, FluentCI will handle everything for you. + +The following commands can be used to deploy applications to Wasmer Edge: + +```bash +fluentci run --wasm wasmer build +# Deploy to Wasmer Edge, make sure to export WASMER_TOKEN +fluentci run --wasm wasmer deploy +``` diff --git a/docs/tutorial-extras/img/docsVersionDropdown.png b/docs/cookbook/img/docsVersionDropdown.png similarity index 100% rename from docs/tutorial-extras/img/docsVersionDropdown.png rename to docs/cookbook/img/docsVersionDropdown.png diff --git a/docs/tutorial-extras/img/localeDropdown.png b/docs/cookbook/img/localeDropdown.png similarity index 100% rename from docs/tutorial-extras/img/localeDropdown.png rename to docs/cookbook/img/localeDropdown.png diff --git a/docs/cookbook/provision-with-pulumi.md b/docs/cookbook/provision-with-pulumi.md new file mode 100644 index 0000000..5e4caa8 --- /dev/null +++ b/docs/cookbook/provision-with-pulumi.md @@ -0,0 +1,29 @@ +--- +sidebar_position: 22 +--- + +# Provision with Pulumi + +This page explains how to provision infrastructure using [Pulumi](https://pulumi.com) with FluentCI. + +Pulumi is an infrastructure-as-code (IaC) tool that lets you provision and manage cloud infrastructure. Pulumi provides plugins called providers that let you interact with cloud providers and other APIs. + +## Before you begin + +The instructions on this page assume that you are familiar with `Pulumi`. In addition: + +- Have your Pulumi project ready. +- If you don't already have a project to provision with Pulumi, you can create a default project by [installing and initializing Pulumi](https://www.pulumi.com/docs/install/). +- Make sure you have a `Pulumi.yaml` file in your project root directory. +- Make sure you have a `Pulumi.dev.yaml` file in your project root directory. + +## Using the Pulumi Plugin + +You can use FluentCI to provision infrastructure using Pulumi with the [pulumi plugin](https://github.com/fluent-ci-templates/pulumi-pipeline) without installing Pulumi CLI on your machine. FluentCI will handle everything for you. + +The following commands can be used to provision infrastructure using Pulumi: + +```bash +fluentci run --wasm pulumi init +fluentci run --wasm pulumi up +``` diff --git a/docs/cookbook/provision-with-terraform.md b/docs/cookbook/provision-with-terraform.md new file mode 100644 index 0000000..0f8a1a9 --- /dev/null +++ b/docs/cookbook/provision-with-terraform.md @@ -0,0 +1,29 @@ +--- +sidebar_position: 23 +--- + +# Provision with Terraform + +This page explains how to provision infrastructure using [Terraform](https://terraform.io) with FluentCI. + +HashiCorp Terraform is an infrastructure-as-code (IaC) tool that lets you provision and manage cloud infrastructure. Terraform provides plugins called providers that let you interact with cloud providers and other APIs. + +## Before you begin + +The instructions on this page assume that you are familiar with `Terraform`. In addition: + +- Have your Terraform project ready. +- If you don't already have a project to provision with Terraform, you can create a default project by [installing and initializing Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli). +- Make sure you have a `main.tf` file in your project root directory. + +## Using the Terraform Plugin + +You can use FluentCI to provision infrastructure using Terraform with the [terraform plugin](https://github.com/fluent-ci-templates/terraform-pipeline) without installing Terraform CLI on your machine. FluentCI will handle everything for you. + +The following commands can be used to provision infrastructure using Terraform: + +```bash +fluentci run --wasm terraform init +fluentci run --wasm terraform plan +fluentci run --wasm terraform apply +``` diff --git a/docs/tutorial-extras/upload-to-codecov.md b/docs/cookbook/upload-to-codecov.md similarity index 97% rename from docs/tutorial-extras/upload-to-codecov.md rename to docs/cookbook/upload-to-codecov.md index f6777f7..1c8008d 100644 --- a/docs/tutorial-extras/upload-to-codecov.md +++ b/docs/cookbook/upload-to-codecov.md @@ -1,5 +1,5 @@ --- -sidebar_position: 18 +sidebar_position: 24 --- # Upload Coverage to Codecov diff --git a/docs/tutorial-extras/upload-to-github-releases.md b/docs/cookbook/upload-to-github-releases.md similarity index 97% rename from docs/tutorial-extras/upload-to-github-releases.md rename to docs/cookbook/upload-to-github-releases.md index 3380702..a1f6645 100644 --- a/docs/tutorial-extras/upload-to-github-releases.md +++ b/docs/cookbook/upload-to-github-releases.md @@ -1,5 +1,5 @@ --- -sidebar_position: 19 +sidebar_position: 25 --- # Upload assets to GitHub diff --git a/docs/tutorial-extras/upload-to-gitlab.md b/docs/cookbook/upload-to-gitlab.md similarity index 97% rename from docs/tutorial-extras/upload-to-gitlab.md rename to docs/cookbook/upload-to-gitlab.md index b86bd5e..d830331 100644 --- a/docs/tutorial-extras/upload-to-gitlab.md +++ b/docs/cookbook/upload-to-gitlab.md @@ -1,5 +1,5 @@ --- -sidebar_position: 20 +sidebar_position: 26 --- # Upload assets to GitLab Releases diff --git a/docs/tutorial-extras/upload-to-r2.md b/docs/cookbook/upload-to-r2.md similarity index 97% rename from docs/tutorial-extras/upload-to-r2.md rename to docs/cookbook/upload-to-r2.md index e21ea72..a8e52ed 100644 --- a/docs/tutorial-extras/upload-to-r2.md +++ b/docs/cookbook/upload-to-r2.md @@ -1,5 +1,5 @@ --- -sidebar_position: 21 +sidebar_position: 27 --- # Upload files to Cloudflare R2 diff --git a/docs/tutorial-extras/upload-to-s3.md b/docs/cookbook/upload-to-s3.md similarity index 97% rename from docs/tutorial-extras/upload-to-s3.md rename to docs/cookbook/upload-to-s3.md index 83c4324..21ecb66 100644 --- a/docs/tutorial-extras/upload-to-s3.md +++ b/docs/cookbook/upload-to-s3.md @@ -1,5 +1,5 @@ --- -sidebar_position: 22 +sidebar_position: 28 --- # Upload files to AWS S3 diff --git a/docs/examples/_category_.json b/docs/examples/_category_.json index 22b1867..b152b9b 100644 --- a/docs/examples/_category_.json +++ b/docs/examples/_category_.json @@ -1,6 +1,6 @@ { "label": "Examples", - "position": 5, + "position": 6, "link": { "type": "generated-index" } diff --git a/docs/examples/deploy/chromatic.md b/docs/examples/deploy/chromatic.md index 16ce1b6..2545498 100644 --- a/docs/examples/deploy/chromatic.md +++ b/docs/examples/deploy/chromatic.md @@ -28,7 +28,7 @@ fluentci run chromatic_pipeline publish You can also use this pipeline programmatically: ```typescript -import { publish } from "https://pkg.fluentci.io/chromatic_pipeline@v0.6.0/mod.ts"; +import { publish } from "jsr:@fluentci/chromatic"; await publish(); ``` diff --git a/docs/examples/deploy/cloudflare.md b/docs/examples/deploy/cloudflare.md index 4b67e30..5380a46 100644 --- a/docs/examples/deploy/cloudflare.md +++ b/docs/examples/deploy/cloudflare.md @@ -28,7 +28,7 @@ fluentci run cloudflare_pipeline deploy You can also use this pipeline programmatically: ```typescript -import { deploy } from "https://pkg.fluentci.io/cloudflare_pipeline@v0.6.0/mod.ts"; +import { deploy } from from "jsr:@fluentci/chromatic"; await deploy(); diff --git a/docs/examples/deploy/deno.md b/docs/examples/deploy/deno.md index f5ec236..cee7208 100644 --- a/docs/examples/deploy/deno.md +++ b/docs/examples/deploy/deno.md @@ -24,7 +24,7 @@ fluentci run deno_pipeline deploy You can also use this pipeline programmatically: ```ts -import { fmt, lint, test } from "https://deno.land/x/deno_pipeline/mod.ts"; +import { fmt, lint, test } from "jsr:@fluentci/deno"; await fmt(); await lint(); diff --git a/docs/examples/deploy/fly.md b/docs/examples/deploy/fly.md index df86ef4..67a7485 100644 --- a/docs/examples/deploy/fly.md +++ b/docs/examples/deploy/fly.md @@ -27,7 +27,7 @@ fluentci run fly_pipeline deploy You can also use this pipeline programmatically: ```typescript -import { deploy } from "https://pkg.fluentci.io/fly_pipeline@v0.5.1/mod.ts"; +import { deploy } from "jsr:@fluentci/fly"; await deploy(); ``` diff --git a/docs/examples/deploy/heroku.md b/docs/examples/deploy/heroku.md index c6aaf51..da56241 100644 --- a/docs/examples/deploy/heroku.md +++ b/docs/examples/deploy/heroku.md @@ -28,7 +28,7 @@ fluentci run heroku_pipeline deploy You can also use this pipeline programmatically: ```typescript -import { deploy } from "https://pkg.fluentci.io/heroku_pipeline@v0.6.0/mod.ts"; +import { deploy } from "jsr:@fluentci/heroku"; await deploy(); ``` diff --git a/docs/examples/deploy/netlify.md b/docs/examples/deploy/netlify.md index f68c92f..eb51157 100644 --- a/docs/examples/deploy/netlify.md +++ b/docs/examples/deploy/netlify.md @@ -29,7 +29,7 @@ fluentci run netlify_pipeline deploy You can also use this pipeline programmatically: ```typescript -import { build, deploy } from "https://pkg.fluentci.io/netlify_pipeline@v0.6.0/mod.ts"; +import { build, deploy } from "jsr:@fluentci/netlify"; await build(); await deploy(); diff --git a/docs/examples/deploy/railway.md b/docs/examples/deploy/railway.md index ef0181a..31ffbd1 100644 --- a/docs/examples/deploy/railway.md +++ b/docs/examples/deploy/railway.md @@ -27,7 +27,7 @@ fluentci run railway_pipeline deploy You can also use this pipeline programmatically: ```typescript -import { deploy } from "https://pkg.fluentci.io/railway_pipeline@v0.6.0/mod.ts"; +import { deploy } from "jsr:@fluentci/railway"; await deploy(); ``` \ No newline at end of file diff --git a/docs/examples/deploy/shuttle.md b/docs/examples/deploy/shuttle.md index fbc8dfa..d80769e 100644 --- a/docs/examples/deploy/shuttle.md +++ b/docs/examples/deploy/shuttle.md @@ -26,7 +26,7 @@ fluentci run shuttle_pipeline deploy You can also use this pipeline programmatically: ```typescript -import { deploy } from "https://pkg.fluentci.io/shuttle_pipeline@v0.6.0/mod.ts"; +import { deploy } from "jsr:@fluentci/shuttle"; await deploy(); ``` \ No newline at end of file diff --git a/docs/examples/deploy/spin.md b/docs/examples/deploy/spin.md index 8d525d5..9a8606e 100644 --- a/docs/examples/deploy/spin.md +++ b/docs/examples/deploy/spin.md @@ -28,7 +28,7 @@ fluentci run spin_pipeline build deploy You can also use this pipeline programmatically: ```typescript -import { build, deploy } from "https://pkg.fluentci.io/spin_pipeline@v0.6.0/mod.ts"; +import { build, deploy } from "jsr:@fluentci/spin"; await build(); await deploy(); diff --git a/docs/examples/languages/bun.md b/docs/examples/languages/bun.md index f9aad57..f4e26af 100644 --- a/docs/examples/languages/bun.md +++ b/docs/examples/languages/bun.md @@ -43,7 +43,7 @@ fluentci You can also use this pipeline programmatically: ```ts -import { test } from "https://pkg.fluentci.io/bun_pipeline@v0.3.0/mod.ts"; +import { test } from "jsr:@fluentci/bun"; await test(); ``` diff --git a/docs/examples/languages/clojure.md b/docs/examples/languages/clojure.md index f84bfea..2c0d849 100644 --- a/docs/examples/languages/clojure.md +++ b/docs/examples/languages/clojure.md @@ -38,7 +38,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { test, uberjar } from "https://pkg.fluentci.io/clojure_pipeline@v0.4.0/mod.ts"; +import { test, uberjar } from "jsr:@fluentci/clojure"; await test(); await uberjar(); diff --git a/docs/examples/languages/deno.md b/docs/examples/languages/deno.md index 270c901..bf05bf5 100644 --- a/docs/examples/languages/deno.md +++ b/docs/examples/languages/deno.md @@ -50,7 +50,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { fmt, lint, test } from "https://deno.land/x/deno_pipeline/mod.ts"; +import { fmt, lint, test } from from "jsr:@fluentci/deno"; await fmt(); await lint(); diff --git a/docs/examples/languages/elixir.md b/docs/examples/languages/elixir.md index 0fe14f6..3d5c522 100644 --- a/docs/examples/languages/elixir.md +++ b/docs/examples/languages/elixir.md @@ -37,7 +37,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { test } from "https://pkg.fluentci.io/elixir_pipeline@v0.6.0/mod.ts"; +import { test } from "jsr:@fluentci/elixir"; await test(); ``` diff --git a/docs/examples/languages/gleam.md b/docs/examples/languages/gleam.md index 4c622dc..6da3cb0 100644 --- a/docs/examples/languages/gleam.md +++ b/docs/examples/languages/gleam.md @@ -47,7 +47,7 @@ fluentci You can also use this pipeline programmatically: ```ts -import { check, format, test, build } from "https://pkg.fluentci.io/gleam_pipeline@v0.4.0/mod.ts"; +import { check, format, test, build } from "jsr:@fluentci/gleam"; await check(); await format(); diff --git a/docs/examples/languages/go.md b/docs/examples/languages/go.md index a03aa19..7fbeb81 100644 --- a/docs/examples/languages/go.md +++ b/docs/examples/languages/go.md @@ -39,7 +39,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { fmt, test, build } from "https://pkg.fluentci.io/go_pipeline@v0.6.0/mod.ts"; +import { fmt, test, build } from "jsr:@fluentci/go"; await fmt(); await test(); diff --git a/docs/examples/languages/node.md b/docs/examples/languages/node.md index 68ce3d2..0033510 100644 --- a/docs/examples/languages/node.md +++ b/docs/examples/languages/node.md @@ -51,7 +51,7 @@ fluentci You can also use this pipeline programmatically: ```ts -import { test, build } from "https://pkg.fluentci.io/nodejs_pipeline@v0.4.0/mod.ts"; +import { test, build } from "jsr:@fluentci/nodejs"; await test(); await build(); diff --git a/docs/examples/languages/php.md b/docs/examples/languages/php.md index b1ef634..89d3c20 100644 --- a/docs/examples/languages/php.md +++ b/docs/examples/languages/php.md @@ -53,7 +53,7 @@ fluentci You can also use this pipeline programmatically: ```ts -import { test } from "https://pkg.fluentci.io/php_pipeline@v0.4.0/mod.ts"; +import { test } from "jsr:@fluentci/php"; await test(); ``` diff --git a/docs/examples/languages/python.md b/docs/examples/languages/python.md index 230d3a8..f6bb432 100644 --- a/docs/examples/languages/python.md +++ b/docs/examples/languages/python.md @@ -50,7 +50,7 @@ fluentci You can also use this pipeline programmatically: ```ts -import { test } from "https://pkg.fluentci.io/python_pipeline@v0.4.0/mod.ts"; +import { test } from "jsr:@fluentci/python"; await test(); ``` diff --git a/docs/examples/languages/ruby.md b/docs/examples/languages/ruby.md index 7ba7e6c..4f8dec2 100644 --- a/docs/examples/languages/ruby.md +++ b/docs/examples/languages/ruby.md @@ -46,7 +46,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { rubocop, rails, rspec } from "https://pkg.fluentci.io/ruby_pipeline@v0.7.0/mod.ts"; +import { rubocop, rails, rspec } from "jsr:@fluentci/ruby"; await rubocop(); await rails(); diff --git a/docs/examples/languages/rust.md b/docs/examples/languages/rust.md index a5380e7..d633837 100644 --- a/docs/examples/languages/rust.md +++ b/docs/examples/languages/rust.md @@ -39,7 +39,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { build, test } from "https://pkg.fluentci.io/rust_pipeline@v0.6.0/mod.ts"; +import { build, test } from "jsr:@fluentci/rust"; await test(); await build(); diff --git a/docs/examples/languages/zig.md b/docs/examples/languages/zig.md index 5f470b0..11eea49 100644 --- a/docs/examples/languages/zig.md +++ b/docs/examples/languages/zig.md @@ -43,7 +43,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { test, build } from "https://pkg.fluentci.io/zig_pipeline@v0.3.0/mod.ts"; +import { test, build } from "jsr:@fluentci/zig"; await test(); await build(); diff --git a/docs/examples/mobile/android.md b/docs/examples/mobile/android.md index 2798b1c..8443061 100644 --- a/docs/examples/mobile/android.md +++ b/docs/examples/mobile/android.md @@ -42,7 +42,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { lintDebug, assembleDebug, debugTests } from "https://pkg.fluentci.io/android_pipeline@v0.7.0/mod.ts"; +import { lintDebug, assembleDebug, debugTests } from "jsr:@fluentci/android"; await lintDebug(); diff --git a/docs/examples/mobile/fastlane.md b/docs/examples/mobile/fastlane.md index 5f97dd2..1cd5f67 100644 --- a/docs/examples/mobile/fastlane.md +++ b/docs/examples/mobile/fastlane.md @@ -37,7 +37,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import { execLane } from "https://pkg.fluentci.io/fastlane_pipeline@v0.7.0/mod.ts"; +import { execLane } from "jsr:@fluentci/fastlane"; await execLane("buildRelease"); ``` diff --git a/docs/examples/mobile/flutter.md b/docs/examples/mobile/flutter.md index ae21d2e..ec8f512 100644 --- a/docs/examples/mobile/flutter.md +++ b/docs/examples/mobile/flutter.md @@ -52,8 +52,7 @@ fluentci You can also use this pipeline programmatically: ```ts -import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts"; -import { codeQuality, test, build } from "https://pkg.fluentci.io/flutter_pipeline@v0.5.0/mod.ts"; +import { codeQuality, test, build } from "jsr:@fluentci/flutter"; await codeQuality(); await test(); diff --git a/docs/examples/stacks/django.md b/docs/examples/stacks/django.md index 562d3e4..1218a49 100644 --- a/docs/examples/stacks/django.md +++ b/docs/examples/stacks/django.md @@ -38,14 +38,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts"; -import { djangoTests } from "https://pkg.fluentci.io/django_pipeline@v0.5.0/mod.ts"; +import { djangoTests } from "jsr:@fluentci/django"; -function pipeline(src = ".") { - connect(async (client: Client) => { - await djangoTests(); - }); -} - -pipeline(); +await djangoTests(); ``` diff --git a/docs/examples/stacks/laravel.md b/docs/examples/stacks/laravel.md index a26ea98..1d28629 100644 --- a/docs/examples/stacks/laravel.md +++ b/docs/examples/stacks/laravel.md @@ -46,14 +46,7 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts"; -import { test } from "https://pkg.fluentci.io/laravel_pipeline@v0.5.0/mod.ts"; +import { test } from "jsr:@fluentci/laravel"; -function pipeline(src = ".") { - connect(async (client: Client) => { - await test(); - }); -} - -pipeline(); +await test(); ``` \ No newline at end of file diff --git a/docs/examples/stacks/spin.md b/docs/examples/stacks/spin.md index 1d9c9d4..82d9cc5 100644 --- a/docs/examples/stacks/spin.md +++ b/docs/examples/stacks/spin.md @@ -46,15 +46,8 @@ fluentci run . You can also use this pipeline programmatically: ```typescript -import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts"; -import { build, deploy } from "https://pkg.fluentci.io/spin_pipeline@v0.5.0/mod.ts"; +import { build, deploy } from "jsr:@fluentci/spin"; -function pipeline(src = ".") { - connect(async (client: Client) => { - await build(); - await deploy(); - }); -} - -pipeline(); +await build(); +await deploy(); ``` \ No newline at end of file diff --git a/docs/examples/stacks/symfony.md b/docs/examples/stacks/symfony.md index aef2932..d47da1e 100644 --- a/docs/examples/stacks/symfony.md +++ b/docs/examples/stacks/symfony.md @@ -45,7 +45,6 @@ fluentci run . You can also use this pipeline programmatically: ```ts -import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts"; import { phpcs, phpstan, @@ -55,20 +54,15 @@ import { doctrineLint, containerLint, phpUnit, - } from "https://pkg.fluentci.io/symfony_pipeline@v0.5.1/mod.ts"; - -function pipeline(src = ".") { - connect(async (client: Client) => { - await phpcs(); - await phpstan(); - await twigLint(); - await xliffLint(); - await yamlLint(); - await doctrineLint(); - await containerLint(); - await phpUnit(); - }); -} - -pipeline(); -``` \ No newline at end of file + } from "jsr:@fluentci/symfony"; + +await phpcs(); +await phpstan(); +await twigLint(); +await xliffLint(); +await yamlLint(); +await doctrineLint(); +await containerLint(); +await phpUnit(); + +``` diff --git a/docs/fluentci-studio/_category_.json b/docs/fluentci-studio/_category_.json index a839a38..e8d28d9 100644 --- a/docs/fluentci-studio/_category_.json +++ b/docs/fluentci-studio/_category_.json @@ -1,6 +1,6 @@ { "label": "FluentCI Studio", - "position": 3, + "position": 4, "link": { "type": "generated-index" } diff --git a/docs/integrations/_category_.json b/docs/integrations/_category_.json new file mode 100644 index 0000000..b58a19a --- /dev/null +++ b/docs/integrations/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Integrations", + "position": 3, + "link": { + "type": "generated-index" + } +} \ No newline at end of file diff --git a/docs/integrations/aws-codepipeline.md b/docs/integrations/aws-codepipeline.md new file mode 100644 index 0000000..613dc9c --- /dev/null +++ b/docs/integrations/aws-codepipeline.md @@ -0,0 +1,22 @@ +--- +sidebar_position: 1 +title: AWS CodePipeline +--- + +The following code snippet shows how to integrate FluentCI with AWS CodePipeline. + +```yaml +version: 0.2 +phases: + install: + commands: + - curl -fsSL https://cli.fluentci.io | bash + - fluentci --version + build: + commands: + - fluentci run --wasm go test + - fluentci run --wasm go build -buildvcs=false + post_build: + commands: + - echo Build completed on `date` +``` diff --git a/docs/integrations/azure-pipelines.md b/docs/integrations/azure-pipelines.md new file mode 100644 index 0000000..78be070 --- /dev/null +++ b/docs/integrations/azure-pipelines.md @@ -0,0 +1,23 @@ +--- +sidebar_position: 2 +title: Azure Pipelines +--- + +The following code snippet shows how to integrate FluentCI with Azure Pipelines. + +```yaml +trigger: + - main +pool: + vmImage: ubuntu-latest +steps: + - script: | + curl -fsSL https://cli.fluentci.io | bash + fluentci --version + echo "##vso[task.prependpath]${HOME}/.deno/bin + displayName: Setup FluentCI + - script: fluentci run --wasm go test + displayName: tests + - script: fluentci run --wasm go build -buildvcs=false + displayName: build +``` \ No newline at end of file diff --git a/docs/integrations/circleci.md b/docs/integrations/circleci.md new file mode 100644 index 0000000..c9c14f6 --- /dev/null +++ b/docs/integrations/circleci.md @@ -0,0 +1,30 @@ +--- +sidebar_position: 3 +title: CircleCI +--- + + +The following code snippet shows how to integrate FluentCI with CircleCI. + +```yaml +version: 2.1 +jobs: + job: + steps: + - checkout + - run: | + sudo apt-get update && sudo apt-get install -y curl unzip + curl -fsSL https://cli.fluentci.io | bash + fluentci --version + name: Setup FluentCI + - run: fluentci run --wasm go test + name: tests + - run: fluentci run --wasm go build -buildvcs=false + name: build + machine: + image: ubuntu-2004:2023.07.1 +workflows: + fluentci: + jobs: + - job +``` \ No newline at end of file diff --git a/docs/integrations/github-actions.md b/docs/integrations/github-actions.md new file mode 100644 index 0000000..39a0503 --- /dev/null +++ b/docs/integrations/github-actions.md @@ -0,0 +1,26 @@ +--- +sidebar_position: 4 +title: Github Actions +--- + + +The following code snippet shows how to integrate FluentCI with Github Actions. + +```yaml +name: ci +on: + push: + branches: + - main +jobs: + tasks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Fluent CI + uses: fluentci-io/setup-fluentci@v5 + - name: tests + run: fluentci run --wasm go test + - name: build + run: fluentci run --wasm go build -buildvcs=false +``` \ No newline at end of file diff --git a/docs/integrations/gitlabci.md b/docs/integrations/gitlabci.md new file mode 100644 index 0000000..79567dc --- /dev/null +++ b/docs/integrations/gitlabci.md @@ -0,0 +1,42 @@ +--- +sidebar_position: 5 +title: GitlabCI +--- + +The following code snippet shows how to integrate FluentCI with GitlabCI. + +```yaml +.docker: + image: denoland/deno:debian-1.42.4 + services: + - docker:${DOCKER_VERSION}-dind + variables: + DOCKER_HOST: tcp://docker:2376 + DOCKER_TLS_VERIFY: "1" + DOCKER_TLS_CERTDIR: /certs + DOCKER_CERT_PATH: /certs/client + DOCKER_DRIVER: overlay2 + DOCKER_VERSION: 20.10.16 + GITLAB_ACCESS_TOKEN: $GITLAB_ACCESS_TOKEN + +.fluentci: + extends: .docker + before_script: + - apt-get update + - apt-get install -y curl tar gzip ca-certificates openssl git unzip libncursesw6 + - deno install -A -r https://cli.fluentci.io -n fluentci + - fluentci --version + - curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.11.0 sh + - mv bin/dagger /usr/local/bin + - dagger version + +tests: + extends: .fluentci + script: + - fluentci run --wasm go test + +build: + extends: .fluentci + script: + - fluentci run --wasm go build -buildvcs=false +``` \ No newline at end of file diff --git a/docs/reference/_category_.json b/docs/reference/_category_.json index 02930e0..b84ec74 100644 --- a/docs/reference/_category_.json +++ b/docs/reference/_category_.json @@ -1,6 +1,6 @@ { "label": "Reference", - "position": 4, + "position": 5, "link": { "type": "generated-index" } diff --git a/docs/reference/fluentci-community.md b/docs/reference/fluentci-community.md new file mode 100644 index 0000000..a3393f6 --- /dev/null +++ b/docs/reference/fluentci-community.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 3 +title: fluentci community +--- + +Join our community Discord to chat with us + +```bash +fluentci community +``` \ No newline at end of file diff --git a/docs/reference/fluentci-docs.md b/docs/reference/fluentci-docs.md index 94c3b36..d072057 100644 --- a/docs/reference/fluentci-docs.md +++ b/docs/reference/fluentci-docs.md @@ -1,5 +1,5 @@ --- -sidebar_position: 3 +sidebar_position: 4 title: fluentci docs --- diff --git a/docs/reference/fluentci-doctor.md b/docs/reference/fluentci-doctor.md index 28006e9..300c6ac 100644 --- a/docs/reference/fluentci-doctor.md +++ b/docs/reference/fluentci-doctor.md @@ -1,5 +1,5 @@ --- -sidebar_position: 4 +sidebar_position: 5 title: fluentci doctor --- diff --git a/docs/reference/fluentci-down.md b/docs/reference/fluentci-down.md new file mode 100644 index 0000000..e088b55 --- /dev/null +++ b/docs/reference/fluentci-down.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 6 +title: fluentci down +--- + +Stop All FluentCI services. + +```bash +fluentci down +``` \ No newline at end of file diff --git a/docs/reference/fluentci-echo.md b/docs/reference/fluentci-echo.md new file mode 100644 index 0000000..de0395a --- /dev/null +++ b/docs/reference/fluentci-echo.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 7 +title: fluentci echo +--- + +Stream logs from a FluentCI service. + +```bash +fluentci echo +``` \ No newline at end of file diff --git a/docs/reference/fluentci-init.md b/docs/reference/fluentci-init.md index e81ca92..b0e1656 100644 --- a/docs/reference/fluentci-init.md +++ b/docs/reference/fluentci-init.md @@ -1,5 +1,5 @@ --- -sidebar_position: 5 +sidebar_position: 8 title: fluentci init --- @@ -15,6 +15,8 @@ fluentci init [pipeline] [options] | ------ | ----------- | | `--help`, `-h` | help for init | | `--template`, `-t` | The name of the pipeline template to use. | +| `--standalone`, `-s` | Initialize pipeline as a standalone project, so it can be published and reused in other projects. | +| `--wasm`, `-w` | Initialize pipeline as a WebAssembly plugin. | ### List of pre-built pipelines diff --git a/docs/reference/fluentci-login.md b/docs/reference/fluentci-login.md index 605aad2..e42e353 100644 --- a/docs/reference/fluentci-login.md +++ b/docs/reference/fluentci-login.md @@ -1,5 +1,5 @@ --- -sidebar_position: 6 +sidebar_position: 9 title: fluentci login --- diff --git a/docs/reference/fluentci-ls.md b/docs/reference/fluentci-ls.md index c498ad1..ddcfc99 100644 --- a/docs/reference/fluentci-ls.md +++ b/docs/reference/fluentci-ls.md @@ -1,5 +1,5 @@ --- -sidebar_position: 7 +sidebar_position: 10 title: fluentci list --- diff --git a/docs/reference/fluentci-project-create.md b/docs/reference/fluentci-project-create.md index 74cbcea..9da3a9c 100644 --- a/docs/reference/fluentci-project-create.md +++ b/docs/reference/fluentci-project-create.md @@ -1,5 +1,5 @@ --- -sidebar_position: 8 +sidebar_position: 11 title: fluentci project create --- diff --git a/docs/reference/fluentci-project-export.md b/docs/reference/fluentci-project-export.md index d4c213d..8f5b694 100644 --- a/docs/reference/fluentci-project-export.md +++ b/docs/reference/fluentci-project-export.md @@ -1,5 +1,5 @@ --- -sidebar_position: 9 +sidebar_position: 11 title: fluentci project export --- diff --git a/docs/reference/fluentci-project-list.md b/docs/reference/fluentci-project-list.md index d6763db..7d6f4ff 100644 --- a/docs/reference/fluentci-project-list.md +++ b/docs/reference/fluentci-project-list.md @@ -1,5 +1,5 @@ --- -sidebar_position: 10 +sidebar_position: 12 title: fluentci project list --- diff --git a/docs/reference/fluentci-project-show.md b/docs/reference/fluentci-project-show.md index 09dac7f..e9dcf27 100644 --- a/docs/reference/fluentci-project-show.md +++ b/docs/reference/fluentci-project-show.md @@ -1,5 +1,5 @@ --- -sidebar_position: 11 +sidebar_position: 13 title: fluentci project show --- diff --git a/docs/reference/fluentci-ps.md b/docs/reference/fluentci-ps.md new file mode 100644 index 0000000..8ace5d4 --- /dev/null +++ b/docs/reference/fluentci-ps.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 14 +title: fluentci ps +--- + +List all FluentCI services. + +```bash +fluentci ps +``` \ No newline at end of file diff --git a/docs/reference/fluentci-publish.md b/docs/reference/fluentci-publish.md index e952664..dff8da5 100644 --- a/docs/reference/fluentci-publish.md +++ b/docs/reference/fluentci-publish.md @@ -1,5 +1,5 @@ --- -sidebar_position: 12 +sidebar_position: 15 title: fluentci publish --- diff --git a/docs/reference/fluentci-restart.md b/docs/reference/fluentci-restart.md new file mode 100644 index 0000000..4c205cc --- /dev/null +++ b/docs/reference/fluentci-restart.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 16 +title: fluentci restart +--- + +Restart a FluentCI service. + +```bash +fluentci restart +``` diff --git a/docs/reference/fluentci-run.md b/docs/reference/fluentci-run.md index 2177ac2..6e5e525 100644 --- a/docs/reference/fluentci-run.md +++ b/docs/reference/fluentci-run.md @@ -1,5 +1,5 @@ --- -sidebar_position: 13 +sidebar_position: 17 title: fluentci run --- diff --git a/docs/reference/fluentci-search.md b/docs/reference/fluentci-search.md index 9ab769c..31009d1 100644 --- a/docs/reference/fluentci-search.md +++ b/docs/reference/fluentci-search.md @@ -1,5 +1,5 @@ --- -sidebar_position: 14 +sidebar_position: 18 title: fluentci search --- diff --git a/docs/reference/fluentci-server.md b/docs/reference/fluentci-server.md index 874f99c..39f6d3b 100644 --- a/docs/reference/fluentci-server.md +++ b/docs/reference/fluentci-server.md @@ -1,5 +1,5 @@ --- -sidebar_position: 15 +sidebar_position: 19 title: fluentci server --- diff --git a/docs/reference/fluentci-start.md b/docs/reference/fluentci-start.md new file mode 100644 index 0000000..feaa1a9 --- /dev/null +++ b/docs/reference/fluentci-start.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 20 +title: fluentci start +--- + +Start a FluentCI service. + +```bash +fluentci start +``` diff --git a/docs/reference/fluentci-status.md b/docs/reference/fluentci-status.md new file mode 100644 index 0000000..d1a3c40 --- /dev/null +++ b/docs/reference/fluentci-status.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 21 +title: fluentci status +--- + +Get the status of a FluentCI service. + +```bash +fluentci status +``` diff --git a/docs/reference/fluentci-stop.md b/docs/reference/fluentci-stop.md new file mode 100644 index 0000000..686c788 --- /dev/null +++ b/docs/reference/fluentci-stop.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 22 +title: fluentci stop +--- + +Stop a FluentCI service. + +```bash +fluentci stop +``` diff --git a/docs/reference/fluentci-studio.md b/docs/reference/fluentci-studio.md index 04eb442..c626d0e 100644 --- a/docs/reference/fluentci-studio.md +++ b/docs/reference/fluentci-studio.md @@ -1,5 +1,5 @@ --- -sidebar_position: 16 +sidebar_position: 23 title: fluentci studio --- diff --git a/docs/reference/fluentci-up.md b/docs/reference/fluentci-up.md new file mode 100644 index 0000000..c0d0501 --- /dev/null +++ b/docs/reference/fluentci-up.md @@ -0,0 +1,10 @@ +--- +sidebar_position: 24 +title: fluentci up +--- + +Start All FluentCI services. + +```bash +fluentci up +``` diff --git a/docs/reference/fluentci-upgrade.md b/docs/reference/fluentci-upgrade.md index 67f1070..cea0583 100644 --- a/docs/reference/fluentci-upgrade.md +++ b/docs/reference/fluentci-upgrade.md @@ -1,5 +1,5 @@ --- -sidebar_position: 17 +sidebar_position: 25 title: fluentci upgrade --- diff --git a/docs/reference/fluentci-whoami.md b/docs/reference/fluentci-whoami.md index f2924ca..6774638 100644 --- a/docs/reference/fluentci-whoami.md +++ b/docs/reference/fluentci-whoami.md @@ -1,5 +1,5 @@ --- -sidebar_position: 18 +sidebar_position: 26 title: fluentci whoami --- diff --git a/docs/tutorial-basics/installation.md b/docs/tutorial-basics/installation.md index 5846ec4..e51a7e8 100644 --- a/docs/tutorial-basics/installation.md +++ b/docs/tutorial-basics/installation.md @@ -8,7 +8,7 @@ title: Installing FluentCI ### What you'll need - [Deno](https://deno.land/) version 1.42 or above -- [Dagger](https://dagger.io/) version >= 0.10.0 (Optional) +- [Dagger](https://dagger.io/) version >= 0.12.0 (Optional) ### Install