Skip to content

Commit 5db11aa

Browse files
committed
phase 2 decouple
Signed-off-by: Mohammed Abdi <mohammed.munir.abdi@ibm.com>
1 parent f2d2e7b commit 5db11aa

24 files changed

Lines changed: 2120 additions & 1948 deletions

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,19 @@ test-benchmark-with-setup: deploy-e2e-infra test-benchmark
298298
lint: golangci-lint ## Run golangci-lint linter
299299
$(GOLANGCI_LINT) run
300300

301+
.PHONY: lint-deploy-scripts
302+
lint-deploy-scripts: ## Run bash -n for deploy/install.sh and deploy/lib/*.sh
303+
@echo "Syntax-checking deploy shell scripts..."
304+
@bash -n deploy/install.sh
305+
@for script in deploy/lib/*.sh; do bash -n "$$script"; done
306+
@echo "deploy script syntax OK"
307+
308+
.PHONY: smoke-deploy-scripts
309+
smoke-deploy-scripts: lint-deploy-scripts ## Non-interactive deploy script smoke check (source order + arg parsing)
310+
@echo "Running deploy script smoke check..."
311+
@SKIP_CHECKS=true E2E_TESTS_ENABLED=true INSTALL_GATEWAY_CTRLPLANE=true ENVIRONMENT=kubernetes ./deploy/install.sh --help >/dev/null
312+
@echo "deploy script smoke OK"
313+
301314
.PHONY: lint-fix
302315
lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes
303316
$(GOLANGCI_LINT) run --fix

0 commit comments

Comments
 (0)