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

[release-4.13] Create image nginx with FIO #8930

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ocs_ci/templates/CSI/cephfs/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: quay.io/ocsci/nginx:latest
image: quay.io/ocsci/nginx:fio
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html
Expand Down
2 changes: 1 addition & 1 deletion ocs_ci/templates/CSI/rbd/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: web-server
image: quay.io/ocsci/nginx:latest
image: quay.io/ocsci/nginx:fio
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html
Expand Down
2 changes: 1 addition & 1 deletion ocs_ci/templates/app-pods/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: web-server
image: quay.io/ocsci/nginx:latest
image: quay.io/ocsci/nginx:fio
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html
Expand Down
2 changes: 1 addition & 1 deletion ocs_ci/templates/app-pods/raw_block_pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: my-container
image: quay.io/ocsci/nginx:latest
image: quay.io/ocsci/nginx:fio
securityContext:
capabilities: {}
volumeDevices:
Expand Down
2 changes: 2 additions & 0 deletions ocs_ci/utility/workloads/fio.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def setup(**kwargs):
bool: True if setup succeeds else False
"""
io_pod = kwargs["pod"]
if "fio-" in io_pod.exec_cmd_on_pod(command="fio --version"):
return True
# For first cut doing simple fio install
distro = find_distro(io_pod)
pkg_mgr = DISTROS[distro]
Expand Down
Loading