Skip to content

Commit cb5cd45

Browse files
committed
feat: execute tests in makefile
Signed-off-by: Mateusz Urbanek <[email protected]>
1 parent 9e69bc9 commit cb5cd45

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,15 @@ vet: vet.client vet.controller vet.sidecar ## Vet code
6666
test: .test.proto test.client test.controller test.sidecar ## Run tests including unit tests
6767

6868
.PHONY: test-e2e
69-
test-e2e: # Run e2e tests
70-
@echo "unimplemented placeholder"
69+
test-e2e: chainsaw # Run e2e tests
70+
$(CHAINSAW) test --values ./test/e2e/values.yaml
7171

7272
.PHONY: lint
7373
lint: golangci-lint.client golangci-lint.controller golangci-lint.sidecar ## Run all linters (suggest `make -k`)
7474

7575
.PHONY: lint-fix
7676
lint-fix: golangci-lint-fix.client golangci-lint-fix.controller golangci-lint-fix.sidecar ## Run all linters and perform fixes where possible (suggest `make -k`)
7777

78-
7978
##@ Build
8079

8180
.PHONY: build

test/e2e/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ spec:
2929
apiVersion: apps/v1
3030
kind: Deployment
3131
metadata:
32-
name: objectstorage-controller
33-
namespace: default
32+
name: container-object-storage-controller
33+
namespace: container-object-storage-system
3434
status:
3535
availableReplicas: 1
3636
- name: Create test BucketClass and BucketAccessClass

0 commit comments

Comments
 (0)