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

projectatomic / osbs-client / 2394 / 4
75%
master: 86%

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Ran 10 Mar 2017 04:06PM UTC
Files 19
Run time 1s
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

10 Mar 2017 04:04PM UTC coverage: 75.008% (+0.02%) from 74.985%
2394.4

push

travis-ci

twaugh
Coordinate plugins for orchestrator/worker builds

This commit introduces the concept of an 'arrangement version'. For
orchestrator builds, the plugins run in the orchestrator build and those
run in the worker build must be coordinated.  Changes to this
arrangement will be made by defining a new arrangement version and
creating new 'inner' JSON templates for the orchestrator and worker
builds. The DEFAULT_ARRANGEMENT_VERSION constant will be incremented to
match this new version.

The osbs.conf configuration file now has an arrangement_version keyword,
which defaults to DEFAULT_ARRANGEMENT_VERSION.

The create_orchestrator_build() method takes an optional keyword
parameter 'arrangement_version', which defaults to the value provided
from configuration. This is used to select the orchestrator_inner:n.json
template to use, as well as being provided to the orchestrate_build
plugin as part of its build_kwargs parameter.

The create_worker_build() method has a new required
'arrangement_version' parameter. This is used to select the
worker_inner:n.json template to use.

When a requested arrangement version is not present (the inner template
file does not exist) for either an orchestrator or worker build,
OsbsValidationException is raised.

This is made possible by avoiding nested calls to @osbsapi-wrapped
methods. The create_prod_build method is renamed to
_do_create_prod_build (which is not @osbsapi-wrapped), and
create_*_build methods all use this.

Signed-off-by: Tim Waugh <twaugh@redhat.com>

2461 of 3281 relevant lines covered (75.01%)

0.75 hits per line

Source Files on job 2394.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2394
  • Travis Job 2394.4
  • 933eb30b on github
  • Prev Job for on arrangement_version (#2392.4)
  • Next Job for on arrangement_version (#2396.2)
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

© 2025 Coveralls, Inc