Merge ~raharper/curtin:fix/jenkins-filter-once-more into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 26660752f1f181a90faeb575a23637b743b985cc |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/jenkins-filter-once-more |
Merge into: | curtin:master |
Diff against target: |
25 lines (+6/-6) 1 file modified
tools/jenkins-runner (+6/-6) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+356597@code.launchpad.net |
Commit message
jenkins-runner: fix when using --filter only
The elif clause when checking for tests via positional or filter
parameters never took the path where we invoked vmtest-filter.
Fix this by only pre-populating tests with 'tests/vmtests' if
there are no positional parameters and no filter parameters.
Also re-indent filter block to match program style.
To post a comment you must log in.
Running a test-job with proposed enabled using three filters
target_ distro= ubuntu release= bionic *basic. yaml
target_
conf_file=
Which selects test_basic. py:BionicTestBa sic and runs it with -proposed pocket enabled.
If this is successful, then we can update the -proposed jenkins jobs to use the distro= ubuntu filter to ensure we only run Ubuntu proposed upgrades (ignoring Centos)
target_
And vmtest currently already knows to not test -proposed on the devel release.
https:/ /jenkins. ubuntu. com/server/ job/curtin- vmtest- devel-debug/ 109/console