summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPMR <pmr@pmr-lander>2020-06-04 02:21:08 +0000
committerPMR <pmr@pmr-lander>2020-06-04 02:21:08 +0000
commitf9ccfadefccecb592a6a66f854593b95af8bfb84 (patch)
tree185f3b2f203979730685c0ddcd7b4726b27a9438 /jobs
parent04dfb7dfadcc524702db60cdd7305a730594dc99 (diff)
parent2f659e82c9381c826727363a2a35d5cfb83887da (diff)
Merge #384699 from ~gabrielzchen/oem-qa-checkbox/+git/oem-plainbox:sources
modify sources test cases for focal and meta.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/sutton/sourcelist.txt.in14
1 files changed, 3 insertions, 11 deletions
diff --git a/jobs/sutton/sourcelist.txt.in b/jobs/sutton/sourcelist.txt.in
index 144deda..1ab4d3a 100644
--- a/jobs/sutton/sourcelist.txt.in
+++ b/jobs/sutton/sourcelist.txt.in
@@ -43,22 +43,14 @@ _description:
plugin: shell
category_id: sutton
id: sutton/sourceslist/focal-oem
-command: sources_test /etc/apt/sources.list.d/focal-oem.list "^deb http://oem.archive.canonical.com/updates/ .* public,^# deb-src http://oem.archive.canonical.com/updates/ .* public"
+command: sources_test /etc/apt/sources.list.d/focal-oem.list "^deb http://oem.archive.canonical.com/ .* oem,^# deb-src http://oem.archive.canonical.com/ .* oem"
_description:
Check if the default Focal sources list contains correct repository
plugin: shell
category_id: sutton
-id: sutton/sourceslist/project-ouagadougou-base
-command: sources_test /etc/apt/sources.list.d/`cat /etc/buildstamp | awk -F\- '/-/{print $1}' | tail -1`-ouagadougou.list "^deb http://[[:alnum:]]\+.archive.canonical.com/updates,^deb-src http://[[:alnum:]]\+.archive.canonical.com/updates"
+id: sutton/sourceslist/meta
+command: sources_test /etc/apt/sources.list.d/`cat /etc/buildstamp | awk -F\-focal\- '/-/{print "oem-" $1}' |sed s/-/./2| tail -1`*.list "^deb http://[[:alnum:]]\+.archive.canonical.com/ focal sutton,^deb http://[[:alnum:]]\+.archive.canonical.com/ focal `cat /etc/buildstamp | awk -F\-focal\- '/-/{print $1}' |sed 's/-/./1'`"
_description:
Check if project sources list under source.list.d contains correct repository
-plugin: shell
-category_id: sutton
-id: sutton/sourceslist/subproject-focal
-command: sources_test /etc/apt/sources.list.d/`cat /etc/buildstamp | awk -F\-focal\- '/-/{print $1}' | tail -1`.list "^deb http://[[:alnum:]]\+.archive.canonical.com/updates,^deb-src http://[[:alnum:]]\+.archive.canonical.com/updates"
-_description:
- Check if project sources list under source.list.d contains correct repository
-
-