Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-30620: move test manifests to top-level directory #194

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,12 @@ include $(addprefix ./vendor/github.com/openshift/build-machinery-go/make/, \
targets/openshift/images.mk \
)

test-unit: test-unit-aws-ebs

verify: verify-aws-ebs verify-generated-assets
verify: verify-generated-assets

verify-generated-assets: update-generated-assets
git diff --exit-code
.PHONY: verify-generated-assets

test-unit-aws-ebs:
cd legacy/aws-ebs-csi-driver-operator && $(MAKE) test-unit
.PHONY: test-unit-aws-ebs

verify-aws-ebs:
cd legacy/aws-ebs-csi-driver-operator && $(MAKE) verify
.PHONY: verify-aws-ebs

update: update-generated-assets

update-generated-assets:
Expand Down
30 changes: 30 additions & 0 deletions test/e2e/aws-ebs/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Test manifest for https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external
ShortName: ebs
StorageClass:
FromExistingClassName: gp2-csi
SnapshotClass:
FromName: true
DriverInfo:
Name: ebs.csi.aws.com
SupportedSizeRange:
Min: 1Gi
Max: 16Ti
SupportedFsType:
xfs: {}
ext4: {}
SupportedMountOption:
dirsync: {}
TopologyKeys: ["topology.ebs.csi.aws.com/zone"]
Capabilities:
persistence: true
fsGroup: true
block: true
exec: true
volumeLimits: false
controllerExpansion: true
nodeExpansion: true
snapshotDataSource: true
topology: true
multipods: true
multiplePVsSameID: true
readWriteOncePod: true
36 changes: 36 additions & 0 deletions test/e2e/azure-disk/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Test manifest for https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external
ShortName: azuredisk
StorageClass:
FromExistingClassName: managed-csi
SnapshotClass:
FromName: true
DriverInfo:
Name: disk.csi.azure.com
SupportedSizeRange:
Min: 1Gi
Max: 16Ti
SupportedFsType:
xfs: {}
ext4: {}
SupportedMountOption:
dirsync: {}
TopologyKeys: ["topology.disk.csi.azure.com/zone"]
Capabilities:
persistence: true
fsGroup: true
block: true
exec: true
volumeLimits: false
controllerExpansion: true
nodeExpansion: true
onlineExpansion: false
snapshotDataSource: true
pvcDataSource: true
topology: true
multipods: true
multiplePVsSameID: true
readWriteOncePod: true
Timeouts:
PodStart: 15m
PodDelete: 15m
PVDelete: 20m
23 changes: 23 additions & 0 deletions test/e2e/azure-file/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Test manifest for https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external
ShortName: azurefile
StorageClass:
FromExistingClassName: azurefile-csi
SnapshotClass:
FromName: true
DriverInfo:
Name: file.csi.azure.com
Capabilities:
persistence: true
exec: true
multipods: true
RWX: true
fsGroup: true
volumeMountGroup: true
topology: false
controllerExpansion: true
nodeExpansion: true
volumeLimits: false
# Snapshots are not supported in this release
snapshotDataSource: false
multiplePVsSameID: true
readWriteOncePod: true