Skip to content

Commit

Permalink
chore(ci): save csi tests fio results
Browse files Browse the repository at this point in the history
Save the CSI tests fio results as GitHub artifacts.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Jan 16, 2025
1 parent 01c8683 commit 0f21d7c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-01-16T04:17:04Z by kres 3b3f992.
# Generated on 2025-01-16T09:55:20Z by kres 3b3f992.

name: default
concurrency:
Expand Down Expand Up @@ -2959,6 +2959,7 @@ jobs:
path: |-
/tmp/logs-*.tar.gz
/tmp/support-*.zip
/tmp/fio-*
retention-days: "5"
integration-qemu-csi-openebs:
permissions:
Expand Down Expand Up @@ -3060,6 +3061,7 @@ jobs:
path: |-
/tmp/logs-*.tar.gz
/tmp/support-*.zip
/tmp/fio-*
retention-days: "5"
integration-qemu-csi-rook-ceph:
permissions:
Expand Down Expand Up @@ -3160,6 +3162,7 @@ jobs:
path: |-
/tmp/logs-*.tar.gz
/tmp/support-*.zip
/tmp/fio-*
retention-days: "5"
integration-qemu-encrypted-vip:
permissions:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration-qemu-csi-longhorn-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-28T13:53:18Z by kres 232fe63.
# Generated on 2025-01-16T09:55:20Z by kres 3b3f992.

name: integration-qemu-csi-longhorn-cron
concurrency:
Expand Down Expand Up @@ -122,4 +122,5 @@ jobs:
path: |-
/tmp/logs-*.tar.gz
/tmp/support-*.zip
/tmp/fio-*
retention-days: "5"
3 changes: 2 additions & 1 deletion .github/workflows/integration-qemu-csi-openebs-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-01-16T04:17:04Z by kres 3b3f992.
# Generated on 2025-01-16T09:55:20Z by kres 3b3f992.

name: integration-qemu-csi-openebs-cron
concurrency:
Expand Down Expand Up @@ -101,4 +101,5 @@ jobs:
path: |-
/tmp/logs-*.tar.gz
/tmp/support-*.zip
/tmp/fio-*
retention-days: "5"
3 changes: 2 additions & 1 deletion .github/workflows/integration-qemu-csi-rook-ceph-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-28T13:53:18Z by kres 232fe63.
# Generated on 2025-01-16T09:55:20Z by kres 3b3f992.

name: integration-qemu-csi-rook-ceph-cron
concurrency:
Expand Down Expand Up @@ -100,4 +100,5 @@ jobs:
path: |-
/tmp/logs-*.tar.gz
/tmp/support-*.zip
/tmp/fio-*
retention-days: "5"
3 changes: 3 additions & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,7 @@ spec:
artifactPath: /tmp/logs-*.tar.gz
additionalArtifacts:
- "/tmp/support-*.zip"
- "/tmp/fio-*"
- name: integration-qemu-csi-longhorn
buildxOptions:
enabled: true
Expand Down Expand Up @@ -1436,6 +1437,7 @@ spec:
artifactPath: /tmp/logs-*.tar.gz
additionalArtifacts:
- "/tmp/support-*.zip"
- "/tmp/fio-*"
- name: integration-qemu-csi-openebs
buildxOptions:
enabled: true
Expand Down Expand Up @@ -1496,6 +1498,7 @@ spec:
artifactPath: /tmp/logs-*.tar.gz
additionalArtifacts:
- "/tmp/support-*.zip"
- "/tmp/fio-*"
- name: integration-images
buildxOptions:
enabled: true
Expand Down
2 changes: 2 additions & 0 deletions internal/integration/base/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,8 @@ func (k8sSuite *K8sSuite) WaitForResource(ctx context.Context, namespace, group,
// RunFIOTest runs the FIO test with the given storage class and size using kubestr.
func (k8sSuite *K8sSuite) RunFIOTest(ctx context.Context, storageClasss, size string) error {
args := []string{
"--outfile",
fmt.Sprintf("/tmp/fio-%s", storageClasss),
"fio",
"--storageclass",
storageClasss,
Expand Down

0 comments on commit 0f21d7c

Please sign in to comment.