• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubevirt / hyperconverged-cluster-operator / 3894
81%
main: 76%

Build:
Build:
LAST BUILD BRANCH: release-1.16
DEFAULT BRANCH: main
Ran 23 Sep 2020 05:08PM UTC
Jobs 1
Files 3
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Sep 2020 04:43PM UTC coverage: 80.722%. Remained the same
3894

push

travis-ci-com

web-flow
add error handling to hack/build-manifest.sh (#828)

* add error handling to hack/build-manifest.sh

`set -e` does not stop the process if the error is happened within a command substitution. This is why the [`hack/build-manifest.sh`] script didn't fail in some cases, e.g. when an image was missing in the remote registry.

This PR added error handling to the script:
* Added `trap` command and the `catch` method
* command substitution inside string building didn't catch by the trap. This lines were split to make sure the trap catches any error. For example:
```bash
A_VARIABLE="Text text${VAR1}/$(failed command)"
```
was split to something like:
```bash
A_TEMP_VAR="$(failed command)"
A_VARIABLE="Text text${VAR1}/${A_TEMP_VAR}"
```
* Single line local variables with command substitution were not caught by the trap, and was also split. For example:
```bash
function foo() {
  ...
  local a_variable="$(failed command)"
  ...
```
was split to something like:
```bash
function foo() {
  ...
  local a_variable
  a_variable="$(failed command)"
  ...
```
* Add simple versifcation to the operator CSV files, by greping for their `image:` line. This check both that the file is not empty and the image makes some sense

Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>

* csv-merger will now panic if one of the CSVs is empty

Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>

1319 of 1634 relevant lines covered (80.72%)

39.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3894.1 23 Sep 2020 05:08PM UTC 0
80.72
Travis Job 3894.1
Source Files on build 3894
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3894
  • 1314a6d7 on github
  • Prev Build on release-4.6 (#3789)
  • Next Build on release-4.6 (#3795)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc