독립 control plane 구성을 위해 기존 Dart CLI/runtime을 runner 앱 경계로 옮기고, 후속 client/core/root 작업을 같은 마일스톤 task group에 연결한다.
41 lines
902 B
YAML
41 lines
902 B
YAML
---
|
|
# [샘플] 스케줄러 설정
|
|
# Jenkins env 없이 YAML 파일만으로 실행되는 scheduler 설정 예시다.
|
|
# oto scheduler -r 12_scheduler.yaml 으로 등록
|
|
# oto scheduler -l 으로 목록 확인
|
|
# oto scheduler -u nightly-build 으로 해제
|
|
|
|
scheduler:
|
|
alias: nightly-build
|
|
cron: "0 2 * * *" # 매일 새벽 2시 (cron 형식)
|
|
# interval: 3600000 # 또는 ms 단위 interval (1시간)
|
|
enableLog: true # 로그 파일 기록 여부
|
|
|
|
property:
|
|
workspace: /path/to/project
|
|
branch: main
|
|
version: 1.0.0
|
|
|
|
pipeline:
|
|
id: main
|
|
workflow:
|
|
- exe: git-update
|
|
- exe: build
|
|
- exe: notify
|
|
|
|
commands:
|
|
- command: Git
|
|
id: git-update
|
|
param:
|
|
commands:
|
|
- fetch origin
|
|
- reset --hard origin/<!property.branch>
|
|
|
|
- command: BuildDart
|
|
id: build
|
|
param: {}
|
|
|
|
- command: Print
|
|
id: notify
|
|
param:
|
|
message: "나이틀리 빌드 완료"
|