Skip to content

Commit 4a5c212

Browse files
committed
debug ci
1 parent eab756e commit 4a5c212

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

applications/mlflow/Makefile

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ARGS = $(filter-out $@,$(MAKECMDGOALS))
66
@:
77

88
SHELL := /bin/bash
9-
.SHELLFLAGS = -x +u
109

1110
# Define the base path to your Helm charts directory
1211
HELM_CHARTS_DIR = ./charts
@@ -42,8 +41,9 @@ package-and-update: add-helm-repositories
4241
# Target to add Helm repositories
4342
.PHONY: add-helm-repositories
4443
add-helm-repositories:
45-
helm repo add cnpg https://cloudnative-pg.github.io/charts
46-
helm repo add minio https://operator.min.io/
44+
set -e; \
45+
helm repo add cnpg https://cloudnative-pg.github.io/charts; \
46+
helm repo add minio https://operator.min.io/; \
4747
helm repo update
4848

4949
# Target to lint Helm charts using chart-testing
@@ -157,21 +157,23 @@ clean: clean-charts clean-templates
157157
# Debug target to print environment information
158158
.PHONY: debug-env
159159
debug-env:
160-
echo "=== Debug Environment Information ==="
161-
echo "Shell: $${SHELL}"
162-
echo "PATH: $${PATH}"
163-
which helm || echo "helm not found in PATH"
164-
echo "Current directory: $$(pwd)"
165-
echo "Directory listing:"
166-
ls -la
167-
echo "=== End Debug Info ==="
160+
set -e; \
161+
echo '=== Debug Environment Information ==='; \
162+
echo "Shell: $$SHELL"; \
163+
echo "PATH: $$PATH"; \
164+
which helm || echo 'helm not found in PATH'; \
165+
echo "Current directory: $$(pwd)"; \
166+
echo "Directory listing:"; \
167+
ls -la; \
168+
echo '=== End Debug Info ==='
168169

169170
# Debug target for testing helm repo commands
170171
.PHONY: debug-helm
171172
debug-helm:
172-
echo "=== Testing Helm Commands ==="
173-
echo "Helm version:"
174-
helm version
175-
echo "Testing repo add command:"
176-
helm repo list
173+
set -e; \
174+
echo "=== Testing Helm Commands ==="; \
175+
echo "Helm version:"; \
176+
helm version; \
177+
echo "Testing repo add command:"; \
178+
helm repo list; \
177179
echo "=== End Helm Tests ==="

0 commit comments

Comments
 (0)