Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 91c5fa7

Browse files
committed
tests: update ceph-ansible for octopus
The octopus tests should use the ceph-ansible stable-5.0 branch and the latest-octopus container image tag. Signed-off-by: Dimitri Savineau <[email protected]>
1 parent 5d16ef9 commit 91c5fa7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/tox.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fi
5959

6060
cd "$WORKSPACE"
6161
# we test the latest stable release of Ceph in priority
62-
FLAVOR="master,centos,8"
62+
FLAVOR="octopus,centos,8"
6363

6464
# build everything that was touched to make sure build succeeds
6565
mapfile -t FLAVOR_ARRAY < <(sudo make flavors.modified)
@@ -88,11 +88,11 @@ sudo make FLAVORS="$FLAVOR" build.parallel
8888
# start a local docker registry
8989
sudo docker run -d -p 5000:5000 --restart=always --name registry registry:2
9090
# add the image we just built to the registry
91-
sudo docker tag "${daemon_image}" localhost:5000/ceph/daemon:latest-master
91+
sudo docker tag "${daemon_image}" localhost:5000/ceph/daemon:latest-octopus
9292
# this avoids a race condition between the tagging and the push
9393
# which causes this to sometimes fail when run by jenkins
9494
sleep 1
95-
sudo docker --debug push localhost:5000/ceph/daemon:latest-master
95+
sudo docker --debug push localhost:5000/ceph/daemon:latest-octopus
9696

9797
cd "$CEPH_ANSIBLE_SCENARIO_PATH"
9898
vagrant up --no-provision --provider="$VAGRANT_PROVIDER"
@@ -104,7 +104,7 @@ export ANSIBLE_SSH_ARGS="-F $CEPH_ANSIBLE_SCENARIO_PATH/vagrant_ssh_config -o Co
104104
# runs a playbook to configure nodes for testing
105105
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/tests/setup.yml --extra-vars="ceph_docker_registry=$REGISTRY_ADDRESS"
106106
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/tests/functional/lvm_setup.yml
107-
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/site-docker.yml.sample --extra-vars="ceph_docker_image_tag=latest-master ceph_docker_registry=$REGISTRY_ADDRESS fetch_directory=$CEPH_ANSIBLE_SCENARIO_PATH/fetch"
107+
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/site-docker.yml.sample --extra-vars="ceph_docker_image_tag=latest-octopus ceph_docker_registry=$REGISTRY_ADDRESS fetch_directory=$CEPH_ANSIBLE_SCENARIO_PATH/fetch"
108108

109109
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/tests/functional/setup.yml
110110

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ setenv=
2424
all_daemons: REGISTRY_ADDRESS = 192.168.17.1:5000
2525
collocation: REGISTRY_ADDRESS = 192.168.15.1:5000
2626
lvm_osds: REGISTRY_ADDRESS = 192.168.39.1:5000
27-
CEPH_ANSIBLE_BRANCH = master
27+
CEPH_ANSIBLE_BRANCH = stable-5.0
2828
VAGRANT_PROVIDER = {env:VAGRANT_PROVIDER:libvirt}
2929
CEPH_ANSIBLE_VAGRANT_BOX = centos/8
3030
deps=

0 commit comments

Comments
 (0)