v0.1.1
A ready-to-use CI/CD Pipeline for building and deploying your Spin applications to Fermyon Platform.
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Spin Pipeline
A ready-to-use CI/CD Pipeline for building and deploying your Spin applications to Fermyon Platform.
🚀 Usage
Run the following command:
dagger run fluentci spin_pipeline
Environment Variables
Variable | Description |
---|---|
SPIN_AUTH_TOKEN | Your Fermyon Cloud Access Token. |
Jobs
Job | Description |
---|---|
build | Build your Spin application (Only Rust is supported at the moment). |
deploy | Deploy your Spin application to Fermyon Platform. |
Programmatic usage
You can also use this pipeline programmatically:
import { Client, connect } from "https://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://deno.land/x/spin_pipeline/mod.ts";
const { build, deploy } = Dagger;
function pipeline(src = ".") {
connect(async (client: Client) => {
await build(client, src);
await deploy(client, src);
});
}
pipeline();