Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,19 @@ all-tests:
$(MAKE) stop
$(MAKE) clean

# Run all Spring Data Valkey examples
# Examples that require a production environment (e.g., AWS cluster) and cannot run locally
SKIP_EXAMPLES := boot-iam-auth

# Run all Spring Data Valkey examples (skipping those requiring prod environment)
examples:
$(MAKE) start
sleep 1
@for example_dir in examples/*/; do \
example=$$(basename "$$example_dir"); \
if echo "$(SKIP_EXAMPLES)" | grep -qw "$$example"; then \
echo "=== Skipping $$example (requires prod environment) ==="; \
continue; \
fi; \
echo "=== Running $$example example ==="; \
./mvnw -q exec:java -pl examples/$$example || (echo "$$example example failed"; exit 1); \
echo ""; \
Expand Down
Loading