@@ -46,47 +46,9 @@ tasks:
4646 - task --list
4747 silent : true
4848
49- # Dependency checking tasks
50- check:deps :
51- desc : Check if required dependencies are installed
52- cmds :
53- # Check for kubectl
54- - cmd : command -v kubectl >/dev/null 2>&1 || (echo "kubectl not found" && exit 1)
55- platforms : [linux, darwin]
56- - cmd : where kubectl >nul 2>&1 || (echo "kubectl not found" && exit 1)
57- platforms : [windows]
58-
59- # Check for helm
60- - cmd : command -v helm >/dev/null 2>&1 || (echo "helm not found" && exit 1)
61- platforms : [linux, darwin]
62- - cmd : where helm >nul 2>&1 || (echo "helm not found" && exit 1)
63- platforms : [windows]
64-
65- # Check for python
66- - cmd : command -v python3 >/dev/null 2>&1 || (echo "python3 not found" && exit 1)
67- platforms : [linux, darwin]
68- - cmd : where python >nul 2>&1 || (echo "python not found" && exit 1)
69- platforms : [windows]
70-
71- # Check for yq
72- - cmd : command -v yq >/dev/null 2>&1 || (echo "yq not found, please install it with 'brew install yq' or download from https://github.com/mikefarah/yq/releases" && exit 1)
73- platforms : [linux, darwin]
74- - cmd : where yq >nul 2>&1 || (echo "yq not found, please download from https://github.com/mikefarah/yq/releases" && exit 1)
75- platforms : [windows]
76-
77- # Check for replicated CLI
78- - cmd : command -v replicated >/dev/null 2>&1 || (echo "replicated CLI not found, please install it with 'curl -s https://api.replicated.com/install.sh | bash'" && exit 1)
79- platforms : [linux, darwin]
80- - cmd : where replicated >nul 2>&1 || (echo "replicated CLI not found, please install it" && exit 1)
81- platforms : [windows]
82-
83- - echo "All required dependencies found"
84- silent : true
85-
8649 # Version checking task
8750 check:versions :
8851 desc : Check if versions match between Chart.yaml files and HelmChart manifests
89- deps : [check:deps]
9052 cmds :
9153 - echo "Checking chart versions consistency..."
9254 - |
@@ -256,7 +218,6 @@ tasks:
256218 # Namespace setup
257219 setup:namespaces :
258220 desc : Create and setup required namespaces
259- deps : [check:deps]
260221 cmds :
261222 - echo "Setting up required namespaces..."
262223 - kubectl create namespace {{.NAMESPACE}} --dry-run=client -o yaml | kubectl apply -f -
0 commit comments