From 0ee829f91322ae1788ee6fb2a164cf06cdfff7db Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Mon, 2 Oct 2017 14:32:48 -0700 Subject: tests: Combine integration configs and testcases Combine the configs and testcases directories, so all files are together in one place. Update the test config location as well. --- .../modules/apt_configure_sources_ppa.yaml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml (limited to 'tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml') diff --git a/tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml b/tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml new file mode 100644 index 00000000..9efdae52 --- /dev/null +++ b/tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml @@ -0,0 +1,29 @@ +# +# Add a PPA to source.list +# +# NOTE: on older ubuntu releases the sources file added is named +# 'curtin-dev-test-archive-trusty', without 'ubuntu' in the middle +required_features: + - apt + - ppa + - ppa_file_name +cloud_config: | + #cloud-config + apt: + sources: + source1: + keyid: 0165013E + keyserver: keyserver.ubuntu.com + source: "ppa:curtin-dev/test-archive" +collect_scripts: + sources.list: | + #!/bin/bash + cat /etc/apt/sources.list.d/curtin-dev-ubuntu-test-archive-*.list + apt-key: | + #!/bin/bash + apt-key finger + sources_full: | + #!/bin/bash + cat /etc/apt/sources.list + +# vi: ts=4 expandtab -- cgit v1.2.3