summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/gitlab.mdx
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2025-12-12 09:44:06 +0000
committerDavid Hill <[email protected]>2025-12-12 09:44:06 +0000
commit99158e736bd983ee5c62bfc43032da1bafc45d71 (patch)
tree59b1afc0fff72a8c47ca76c90a767aafae7a5f45 /packages/web/src/content/docs/gitlab.mdx
parent4c02d515a1e15a99fc009587e821087e042bd45b (diff)
parentf9d5e1879056dd9507bb1a1645da5b5ede87fcca (diff)
downloadopencode-99158e736bd983ee5c62bfc43032da1bafc45d71.tar.gz
opencode-99158e736bd983ee5c62bfc43032da1bafc45d71.zip
Merge branch 'dev' of https://github.com/sst/opencode into dev
Diffstat (limited to 'packages/web/src/content/docs/gitlab.mdx')
-rw-r--r--packages/web/src/content/docs/gitlab.mdx28
1 files changed, 14 insertions, 14 deletions
diff --git a/packages/web/src/content/docs/gitlab.mdx b/packages/web/src/content/docs/gitlab.mdx
index 2490e5963..66c006c80 100644
--- a/packages/web/src/content/docs/gitlab.mdx
+++ b/packages/web/src/content/docs/gitlab.mdx
@@ -1,25 +1,25 @@
---
title: GitLab
-description: Use opencode in GitLab issues and merge requests.
+description: Use OpenCode in GitLab issues and merge requests.
---
-opencode integrates with your GitLab workflow.
-Mention `@opencode` in a comment, and opencode will execute tasks within your GitLab CI pipeline.
+OpenCode integrates with your GitLab workflow.
+Mention `@opencode` in a comment, and OpenCode will execute tasks within your GitLab CI pipeline.
---
## Features
-- **Triage issues**: Ask opencode to look into an issue and explain it to you.
-- **Fix and implement**: Ask opencode to fix an issue or implement a feature.
+- **Triage issues**: Ask OpenCode to look into an issue and explain it to you.
+- **Fix and implement**: Ask OpenCode to fix an issue or implement a feature.
It will work create a new branch and raised a merge request with the changes.
-- **Secure**: opencode runs on your GitLab runners.
+- **Secure**: OpenCode runs on your GitLab runners.
---
## Setup
-opencode runs in your GitLab CI/CD pipeline, here's what you'll need to set it up:
+OpenCode runs in your GitLab CI/CD pipeline, here's what you'll need to set it up:
:::tip
Check out the [**GitLab docs**](https://docs.gitlab.com/user/duo_agent_platform/agent_assistant/) for up to date instructions.
@@ -48,7 +48,7 @@ Check out the [**GitLab docs**](https://docs.gitlab.com/user/duo_agent_platform/
- apt-get install --yes glab
- echo "Configuring glab"
- echo $GITLAB_HOST
- - echo "Creating opencode auth configuration"
+ - echo "Creating OpenCode auth configuration"
- mkdir --parents ~/.local/share/opencode
- |
cat > ~/.local/share/opencode/auth.json << EOF
@@ -61,10 +61,10 @@ Check out the [**GitLab docs**](https://docs.gitlab.com/user/duo_agent_platform/
EOF
- echo "Configuring git"
- git config --global user.email "[email protected]"
- - git config --global user.name "Opencode"
+ - git config --global user.name "OpenCode"
- echo "Testing glab"
- glab issue list
- - echo "Running Opencode"
+ - echo "Running OpenCode"
- |
opencode run "
You are an AI assistant helping with GitLab operations.
@@ -115,7 +115,7 @@ You can refer to the [GitLab CLI agents docs](https://docs.gitlab.com/user/duo_a
## Examples
-Here are some examples of how you can use opencode in GitLab.
+Here are some examples of how you can use OpenCode in GitLab.
:::tip
You can configure to use a different trigger phrase than `@opencode`.
@@ -129,7 +129,7 @@ You can configure to use a different trigger phrase than `@opencode`.
@opencode explain this issue
```
- opencode will read the issue and reply with a clear explanation.
+ OpenCode will read the issue and reply with a clear explanation.
- **Fix an issue**
@@ -139,7 +139,7 @@ You can configure to use a different trigger phrase than `@opencode`.
@opencode fix this
```
- opencode will create a new branch, implement the changes, and open a merge request with the changes.
+ OpenCode will create a new branch, implement the changes, and open a merge request with the changes.
- **Review merge requests**
@@ -149,4 +149,4 @@ You can configure to use a different trigger phrase than `@opencode`.
@opencode review this merge request
```
- opencode will review the merge request and provide feedback.
+ OpenCode will review the merge request and provide feedback.