Skip to content

Commit

Permalink
tests: use rocky linux 8
Browse files Browse the repository at this point in the history
wip

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed Sep 2, 2024
1 parent b433896 commit 18702ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/scripts/vagrant_up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ if [[ "${CEPH_ANSIBLE_VAGRANT_BOX}" =~ "centos/stream" ]]; then
vagrant box remove "${CEPH_ANSIBLE_VAGRANT_BOX}" --all --force || true
vagrant box add --force --provider libvirt --name "${CEPH_ANSIBLE_VAGRANT_BOX}" "https://cloud.centos.org/centos/${EL_VERSION}-stream/x86_64/images/${LATEST_IMAGE}" --force
fi
# Rocky-8-Vagrant-Libvirt.latest.x86_64.box
if [[ "${CEPH_ANSIBLE_VAGRANT_BOX}" =~ "rockylinux/8" ]]; then
vagrant box remove "${CEPH_ANSIBLE_VAGRANT_BOX}" --all --force || true
vagrant box add --force --provider libvirt --name "${CEPH_ANSIBLE_VAGRANT_BOX}" "https://dl.rockylinux.org/pub/rocky/8.10/images/x86_64/Rocky-8-Vagrant-Vbox.latest.x86_64.box" --force
fi

retries=0
until [ $retries -ge 5 ]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ setenv=
ANSIBLE_STDOUT_CALLBACK = yaml
non_container: DEV_SETUP = True
# Set the vagrant box image to use
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream9
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = rockylinux/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream9
INVENTORY = {env:_INVENTORY:hosts}
container: CONTAINER_DIR = /container
Expand Down

0 comments on commit 18702ac

Please sign in to comment.