fix(docs): translations

This commit is contained in:
Adam
2026-02-09 18:11:44 -06:00
parent 3118cab2d8
commit 85fa8abd50
312 changed files with 3578 additions and 3189 deletions

View File

@@ -1,33 +1,33 @@
---
title: GitLab
description: Use OpenCode in GitLab issues and merge requests.
description: Use opencode in GitLab issues and merge requests.
---
OpenCode는 GitLab CI/CD 파이프라인 또는 GitLab Duo를 통해 GitLab 워크플로우와 통합됩니다.
opencode는 GitLab CI/CD 파이프라인 또는 GitLab Duo를 통해 GitLab 워크플로우와 통합됩니다.
두 경우, OpenCode는 GitLab runners에서 실행됩니다.
두 경우, opencode는 GitLab runners에서 실행됩니다.
---
#GitLab CI 소개
OpenCode는 일반 GitLab 파이프라인에서 작동합니다. [CI 구성품](https://docs.gitlab.com/ee/ci/components/)로 파이프라인에 구축할 수 있습니다.
opencode는 일반 GitLab 파이프라인에서 작동합니다. [CI 구성품](https://docs.gitlab.com/ee/ci/components/)로 파이프라인에 구축할 수 있습니다.
여기에서 우리는 OpenCode에 대한 커뮤니티 생성 CI / CD 구성품을 사용하고 있습니다. [nagyv/gitlab-opencode](https://gitlab.com/nagyv/gitlab-opencode).
여기에서 우리는 opencode에 대한 커뮤니티 생성 CI / CD 구성품을 사용하고 있습니다. [nagyv/gitlab-opencode](https://gitlab.com/nagyv/gitlab-opencode).
---
### 특징
- **일당 사용자 지정 구성 사용**: 사용자 정의 구성 디렉토리와 OpenCode 구성, 예를 들어 `./config/#custom-directory`는 OpenCode invocation 당 활성화하거나 비활성화 할 수 있습니다.
- ** 최소 설정**: CI 구성 요소는 OpenCode를 배경으로 설정하면 OpenCode 구성과 초기 프롬프트를 만들 필요가 있습니다.
- **일당 사용자 지정 구성 사용**: 사용자 정의 구성 디렉토리와 opencode 구성, 예를 들어 `./config/#custom-directory`는 opencode invocation 당 활성화하거나 비활성화 할 수 있습니다.
- ** 최소 설정**: CI 구성 요소는 opencode를 배경으로 설정하면 opencode 구성과 초기 프롬프트를 만들 필요가 있습니다.
- **Flexible**: CI 구성 요소는 여러 입력을 지원합니다.
---
## 설정
1. OpenCode 인증 JSON을 **Settings** > **CI/CD** > **Variables**에서 파일 유형 CI 환경 변수로 저장하십시오. "Masked and hidden"로 표시하십시오.
1. opencode 인증 JSON을 **Settings** > **CI/CD** > **Variables**에서 파일 유형 CI 환경 변수로 저장하십시오. "Masked and hidden"로 표시하십시오.
2. `.gitlab-ci.yml` 파일에 뒤에 추가하십시오.
```yaml title=".gitlab-ci.yml"
@@ -35,7 +35,7 @@ OpenCode는 일반 GitLab 파이프라인에서 작동합니다. [CI 구성품](
- component: $CI_SERVER_FQDN/nagyv/gitlab-opencode/opencode@2
inputs:
config_dir: ${CI_PROJECT_DIR}/opencode-config
auth_json: $OPENCODE_AUTH_JSON # The variable name for your OpenCode authentication JSON
auth_json: $OPENCODE_AUTH_JSON # The variable name for your opencode authentication JSON
command: optional-custom-command
message: "Your prompt here"
```
@@ -46,23 +46,23 @@ OpenCode는 일반 GitLab 파이프라인에서 작동합니다. [CI 구성품](
## GitLab 듀오
OpenCode는 GitLab 워크플로우와 통합됩니다.
코멘트에 Mention `@opencode`, OpenCode는 GitLab CI 파이프라인 내에서 작업을 실행합니다.
opencode는 GitLab 워크플로우와 통합됩니다.
코멘트에 Mention `@opencode`, opencode는 GitLab CI 파이프라인 내에서 작업을 실행합니다.
---
### 특징
- **문제**: OpenCode가 문제점을 보고 당신을 설명합니다.
- **Fix 및 구현 **: 이슈를 수정하거나 기능을 구현하려면 OpenCode에 문의하십시오.
- **문제**: opencode가 문제점을 보고 당신을 설명합니다.
- **Fix 및 구현 **: 이슈를 수정하거나 기능을 구현하려면 opencode에 문의하십시오.
새로운 지점을 만들고 변화를 병합 요청을 제기합니다.
- **Secure**: OpenCode는 GitLab runners에서 실행됩니다.
- **Secure**: opencode는 GitLab runners에서 실행됩니다.
---
## 설정
OpenCode는 GitLab CI/CD 파이프라인에서 실행되며, 여기서 설정해야 할 일은 다음과 같습니다.
opencode는 GitLab CI/CD 파이프라인에서 실행되며, 여기서 설정해야 할 일은 다음과 같습니다.
:::tip
[**GitLab docs**](https://docs.gitlab.com/user/duo agent platform/agent assistant/) 를 체크 아웃하십시오.
@@ -91,7 +91,7 @@ OpenCode는 GitLab CI/CD 파이프라인에서 실행되며, 여기서 설정해
- 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
@@ -104,10 +104,10 @@ OpenCode는 GitLab CI/CD 파이프라인에서 실행되며, 여기서 설정해
EOF
- echo "Configuring git"
- git config --global user.email "opencode@gitlab.com"
- 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.
@@ -158,7 +158,7 @@ OpenCode는 GitLab CI/CD 파이프라인에서 실행되며, 여기서 설정해
### 예제
다음은 GitLab에서 OpenCode를 사용할 수있는 몇 가지 예입니다.
다음은 GitLab에서 opencode를 사용할 수있는 몇 가지 예입니다.
:::tip
`@opencode`보다 다른 트리거 구문을 사용할 수 있습니다.
@@ -172,7 +172,7 @@ GitLab 문제에서이 코멘트를 추가하십시오.
@opencode explain this issue
```
OpenCode는 문제와 대답을 명확하게 설명합니다.
opencode는 문제와 대답을 명확하게 설명합니다.
- **문제**
@@ -182,7 +182,7 @@ GitLab 문제에서, 말한다:
@opencode fix this
```
OpenCode는 새로운 지점을 만들 것이며 변경 사항을 구현하고 변경 사항을 병합 요청을 엽니다.
opencode는 새로운 지점을 만들 것이며 변경 사항을 구현하고 변경 사항을 병합 요청을 엽니다.
- **Review 병합 요청**
@@ -192,4 +192,4 @@ GitLab 병합 요청에 대한 다음 의견을 남겨주세요.
@opencode review this merge request
```
OpenCode는 병합 요청을 검토하고 피드백을 제공합니다.
opencode는 병합 요청을 검토하고 피드백을 제공합니다.