Skip to content

Commit

Permalink
[test-operator][tobiko] Change downloaded images path
Browse files Browse the repository at this point in the history
This patch changes the default path for downloaded images used for
tobiko testing from ~/.downloaded-images/ubuntu-minimal to
/usr/local/share.

This change is needed because we have to free /var/lib/tobiko from any
files that are present prior the container execution. This allows us to
mount ephemeral-storage to /var/lib/tobiko and use this directory as the
only point where write actions are allowed when readOnlyRootFilesystem:
true.

The location used for the downloaded images was changed with this [1]
commit in tcib.

[1] openstack-k8s-operators/tcib#233
  • Loading branch information
lpiwowar authored and openshift-merge-bot[bot] committed Dec 9, 2024
1 parent cb6ccad commit 7042f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/test_operator/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cifmw_test_operator_tobiko_default_conf:
test_runner_timeout: 14400.0
ubuntu:
interface_name: enp3s0
image_file: ~/.downloaded-images/ubuntu-minimal
image_file: /usr/local/share/ubuntu-minimal
keystone:
interface: public
manila:
Expand Down

0 comments on commit 7042f7e

Please sign in to comment.