Skip to content

Commit

Permalink
Makefile: fixes test-e2e-encryption-rotation targets
Browse files Browse the repository at this point in the history
before this change the following targets didn't work:

- make test-e2e-encryption-rotation-aescbc
- make test-e2e-encryption-rotation-aesgcm

as a result corresponding CI jobs failed.
This PR fixes the issue by adding "-" prefix to the targets.
  • Loading branch information
p0lyn0mial committed Apr 17, 2024
1 parent 80f945d commit 48b57d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test-e2e-encryption: test-unit
$(TEST_E2E_ENCRYPTION_TARGETS): test-e2e-encryption-%:
ENCRYPTION_PROVIDER=$* $(MAKE) test-e2e-encryption

TEST_E2E_ENCRYPTION_ROTATION_TARGETS=$(addprefix test-e2e-encryption-rotation,$(ENCRYPTION_PROVIDERS))
TEST_E2E_ENCRYPTION_ROTATION_TARGETS=$(addprefix test-e2e-encryption-rotation-,$(ENCRYPTION_PROVIDERS))

# these are extremely slow serial e2e encryption rotation tests that modify the cluster's global state
test-e2e-encryption-rotation: GO_TEST_PACKAGES :=./test/e2e-encryption-rotation/...
Expand All @@ -69,7 +69,7 @@ test-e2e-encryption-rotation: test-unit
.PHONY: test-e2e-encryption-rotation

.PHONY: $(TEST_E2E_ENCRYPTION_ROTATION_TARGETS)
$(TEST_E2E_ENCRYPTION_ROTATION_TARGETS): test-e2e-encryption-rotation%:
$(TEST_E2E_ENCRYPTION_ROTATION_TARGETS): test-e2e-encryption-rotation-%:
ENCRYPTION_PROVIDER=$* $(MAKE) test-e2e-encryption-rotation

.PHONY: test-e2e
Expand Down

0 comments on commit 48b57d6

Please sign in to comment.