theorose49 f83724b995
All checks were successful
build-and-push / build (push) Successful in 39s
feat: spin 백엔드 전체 구현 (근무·프로젝트·인센티브·회계)
- config/db/storage/auth/router/perms: eQMS 규약 미러링, 권한 2-tier
  (관리자 전체 / 구성원 본인·신청만), oauth2-proxy 헤더 인증 + DEV_AUTH mock
- 모델: 구성원/부서, 근무(출퇴근·휴가·공가·초과), 프로젝트(회사/제품/버전·
  작업자portion·담당자·태스크·계약·첨부·분할입금), 인센티브(설정·단계·
  유저배분·분기정산), 회계(거래·세금)
- internal/worktime: 근로기준법 월 집계 엔진
- internal/incentive: BE/non-BE × 계약금/중도금/잔금 3단계 계산 + 시뮬레이션
- 시드 데이터, Go 멀티스테이지 Dockerfile
- ADMIN_GROUPS 기본값 'admin' (전 내부 앱 공통 그룹)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 08:57:35 +09:00

spin-backend

배포: infra repomanifests/apps/internal/spin-backend/ → ArgoCD ApplicationSet appsinternal ns.

CI

master 또는 main push → Gitea Actions 가 image build + push (:<sha> + :latest) → git.special-partners.com/admin/spin-backend.

빌드 결과는 자동 배포됩니다 — ArgoCD Image Updater 가 :latest digest 변화를 추적해 infra repo 에 digest 를 write-back 하고 ArgoCD 가 새 이미지로 sync 합니다. (kubectl set image 불필요)

필요 repo secrets (Settings → Actions → Secrets and Variables)

환경 변수

.env.sample 참고. 클러스터에선 K8s Secret/value로 자동 주입.

컨테이너 port

8080 (Dockerfile EXPOSE). 변경 시 deployment.yaml의 containerPort 같이 수정.

Description
No description provided
Readme 340 KiB
Languages
Go 99.7%
Dockerfile 0.3%