diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34531018ebf56b03aeccd6f5af4597b35fec07fe..574293bf7b12291e2992800992c4683d60d4229a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ variables: ${APT_PROXY:+-e config.apt_proxy=${APT_PROXY}} $CREATE_ENV_VARS $BUILD_DIR - - with-ssh-key floatup ${LIBVIRT:+--ssh $LIBVIRT} --inventory $BUILD_DIR/hosts.yml --ram 2048 --cpu 2 --image ${VM_IMAGE:-bullseye} ${FLOATUP_ARGS} up + - with-ssh-key floatup ${LIBVIRT:+--ssh $LIBVIRT} --inventory $BUILD_DIR/hosts.yml --ram 2048 --cpu 2 --image ${VM_IMAGE:-bookworm} ${FLOATUP_ARGS} up - with-ssh-key ./test-driver init --no-vagrant $BUILD_DIR - with-ssh-key ./test-driver run $BUILD_DIR after_script: @@ -46,15 +46,15 @@ variables: base_test: <<: *base_test variables: - VM_IMAGE: "bullseye" - CREATE_ENV_VARS: "-e config.float_debian_dist=bullseye -e inventory.group_vars.vagrant.ansible_python_interpreter=/usr/bin/python3" + VM_IMAGE: "bookworm" + CREATE_ENV_VARS: "-e config.float_debian_dist=bookworm -e inventory.group_vars.vagrant.ansible_python_interpreter=/usr/bin/python3" TEST_DIR: "test/base.ref" full_test: <<: *base_test variables: - VM_IMAGE: "bullseye" - CREATE_ENV_VARS: "-e config.float_debian_dist=bullseye -e inventory.group_vars.vagrant.ansible_python_interpreter=/usr/bin/python3" + VM_IMAGE: "bookworm" + CREATE_ENV_VARS: "-e config.float_debian_dist=bookworm -e inventory.group_vars.vagrant.ansible_python_interpreter=/usr/bin/python3" TEST_DIR: "test/full.ref" rules: - if: $CI_MERGE_REQUEST_ID == '' @@ -64,8 +64,8 @@ full_test_review: after_script: - with-ssh-key ./test-driver cleanup --no-vagrant $BUILD_DIR variables: - VM_IMAGE: "bullseye" - CREATE_ENV_VARS: "-e config.float_debian_dist=bullseye -e inventory.group_vars.vagrant.ansible_python_interpreter=/usr/bin/python3" + VM_IMAGE: "bookworm" + CREATE_ENV_VARS: "-e config.float_debian_dist=bookworm -e inventory.group_vars.vagrant.ansible_python_interpreter=/usr/bin/python3" FLOATUP_ARGS: "--state-file .vmine_group_review_$CI_MERGE_REQUEST_ID --ttl 6h --env deploy.env --dashboard-url https://vm.investici.org" TEST_DIR: "test/full.ref" allow_failure: true