You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.9 KiB
79 lines
1.9 KiB
# flowise 버전 갱신 가이드
|
|
|
|
## 1. git 작업 환경 구성
|
|
|
|
- DIP 카탈로그 git 다운로드
|
|
```
|
|
$ git clone https://github.com/paasup/dip-catalog.git
|
|
```
|
|
|
|
- 작업 브랜치로 체크아웃
|
|
```
|
|
$ git checkout -b update-flowise/6.0.0
|
|
```
|
|
|
|
## 2. helm 차트 버전 업데이트
|
|
|
|
- BUILD-README.md, CUSTOM-README.md, custom-values.yaml을 제외한 파일 삭제
|
|
``` sh
|
|
# chart 디렉토리로 이동
|
|
cd ~/dip-catalog/charts/flowise
|
|
|
|
# 파일 삭제 전 삭제할 파일 목록 확인
|
|
find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -print
|
|
|
|
# 파일 삭제
|
|
find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -exec rm -rf {} +
|
|
```
|
|
|
|
- flowise 차트 다운로드
|
|
``` sh
|
|
# charts 디렉토리로 이동
|
|
cd ~/dip-catalog/charts
|
|
|
|
# helm repo 추가
|
|
helm repo add cowboysysop https://cowboysysop.github.io/charts/
|
|
helm repo update
|
|
|
|
# helm 차트
|
|
helm pull cowboysysop/flowise --version="6.0.0"
|
|
|
|
# 차트 변경
|
|
tar xzvf flowise-*.tgz
|
|
|
|
# 필요 없는 파일 삭제
|
|
rm flowise-*.tgz
|
|
```
|
|
|
|
## 3. git push 및 tag 추가
|
|
- 갱신작업 진행후 commit
|
|
```sh
|
|
$ git add .
|
|
$ git commit -m "update flowise/6.0.0"
|
|
```
|
|
|
|
- main 브랜치에 체크아웃 후 merge
|
|
```sh
|
|
$ git checkout main
|
|
$ git merge update-flowise/6.0.0
|
|
```
|
|
|
|
- git에 push 후 작업 브랜치 삭제
|
|
```sh
|
|
$ git push -u origin main
|
|
$ git branch -d update-flowise/6.0.0
|
|
```
|
|
|
|
- git tag 추가 후 push
|
|
```sh
|
|
$ git tag flowise/6.0.0
|
|
$ git push origin flowise/6.0.0
|
|
```
|
|
|
|
## 4. 차트 버전 정보
|
|
- flowise/3.10.2
|
|
- 서비스 배포를 위하여 custom-values.yam에 정의하였다.
|
|
- 차트의 빌드 방법과 배포 방법을 BUILD-README.md, CUSTOM-README.md 문서에 작성하였다.
|
|
- flowise/6.0.0
|
|
- flowise 3.0.3으로 업그레이드
|
|
- custom-values.yaml에 새롭게 추가된 flowise worker, redis에 대한 설정 추가 |