Commit d395e17
authored
AZP: Dry-run install of built packages to catch packaging regressions - v1.21.x (#11404)
* AZP: Install built packages to catch packaging regressions
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
* AZP: Skip RPM install dry-run when rpm db is unreadable
On euleros2sp12 and kylin10sp3 the system rpm db at /var/lib/rpm is
locked down for non-root, so 'rpm -Uvh --test' fails when opening the
db before it can validate the package. Probe with 'rpm -q rpm' and
skip the install test when the db is unreadable, so the check still
runs everywhere it can without hard-failing the build on those two
distros. Also mark the task as SucceededWithIssues so the skip
surfaces as a yellow row in the build summary instead of hiding
behind a green pass.
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
---------
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>1 parent ac3399f commit d395e17
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
0 commit comments