{"id":20571360,"url":"https://github.com/fluent-ci-templates/gitlab-pipeline","last_synced_at":"2025-04-14T17:06:38.323Z","repository":{"id":204611466,"uuid":"710272515","full_name":"fluent-ci-templates/gitlab-pipeline","owner":"fluent-ci-templates","description":"A ready-to-use CI/CD Pipeline for uploading assets to GitLab releases.","archived":false,"fork":false,"pushed_at":"2024-06-18T20:08:12.000Z","size":209,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T17:06:31.851Z","etag":null,"topics":["cicd","deno","gitlab-ci","pipeline","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent-ci-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-26T11:15:49.000Z","updated_at":"2024-06-18T20:08:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ce1baf4-299a-40e0-ac58-579fa8f6085f","html_url":"https://github.com/fluent-ci-templates/gitlab-pipeline","commit_stats":null,"previous_names":["fluent-ci-templates/gitlab-pipeline"],"tags_count":8,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgitlab-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgitlab-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgitlab-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgitlab-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-ci-templates","download_url":"https://codeload.github.com/fluent-ci-templates/gitlab-pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923766,"owners_count":21183953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cicd","deno","gitlab-ci","pipeline","typescript"],"created_at":"2024-11-16T05:16:03.876Z","updated_at":"2025-04-14T17:06:38.303Z","avatar_url":"https://github.com/fluent-ci-templates.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Gitlab Pipeline\n\n[![fluentci pipeline](https://shield.fluentci.io/x/gitlab_pipeline)](https://pkg.fluentci.io/gitlab_pipeline)\n![deno compatibility](https://shield.deno.dev/deno/^1.42)\n[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)\n[![](https://jsr.io/badges/@fluentci/gitlab)](https://jsr.io/@fluentci/gitlab)\n[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/gitlab-pipeline)](https://codecov.io/gh/fluent-ci-templates/gitlab-pipeline)\n[![ci](https://github.com/fluent-ci-templates/gitlab-pipeline/actions/workflows/ci.yml/badge.svg)](https://github.com/fluent-ci-templates/gitlab-pipeline/actions/workflows/ci.yml)\n\nA ready-to-use CI/CD Pipeline for uploading assets to gitlab releases.\n\n## 🚀 Usage\n\nRun the following command:\n\n```bash\nfluentci run gitlab_pipeline\n```\n\n## 🧩 Dagger Module\n\nUse as a [Dagger](https://dagger.io) Module:\n\n```bash\ndagger install github.com/fluent-ci-templates/gitlab-pipeline@main\n```\n\nCall a function from the module:\n\n```bash\ndagger call release-create --src . \\\n --token env:GITLAB_ACCESS_TOKEN \\\n --tag v0.1.0\n\ndagger call release-upload --src . \\\n   --token env:GITLAB_ACCESS_TOKEN \\\n   --tag v0.1.0 \\\n   --file ./demo_v0.1.0_x86_64-unknown-linux-gnu.tar.gz\n```\n\n## 🛠️ Environment Variables\n\n| Variable              | Description                   |\n|-----------------------|-------------------------------|\n| TAG                   | Git tag to upload to          |\n| FILE                  | File to upload                |\n| GITLAB_ACCESS_TOKEN   | Gitlab Access Token           |\n\n## ✨ Jobs\n\n| Job            | Description                                                |\n|----------------|------------------------------------------------------------|\n| release_create | Creates a gitlab release                                   |\n| release_upload | Uploads a file to a gitlab release                         |\n\n```typescript\n releaseCreate(\n    src: string | Directory | undefined = \".\",\n    token?: string | Secret,\n    tag?: string\n ): Promise\u003cstring\u003e\n\n releaseUpload(\n    src: string | Directory | undefined = \".\",\n    token?: string,\n    tag?: string,\n    file?: string\n ): Promise\u003cstring\u003e\n```\n\n## 👨‍💻 Programmatic usage\n\nYou can also use this pipeline programmatically:\n\n```typescript\nimport { releaseCreate, releaseUpload } from \"jsr:@fluentci/gitlab\";\n\nawait releaseCreate();\nawait releaseUpload();\n```\n\n## 📚 Examples\n\nSee [tsiry.sndr/gitlab-release-demo](https://gitlab.com/tsiry.sndr/gitlab-release-demo) for a working example.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fgitlab-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-ci-templates%2Fgitlab-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fgitlab-pipeline/lists"}