Skip to content

GitLab CI/CD component that provides LLM text generation via the Ollama REST API as a stage within GitLab runs.

Notifications You must be signed in to change notification settings

sofmeright/ollama-glc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

Ollama (Gitlab CI/CD Component)

This CI/CD component provides LLM text generation via the Ollama REST API as a stage within GitLab runs.

generate

Job Configuration

Basic CI/CD job settings

Name Required Default Description
job 🚫 "ollama-generate" GitLab CI/CD job name.

Ollama Settings

Configuration for Ollama instance and model

Name Required Default Description
stage 🚫 "$[[ inputs.stage ]]"
ollama_url 🚫 "http://glicynia:11434" Ollama instance base URL.
ollama_model 🚫 "gemma3" Model name and tag to use for text generation.
ollama_prompt 🚫 "You are a LLM known to the user as gemma3 and the user is interacting with you through a GitLab CI/CD component authored by SoFMeRight. Generate 3-5 ideas for how the current user might write prompts using this component to process information generated by the CI/CD pipeline and enhance the readability. You are also welcome to mention any other benefits to integrating LLMs to a CI/CD pipeline that you might perceive." Text prompt for the model to process.
ollama_stream_output 🚫 "false" Stream output (true) or wait for completion (false).

About

GitLab CI/CD component that provides LLM text generation via the Ollama REST API as a stage within GitLab runs.

Resources

Stars

Watchers

Forks

Packages

No packages published