docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를 Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류. - 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로 자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거, 동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거. - 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming, Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business, Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로, 나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는 title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백). 원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지. - 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서. - 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는 지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지. - Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경. - 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
This commit is contained in:
@@ -0,0 +1,158 @@
|
||||
---
|
||||
id: wiki-2026-0508-teamcity
|
||||
title: TeamCity
|
||||
category: 10_Wiki/Topics
|
||||
status: verified
|
||||
canonical_id: self
|
||||
aliases: [JetBrains TeamCity, TC]
|
||||
duplicate_of: none
|
||||
source_trust_level: A
|
||||
confidence_score: 0.9
|
||||
verification_status: applied
|
||||
tags: [ci-cd, jetbrains, build, devops]
|
||||
raw_sources: []
|
||||
last_reinforced: 2026-05-10
|
||||
github_commit: pending
|
||||
tech_stack:
|
||||
language: Kotlin DSL
|
||||
framework: TeamCity 2025.x
|
||||
---
|
||||
|
||||
# TeamCity
|
||||
|
||||
## 매 한 줄
|
||||
> **"매 enterprise CI server with first-class build chains + Kotlin DSL config"**. JetBrains TeamCity 는 build configuration 의 strong dependency graph + snapshot/artifact dep + 매 versioned settings (Kotlin DSL) 를 제공하는 self-hosted CI. 2026 의 TeamCity 2025.x 는 cloud agents + GitHub Actions 호환성 + native AI test analytics.
|
||||
|
||||
## 매 핵심
|
||||
|
||||
### 매 핵심 개념
|
||||
- **Project / Build Configuration / Build**: 3-tier hierarchy.
|
||||
- **Snapshot dependency**: 매 동일 VCS revision 보장된 build chain.
|
||||
- **Artifact dependency**: 매 upstream artifact pull.
|
||||
- **Build chain**: composite build (status rollup).
|
||||
- **Versioned settings**: 매 Kotlin DSL `.teamcity/settings.kts` git 관리.
|
||||
|
||||
### 매 vs Jenkins / GitHub Actions
|
||||
- 매 Jenkins: plugin sprawl, 매 declarative 선택적.
|
||||
- 매 GitHub Actions: SaaS-first, 매 enterprise 의 self-host 약함.
|
||||
- 매 TeamCity: 매 enterprise self-host + Kotlin DSL + 매 strong test history.
|
||||
|
||||
### 매 응용
|
||||
1. JVM monorepo (Gradle/Maven) build chain.
|
||||
2. .NET / Kotlin Multiplatform CI.
|
||||
3. Hybrid cloud agents (AWS/GCP/K8s) + on-prem.
|
||||
|
||||
## 💻 패턴
|
||||
|
||||
### Kotlin DSL 의 build config
|
||||
```kotlin
|
||||
import jetbrains.buildServer.configs.kotlin.*
|
||||
import jetbrains.buildServer.configs.kotlin.buildSteps.gradle
|
||||
|
||||
object Build : BuildType({
|
||||
name = "Build & Test"
|
||||
vcs { root(DslContext.settingsRoot) }
|
||||
steps {
|
||||
gradle {
|
||||
tasks = "clean build"
|
||||
useGradleWrapper = true
|
||||
}
|
||||
}
|
||||
triggers { vcs {} }
|
||||
features {
|
||||
perfmon {}
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
### Build chain (snapshot dep)
|
||||
```kotlin
|
||||
object Deploy : BuildType({
|
||||
name = "Deploy"
|
||||
dependencies {
|
||||
snapshot(Build) { onDependencyFailure = FailureAction.FAIL_TO_START }
|
||||
artifacts(Build) { artifactRules = "build/libs/*.jar => libs" }
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
### Parameter + secret
|
||||
```kotlin
|
||||
params {
|
||||
param("env.NODE_ENV", "production")
|
||||
password("env.NPM_TOKEN", "credentialsJSON:...")
|
||||
}
|
||||
```
|
||||
|
||||
### Agent requirements
|
||||
```kotlin
|
||||
requirements {
|
||||
contains("teamcity.agent.jvm.os.name", "Linux")
|
||||
exists("env.DOCKER_HOST")
|
||||
}
|
||||
```
|
||||
|
||||
### Matrix-style (composite build)
|
||||
```kotlin
|
||||
object Matrix : BuildType({ name = "All Platforms"; type = Type.COMPOSITE
|
||||
dependencies {
|
||||
snapshot(BuildLinux) {}
|
||||
snapshot(BuildMac) {}
|
||||
snapshot(BuildWin) {}
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
### REST API trigger
|
||||
```bash
|
||||
curl -u user:token -X POST \
|
||||
-H "Content-Type: application/xml" \
|
||||
-d '<build><buildType id="Build"/></build>' \
|
||||
https://tc.example.com/app/rest/buildQueue
|
||||
```
|
||||
|
||||
### Cloud agent profile (Kubernetes)
|
||||
```kotlin
|
||||
features {
|
||||
feature {
|
||||
type = "CloudImage"
|
||||
param("cloud-code", "kubernetes")
|
||||
param("image-name", "myorg/tc-agent:2025")
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## 매 결정 기준
|
||||
| 상황 | CI choice |
|
||||
|---|---|
|
||||
| 매 JVM enterprise self-host | TeamCity |
|
||||
| 매 GitHub-centric OSS | GitHub Actions |
|
||||
| 매 plugin-heavy legacy | Jenkins |
|
||||
| 매 GitLab-native | GitLab CI |
|
||||
| 매 monorepo with cache focus | Buildkite / Bazel CI |
|
||||
|
||||
**기본값**: 매 enterprise JVM/.NET 의 TeamCity, 매 OSS GitHub repo 의 Actions.
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[CI_CD_Pipeline|CI_CD]]
|
||||
- 변형: [[GitHub_Actions]]
|
||||
|
||||
## 🤖 LLM 활용
|
||||
**언제**: 매 enterprise CI 설계, 매 build chain 의존성 모델링, 매 Kotlin DSL 마이그레이션.
|
||||
**언제 X**: 매 single-repo OSS — 매 GitHub Actions 가 zero-ops.
|
||||
|
||||
## ❌ 안티패턴
|
||||
- **UI-only config (no DSL)**: 매 settings drift, 매 review 불가능.
|
||||
- **Snapshot dep 없이 chain**: 매 inconsistent revision.
|
||||
- **Agent 의 secret 평문 저장**: 매 Token credentials 사용 필수.
|
||||
- **Build history retention 무한**: 매 server 디스크 폭발.
|
||||
|
||||
## 🧪 검증 / 중복
|
||||
- Verified (JetBrains TeamCity 2025 docs, Kotlin DSL guide).
|
||||
- 신뢰도 A.
|
||||
|
||||
## 🕓 Changelog
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | Manual cleanup — TeamCity 2025 + Kotlin DSL |
|
||||
Reference in New Issue
Block a user