This CI/CD component provides LLM text generation via the Ollama REST API as a stage within GitLab runs.
Basic CI/CD job settings
| Name | Required | Default | Description |
|---|---|---|---|
| job | 🚫 | "ollama-generate" | GitLab CI/CD job name. |
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). |