# Ubuntu VMs
-# TODO: Add ubuntu_6test_dock task
+desc "Beaker tests against Ubuntu 16.04 Container with Boron release Deb"
+task :ubuntu_6test_vm do
+ sh "RS_SET=ubuntu-16 DEB_REPO='ppa:odl-team/carbon' bundle exec rake beaker"
+end
# Ubuntu Containers
-# TODO: Add ubuntu_6test_dock task
+desc "Beaker tests against Ubuntu 16.04 Container with Boron release Deb"
+task :ubuntu_6test_dock do
+ sh "RS_SET=ubuntu-16-docker DEB_REPO='ppa:odl-team/carbon' bundle exec rake beaker"
+end
# Multi-test helpers
:cent_6test_dock,
]
-# TODO: Update .deb to Carbon and add a ubuntu_6test_vm test
desc "All tests, use VMs for Beaker tests"
task :acceptance_vm => [
:test,
+ :ubuntu_6test_vm,
:cent_6test_vm,
]
-# TODO: Update .deb to Carbon and add a ubuntu_6test_dock test
desc "All tests, use containers for Beaker tests"
task :acceptance_dock => [
:test,
+ :ubuntu_6test_dock,
:cent_6test_dock,
]
$odl_rest_port = '8080'
$odl_bind_ip = '0.0.0.0'
$rpm_repo = 'opendaylight-6-testing'
- $deb_repo = 'ppa:odl-team/boron'
+ $deb_repo = 'ppa:odl-team/carbon'
$log_levels = {}
$enable_ha = false
$ha_node_ips = []
context "with defaults" do
it { should contain_class('opendaylight::repos') }
it { should contain_class('apt') }
- it { should contain_apt__ppa('ppa:odl-team/boron') }
+ it { should contain_apt__ppa('ppa:odl-team/carbon') }
end
context "with custom deb_repo" do
deb_install_tests
end
- context 'installing Boron Deb' do
- deb_repo = 'ppa:odl-team/boron'
+ context 'installing Carbon Deb' do
+ deb_repo = 'ppa:odl-team/carbon'
let(:facts) {{
:osfamily => osfamily,
:operatingsystem => operatingsystem,
def deb_install_tests(options = {})
# Extract params
- deb_repo = options.fetch(:deb_repo, 'ppa:odl-team/boron')
+ deb_repo = options.fetch(:deb_repo, 'ppa:odl-team/carbon')
# Confirm the presence of Deb-related resources
it { should contain_apt__ppa(deb_repo) }