Skip to content
Draft
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion .github/workflows/e2e-test-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,16 @@ jobs:
# grep -E "v[1-9]\.(2[5-9]|[3-9][0-9])" filters for v1.25 to v9.99
# and removes older patches of the same minor version
# awk -F. '{if(!a[$1"."$2]++)print $1"."$2"."$NF}'
# Note: PVC size modifier test included for FileSystem Backup only (CSI not supported in kind per #7507)
run: |
echo "matrix={\
\"k8s\":$(wget -q -O - "https://hub.docker.com/v2/namespaces/kindest/repositories/node/tags?page_size=50" | grep -o '"name": *"[^"]*' | grep -o '[^"]*$' | grep -v -E "alpha|beta" | grep -E "v[1-9]\.(2[5-9]|[3-9][0-9])" | awk -F. '{if(!a[$1"."$2]++)print $1"."$2"."$NF}' | sort -r | sed s/v//g | jq -R -c -s 'split("\n")[:-1]'),\
\"labels\":[\
\"Basic && (ClusterResource || NodePort || StorageClass)\", \
\"ResourceFiltering && !Restic\", \
\"ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources\", \
\"(NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)\"\
\"(NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)\", \
\"ResourceModifier && PVCSize && FSB\"\
]}" >> $GITHUB_OUTPUT

# Run E2E test against all Kubernetes versions on kind
Expand Down
18 changes: 18 additions & 0 deletions test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,24 @@ var _ = Describe(
ResourceModifiersTest,
)

var _ = Describe(
"Velero test on PVC size modification with resource modifiers for CSI Snapshot",
Label("ResourceModifier", "PVCSize", "CSI", "Snapshot", "SkipVanillaZfs"),
CSISnapshotPVCSizeModifierTest,
)

var _ = Describe(
"Velero test on PVC size modification with resource modifiers for FileSystem Backup",
Label("ResourceModifier", "PVCSize", "FSB", "Restic"),
KopiaFSBackupPVCSizeModifierTest,
)

var _ = Describe(
"Velero test on PVC size modification with resource modifiers for CSI DataMover",
Label("ResourceModifier", "PVCSize", "CSI", "DataMover", "SnapshotDataMover"),
CSIDataMoverPVCSizeModifierTest,
)

var _ = Describe(
"Velero tests of Restic backup deletion",
Label("Backups", "Deletion", "Restic"),
Expand Down
Loading
Loading