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

projectatomic / atomic-reactor / 3496
96%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2017 09:32AM UTC
Jobs 3
Files 58
Run time 1min
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

pending completion
3496

push

travis-ci

twaugh
plugins/add_filesystem: split worker and orchestrator

In a case where we're building images for multiple architectures, we need
to be able to pass in a list of the relevant architectures we want to
build for. In order to properly create these multi-arch builds, we need to
split the add_filesystem plugin's code up a bit, into portions that run on
the orchestrator, which organizes which workers should be utilized for
different architectures specified to build arch-specific images, and the
portion that runs on those workers.

This adds new parameters to add_filesystem, arch and architectures, which
are consumed by the worker and orchestrator builds respectively, and
overwrite image-build.conf's arches var (which we do log).

Outside of that, the majority of the work is merely reorganizing code and
conditionalizing what gets run depending on being invoked as an
orchestrator or as a worker, and then tweaking self-tests to compensate
for certain paths requiring more information provided to complete
successfully. We also now match downloaded filesystems with architecture
added to the regex, so we don't try to do something like use a PowerPC
base image on x86_64, etc.

Theoretically, this should also be backwards-compatible with an older
osbs-client that doesn't know about the orchestrator/worker split, the
run_image_task and stream_filesystem functions should simply both get
called in a single pass. It's been tested with osbs-client arrangement
version 1 as well as the new version 2 here.

While we're at it, fix the link for koji's image_build docs.

Signed-off-by: Jarod Wilson <jarod@redhat.com>

4347 of 4715 relevant lines covered (92.2%)

2.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3496.1 27 Jun 2017 09:32AM UTC 0
91.69
Travis Job 3496.1
2 3496.2 27 Jun 2017 09:33AM UTC 0
88.76
Travis Job 3496.2
3 3496.3 27 Jun 2017 09:33AM UTC 0
88.76
Travis Job 3496.3
Source Files on build 3496
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3496
  • 5171b045 on github
  • Prev Build on master (#3452)
  • Next Build on master (#3499)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc