Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
🧩 A ready-to-use CI/CD Pipeline for uploading assets to GitLab releases
Gitlab Pipeline
A ready-to-use CI/CD Pipeline for uploading assets to gitlab releases.
🚀 Usage
Run the following command:
fluentci run gitlab_pipeline
🧩 Dagger Module
Use as a Dagger Module:
dagger install github.com/fluent-ci-templates/gitlab-pipeline@main
Call a function from the module:
dagger call release-create --src . \ --token env:GITLAB_ACCESS_TOKEN \ --tag v0.1.0 dagger call release-upload --src . \ --token env:GITLAB_ACCESS_TOKEN \ --tag v0.1.0 \ --file ./demo_v0.1.0_x86_64-unknown-linux-gnu.tar.gz
🛠️ Environment Variables
| Variable | Description | 
|---|---|
| TAG | Git tag to upload to | 
| FILE | File to upload | 
| GITLAB_ACCESS_TOKEN | Gitlab Access Token | 
✨ Jobs
| Job | Description | 
|---|---|
| release_create | Creates a gitlab release | 
| release_upload | Uploads a file to a gitlab release | 
releaseCreate( src: string | Directory | undefined = ".", token?: string | Secret, tag?: string ): Promise<string> releaseUpload( src: string | Directory | undefined = ".", token?: string, tag?: string, file?: string ): Promise<string>
👨💻 Programmatic usage
You can also use this pipeline programmatically:
import { releaseCreate, releaseUpload } from "jsr:@fluentci/gitlab"; await releaseCreate(); await releaseUpload();
📚 Examples
See tsiry.sndr/gitlab-release-demo for a working example.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@fluentci/gitlab
Import symbol
import * as gitlab from "@fluentci/gitlab";
Import directly with a jsr specifier
import * as gitlab from "jsr:@fluentci/gitlab";
Add Package
pnpm i jsr:@fluentci/gitlab
pnpm dlx jsr add @fluentci/gitlab
Import symbol
import * as gitlab from "@fluentci/gitlab";
Add Package
yarn add jsr:@fluentci/gitlab
yarn dlx jsr add @fluentci/gitlab
Import symbol
import * as gitlab from "@fluentci/gitlab";
Add Package
vlt install jsr:@fluentci/gitlab
Import symbol
import * as gitlab from "@fluentci/gitlab";
Add Package
npx jsr add @fluentci/gitlab
Import symbol
import * as gitlab from "@fluentci/gitlab";
Add Package
bunx jsr add @fluentci/gitlab
Import symbol
import * as gitlab from "@fluentci/gitlab";