github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/tests/suites/ovs_maas/task.sh (about)

     1  test_ovs_maas() {
     2  	if [ "$(skip 'test_ovs_maas')" ]; then
     3  		echo "==> TEST SKIPPED: OVS tests (MAAS)"
     4  		return
     5  	fi
     6  
     7  	set_verbosity
     8  
     9  	echo "==> Checking for dependencies"
    10  	check_dependencies juju
    11  
    12  	file="${TEST_DIR}/test-ovs-maas.log"
    13  
    14  	# shellcheck disable=SC2140
    15  	export BOOTSTRAP_ADDITIONAL_ARGS="${BOOTSTRAP_ADDITIONAL_ARGS:-} --bootstrap-series=jammy --bootstrap-constraints="tags=ovs""
    16  	bootstrap "test-ovs-maas" "${file}"
    17  
    18  	test_ovs_netplan_config
    19  
    20  	destroy_controller "test-ovs-maas"
    21  }