File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,12 +210,19 @@ all-tests:
210210 $(MAKE ) stop
211211 $(MAKE ) clean
212212
213- # Run all Spring Data Valkey examples
213+ # Examples that require a production environment (e.g., AWS cluster) and cannot run locally
214+ SKIP_EXAMPLES := boot-iam-auth
215+
216+ # Run all Spring Data Valkey examples (skipping those requiring prod environment)
214217examples :
215218 $(MAKE ) start
216219 sleep 1
217220 @for example_dir in examples/* /; do \
218221 example=$$(basename "$$example_dir") ; \
222+ if echo " $( SKIP_EXAMPLES) " | grep -qw " $$ example" ; then \
223+ echo " === Skipping $$ example (requires prod environment) ===" ; \
224+ continue ; \
225+ fi ; \
219226 echo " === Running $$ example example ===" ; \
220227 ./mvnw -q exec:java -pl examples/$$ example || (echo " $$ example example failed" ; exit 1); \
221228 echo " " ; \
You can’t perform that action at this time.
0 commit comments