Skip to content

Commit

Permalink
tests: use centos stream-8 instead of centos 8
Browse files Browse the repository at this point in the history
CentOS 8 is EOL as of December 2021.
Let's use CentOS stream 8 instead.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit bc36f60)
  • Loading branch information
guits committed Feb 4, 2022
1 parent 000e93f commit df8fe63
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion tests/functional/cephadm/vagrant_variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cluster_subnet: 192.168.31
# set 1024 for CentOS
memory: 2048

vagrant_box: centos/8
vagrant_box: centos/stream8
# The sync directory changes based on vagrant box
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
#vagrant_sync_dir: /home/vagrant/sync
Expand Down
4 changes: 2 additions & 2 deletions tests/scripts/vagrant_up.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

vagrant box remove --force --provider libvirt --box-version 0 centos/8 || true
vagrant box add --provider libvirt --name centos/8 https://cloud.centos.org/centos/8/vagrant/x86_64/images/CentOS-8-Vagrant-8.4.2105-20210603.0.x86_64.vagrant-libvirt.box || true
vagrant box remove --force --provider libvirt --box-version 0 centos/stream8 || true
vagrant box add --provider libvirt --name centos/stream8 https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-20220125.1.x86_64.vagrant-libvirt.box || true

retries=0
until [ $retries -ge 5 ]
Expand Down
2 changes: 1 addition & 1 deletion tox-cephadm.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ setenv=
# only available for ansible >= 2.5
ANSIBLE_STDOUT_CALLBACK = yaml
# Set the vagrant box image to use
CEPH_ANSIBLE_VAGRANT_BOX = centos/8
CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8

deps= -r{toxinidir}/tests/requirements.txt
changedir= {toxinidir}/tests/functional/cephadm
Expand Down
4 changes: 2 additions & 2 deletions tox-external_clients.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ 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/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8

container: CONTAINER_DIR = /container
container: PLAYBOOK = site-container.yml.sample
Expand Down
4 changes: 2 additions & 2 deletions tox-filestore_to_bluestore.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ 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/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
ubuntu: CEPH_ANSIBLE_VAGRANT_BOX = guits/ubuntu-bionic64

# Set the ansible inventory host file to be used according to which distrib we are running on
Expand Down
2 changes: 1 addition & 1 deletion tox-podman.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ setenv=
# only available for ansible >= 2.5
ANSIBLE_STDOUT_CALLBACK = yaml
# Set the vagrant box image to use
CEPH_ANSIBLE_VAGRANT_BOX = centos/8
CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8

# Set the ansible inventory host file to be used according to which distrib we are running on
INVENTORY = {env:_INVENTORY:hosts}
Expand Down
4 changes: 2 additions & 2 deletions tox-shrink_osd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ 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/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
INVENTORY = {env:_INVENTORY:hosts}
container: CONTAINER_DIR = /container
container: PLAYBOOK = site-container.yml.sample
Expand Down
4 changes: 2 additions & 2 deletions tox-subset_update.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ 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/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8

INVENTORY = {env:_INVENTORY:hosts}
container: CONTAINER_DIR = /container
Expand Down
4 changes: 2 additions & 2 deletions tox-update.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ 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/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
ubuntu: CEPH_ANSIBLE_VAGRANT_BOX = guits/ubuntu-bionic64

# Set the ansible inventory host file to be used according to which distrib we are running on
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ setenv=
# only available for ansible >= 2.5
ANSIBLE_STDOUT_CALLBACK = yaml
# Set the vagrant box image to use
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/8
centos-non_container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
centos-container: CEPH_ANSIBLE_VAGRANT_BOX = centos/stream8
ubuntu: CEPH_ANSIBLE_VAGRANT_BOX = guits/ubuntu-bionic64

# Set the ansible inventory host file to be used according to which distrib we are running on
Expand Down

0 comments on commit df8fe63

Please sign in to comment.