tryretool / retool-helm

MIT License
45 stars 57 forks source link

require 3.6.11 to automatically spin up workflow services (worker, backend) #120

Closed avimoondra closed 12 months ago

avimoondra commented 12 months ago

Baseline

➜  retool git:(main) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="5.6.10" --set workflows.enabled=false --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

➜  retool git:(main) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="5.6.10" --set workflows.enabled=true --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

# Source: retool/templates/deployment_workflows_worker.yaml
# Source: retool/templates/deployment_workflows_worker.yaml

Migration/upgrade scenarios:

1) using a retool-workflows-helm, moving to retool-helm 6.0.2 ... pre Retool image 3.6.11

2) using a retool-workflows-helm, moving to retool-helm 6.0.2 ... post Retool image 3.6.11

3) using retool-helm <= 5.0.10, moving to retool-helm 6.0.2 ... pre Retool image 3.6.11

➜  retool git:(avimoondra/set-min-versions-for-workflow-startup) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.6.10" --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool
➜  retool git:(avimoondra/set-min-versions-for-workflow-startup) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.6.10" --set workflows.enabled=false  --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool
➜  retool git:(avimoondra/set-min-versions-for-workflow-startup) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.6.10" --set workflows.enabled=true --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

# Source: retool/templates/deployment_workflows_worker.yaml
# Source: retool/templates/deployment_workflows_worker.yaml

4) using retool-helm <= 5.0.10, moving to retool-helm 6.0.2 ... post Retool image 3.6.11

➜  retool git:(avimoondra/set-min-versions-for-workflow-startup) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.6.12" --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

# Source: retool/templates/deployment_workflows_worker.yaml
# Source: retool/templates/deployment_workflows_worker.yaml
➜  retool git:(avimoondra/set-min-versions-for-workflow-startup) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.6.12" --set workflows.enabled=true --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

# Source: retool/templates/deployment_workflows_worker.yaml
# Source: retool/templates/deployment_workflows_worker.yaml
➜  retool git:(avimoondra/set-min-versions-for-workflow-startup) ✗ helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.6.12" --set workflows.enabled=false --debug | grep _worker.yaml
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool