sh "metadata-json-lint metadata.json"
end
-# CentOS CBS VM
-desc "Beaker tests against CentOS 7 VM with latest Oxygen testing RPM from CentOS CBS repo"
-task :cent_8test_cbs_vm do
- sh "RS_SET=centos-7 RPM_REPO='http://cbs.centos.org/repos/nfv7-opendaylight-8-testing/$basearch/os/' bundle exec rake beaker"
-end
-
-# CentOS CBS Container
-desc "Beaker tests against CentOS 7 container with latest Oxygen testing RPM from CentOS CBS repo"
-task :cent_8test_cbs_dock do
- sh "RS_SET=centos-7-docker RPM_REPO='http://cbs.centos.org/repos/nfv7-opendaylight-8-testing/$basearch/os/' bundle exec rake beaker"
-end
-
# CentOS Nexus VM
desc "Beaker tests against CentOS 7 VM with latest Oxygen testing RPM from ODL Nexus repo"
task :cent_8test_nexus_vm do
sh "RS_SET=centos-7-docker RPM_REPO='https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-$basearch-devel' bundle exec rake beaker"
end
+# CentOS CBS VM
+desc "Beaker tests against CentOS 7 VM with latest Oxygen testing RPM from CentOS CBS repo"
+task :cent_8test_cbs_vm do
+ sh "RS_SET=centos-7 RPM_REPO='http://cbs.centos.org/repos/nfv7-opendaylight-8-testing/$basearch/os/' bundle exec rake beaker"
+end
+
+# CentOS CBS Container
+desc "Beaker tests against CentOS 7 container with latest Oxygen testing RPM from CentOS CBS repo"
+task :cent_8test_cbs_dock do
+ sh "RS_SET=centos-7-docker RPM_REPO='http://cbs.centos.org/repos/nfv7-opendaylight-8-testing/$basearch/os/' bundle exec rake beaker"
+end
+
# Ubuntu VMs
desc "Beaker tests against Ubuntu 16.04 Container with Boron release Deb"
task :ubuntu_6test_vm do
desc "Quick and important tests"
task :sanity=> [
:test,
- :cent_8test_cbs_dock,
+ :cent_8test_nexus_dock,
]
-# TODO: Add cent_8test_nexus_vm when INTPAK-10 is fixed
desc "All tests, use VMs for Beaker tests"
task :acceptance_vm => [
:test,
:ubuntu_6test_vm,
:cent_8test_cbs_vm,
+ :cent_8test_nexus_vm,
]
-# TODO: Add cent_8test_nexus_dock when INTPAK-10 is fixed
desc "All tests, use containers for Beaker tests"
task :acceptance_dock => [
:test,
:ubuntu_6test_dock,
:cent_8test_cbs_dock,
+ :cent_8test_nexus_dock,
]
def rpm_install_tests(options = {})
# Extract params
- rpm_repo = options.fetch(:rpm_repo, 'http://cbs.centos.org/repos/nfv7-opendaylight-8-testing/$basearch/os/')
+ rpm_repo = options.fetch(:rpm_repo, 'https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-$basearch-devel')
java_opts = options.fetch(:java_opts, '-Djava.net.preferIPv4Stack=true')
# Default to CentOS 7 Yum repo URL
def unsupported_os_tests(options = {})
# Extract params
expected_msg = options.fetch(:expected_msg)
- rpm_repo = options.fetch(:rpm_repo, 'http://cbs.centos.org/repos/nfv7-opendaylight-8-testing/$basearch/os/')
+ rpm_repo = options.fetch(:rpm_repo, 'https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-$basearch-devel')
# Confirm that classes fail on unsupported OSs
it { expect { should contain_class('opendaylight') }.to raise_error(Puppet::Error, /#{expected_msg}/) }
'content' => /<websocket-address>#{odl_bind_ip}<\/websocket-address>/
)
}
-end
\ No newline at end of file
+end