Giter Site home page Giter Site logo

fluent-ci-templates / wasmer-pipeline Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 195 KB

A ready-to-use CI/CD Pipeline for building and deploying to Wasmer Edge

License: MIT License

TypeScript 97.56% Nix 0.21% Rust 2.23%
cicd dagger deno pipeline typescript wasmer

wasmer-pipeline's Introduction

Wasmer Pipeline

fluentci pipeline deno compatibility dagger-min-version ci

A ready-to-use CI/CD Pipeline for deploying your applications to Wasmer Edge.

๐Ÿš€ Usage

Run the following command:

fluentci run wasmer_pipeline

๐Ÿงฉ Dagger Module

Use as a Dagger Module:

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

Call a function from the module:

dagger call build --src .
dagger call deploy --src . --token WASMER_TOKEN

๐Ÿ› ๏ธ Environment Variables

Variable Description
WASMER_TOKEN Your wasmer access token

โœจ Jobs

Job Description
build Build your application.
deploy Deploy your application to wasm edge
  build(
    src: string | Directory
  ): Promise<Directory | string>

  deploy(
    src: string | Directory,
    token: string | Secret,
    cache = false
  ): Promise<string> 

๐Ÿ‘จโ€๐Ÿ’ป Programmatic usage

You can also use this pipeline programmatically:

import { build, deploy } from "jsr:@fluentci/wasmer";

await build(".")
await deploy(".", Deno.env.get("WASMER_TOKEN"), true);

wasmer-pipeline's People

Contributors

tsirysndr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.