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

projectatomic / osbs-client
75%
master: 86%

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Repo Added 27 Jul 2015 04:08PM UTC
Files 25
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

LAST BUILD ON BRANCH arrangement_version
branch: arrangement_version
CHANGE BRANCH
x
Reset
  • arrangement_version
  • 0.15-release
  • 0.16
  • 0.17
  • 0.18
  • 0.18-buildresponse-errordetail
  • 0.18.1
  • 0.18.x
  • 0.19
  • 0.20
  • 0.21
  • 0.22
  • 0.23
  • 0.25
  • 0.26
  • 0.27
  • 0.28
  • 0.29
  • 0.30
  • 0.31
  • 0.32
  • 0.33
  • 0.33.1
  • 0.33.x
  • 0.34
  • 0.34.1
  • 0.35
  • 0.36
  • 0.36.1
  • 0.36.x
  • 0.37
  • 0.38
  • 0.39
  • 0.39.1
  • 0.39.2
  • 0.39.x
  • 0.40
  • 0.40.1
  • 0.41
  • 0.42
  • 0.42.1
  • 0.43
  • 0.44
  • 0.45
  • 0.46
  • 0.46.1
  • 127-kerberos-keytab
  • 129-remove-build-types
  • 131-132-improve-getting-logs
  • 134-improve-list-builds
  • 134-list-builds-by-date
  • 159-architecture-optional
  • 160-client-cert-auth
  • 167-log-http-error-body
  • 171-exit-plugins
  • 184-descr-diff-btwn-user-username
  • 196-use-auth
  • 216-watch-buildconfig
  • 217-BuildConfig-names
  • 221-prod-specific-params
  • 223-apiVersion-v1
  • 234-pulp-service-account-secret
  • 237-use-service-account-token
  • 238-get-pods-for-build
  • 240-scratch-add-repo
  • 241-buildconfig-update-fix
  • 254-show-layering-metadata
  • 259-configuration-fine-granular-values
  • 263-conf-remove-can-miss
  • 268-validate-registry_uri
  • 298-git-branch-optional
  • 311-create-image-stream-check-response
  • 325-tests-require-dateutil
  • 333-namespace-as-a-property
  • 339-timeout
  • 339-timeout-sleep
  • 342-pause-then-backup
  • 35-simple-tags
  • 351-list-builds-from-json
  • 356-custom-build-image
  • 407-backup-restore-fixes
  • 413-handle-missing-name-label
  • 443-suggestion
  • 60-rhel6-argparse
  • add-devel-setup
  • add-version
  • adjust-for-repo-info
  • adjust-scratch-log-message
  • aid-debugging
  • api-compat
  • arrangement-6-testing
  • arrangement-running-order
  • arrangement-testing
  • arrangements-4
  • atomic-reactor-116-standard-labels
  • atomic-reactor-339-v2-digests
  • atomic-reactor-348-push-plugin
  • backup-restore
  • backups-docs
  • base-image-autorebuild
  • basic-auth-for-metadata-plugin
  • better-rfc3399-parsing
  • build-host-optional
  • build-id-name-consistency
  • build-image-from-config
  • build-image-via-create-build
  • build-name-dashes
  • build-request-complexity
  • build-summary
  • buildconfig-names
  • buildconfig-timeout
  • builder-openshift-url-simple
  • builder-use-auth-docs-fix
  • buildresponse-ctor
  • buildresponse-errordetail
  • buildstep_logs
  • cancel-build
  • capture-fixes
  • chain-rebuild-fixes
  • check-release-alias-autorebuild
  • cleanup-downloaded-repos
  • cli-help-dont-display-unicode-u
  • cli-source-registry-uri
  • client_version
  • compress-after-pulp-push
  • configure-bump_release-plugin
  • configure-check_and_set_rebuild-plugin
  • configure-import_image-plugin
  • configure-koji_promote
  • contrib-guide
  • coveralls
  • cp-built-image-to-node
  • create-image-repos
  • create-prod-build-kwargs
  • create-worker-build
  • create_build_config_and_build-fix
  • debug-import-image
  • debug-import-image-2
  • default-args-mask-config
  • define-inst-vars-in-constructor
  • deprecate-old-build-fns
  • deprecated
  • dev-release
  • disable-pulp-pull
  • distribution-scope
  • docker-registry-uri-scheme
  • docs-devel-setup-fix-compose-mention
  • docs-parallel-v1-v2
  • docs/odcs-configuration
  • document-tokens
  • document-v2-workflow
  • dont-instantiate-build-twice
  • dont-set-parent-registry-in-simple
  • duration
  • enable-rebuild-triggers
  • enable-rebuild-triggers-2
  • ensure-image-stream-tag
  • even-more-arrangement-testing
  • example-configs
  • explain-git-branch
  • explain-mock-jsons
  • fix-additional-tags-check
  • fix-additional-tags-check-dots
  • fix-buildconfig-update
  • fix-docstring
  • fix-flatpak-default
  • fix-global-build-spec
  • fix-import-image-freeze
  • fix-incorrect-decoding
  • fix-kerberos-ccache-tests
  • fix-logging
  • fix-merged-prod-types
  • fix-scratch-build-platform-name
  • fix-simple-pull-args
  • fix-tests
  • fix-tests-0.36
  • fix-typo
  • flexmock-py26
  • get-compression-extension
  • get-encoded-logs
  • get-pdc-secret-should-return
  • get-quota
  • get-serviceaccount-token
  • get-serviceaccount-token-oc
  • get-token-oc
  • handle-410-on-watch
  • handle-connection-error
  • http-refactor
  • http-requests
  • image-stream-retry-osbs-5369
  • imagestream-create
  • imagestream-insecure-registry
  • imagestream-naming
  • imagestream-url
  • import-image-not-disabled
  • import-image-specify-build-json-dir
  • import-image-verify
  • import_image-insecure_registry
  • import_image-only-for-rebuilds
  • improve-auth-error-message
  • improve-auth-error-message-2
  • install-all-jsons
  • invoke-stop_autorebuild_if_disabled
  • isolated
  • iter-e-partial-file-timeout
  • koji-build-str
  • koji-parent-build-param
  • koji-promote-before-store-metadata
  • koji-promote-blocksize
  • koji-tag-build
  • koji-task-id
  • koji-task-param
  • koji-upload-platform
  • koji_promote_certs
  • koji_upload_dir
  • koji_upload_dir-cli-param
  • landscape-config
  • landscape-fixes
  • landscape-python-3
  • lazy-config-load
  • legacy-openshift
  • list-build-configs
  • list-builds-by-koji-task-id
  • log-on-plugin-removal
  • login-token-file
  • logs-retry-on-connection-close
  • lowercase-function-var
  • master
  • mmilata-wip
  • multipulp
  • name-label
  • next
  • nfs-dest_dir-fix
  • no-autorebuild-plugin-if-no-trigger
  • no-builds-backup
  • no-ns-padding
  • no-prod-with-secret
  • node_selector-docs
  • nv-bump-release
  • oauth2-token
  • odcs-ssl-support
  • omit-delete
  • openshift-required-version-default
  • optional-build-host
  • orchestrate-worker-config-kwargs
  • orchestrator-build
  • orchestrator-build-annotations
  • orchestrator-worker-branch-param
  • os-version-handling
  • osbs-4908-dot-in-image-name
  • osbs-instance-setup-docs
  • pause-resume
  • pdc-token-secret
  • plugins-order-rpm-all
  • pod-failure-reason
  • pr/445/head
  • prefer-schema1-digest
  • prod-without-koji-tag
  • pull-base-image-plugin
  • pulp-pull-group-manifests-fixes
  • pulp-pull-insecure
  • pulp-sync-auth
  • pulp-sync-fixes
  • pulp-sync-source-secret
  • pulp_pull
  • pulp_sync
  • py3-auth
  • random-fixes
  • raw-string-for-regexp
  • reactor-config-secret
  • reactor_config
  • refactor-tests
  • registry-delete
  • registry-uri-traceback
  • registry_api_versions
  • release_0.40
  • release_0.41
  • release_0.42
  • release_0.43
  • release_0.44
  • release_0.45
  • release_0.46
  • releasing
  • remove-labels-overwrite
  • remove-requests-404-dep
  • rename-build-test-dir
  • rename-to-osbs-client
  • render-fetch-maven-artifacts
  • render-koji-parent
  • render-koji-tag-build
  • render-resolve-composes
  • render-update-parent-image-stream-tag
  • report-git-errors
  • report-multiple-digests
  • request-use-member-dj-instance
  • requests-badstatusline
  • resolve-tags
  • resource-request
  • retryable-updates
  • revert-to-old-labels
  • rewrite-checkout_git_repo
  • rfc3339
  • rm_kti
  • run-check-and-set-rebuild-earlier
  • scratch-imagestream
  • scratch-no-compress
  • scratch-no-fetch-worker-metadata
  • scratch-unique-tags-only
  • scratch_builds2
  • set-architecture-for-add-filesystem
  • set-dockpulp-loglevel
  • set_labels_on_build_config
  • setup.py-test
  • shorten-list-builds-output
  • source-registry-fix
  • spec-review
  • specify-builder-os-url
  • split-rendering-plugins
  • stickler-ci-E501
  • stickler-f401
  • stream-encoded-logs
  • stream-logs-as-unicode
  • temporarily-disable-triggers
  • test-arrangements
  • test-check_response
  • tests-coverage
  • tests-framework-improvement
  • tests-simple-params
  • tests/disable-rawhide
  • throughput-harness
  • tokens-fixes
  • tox
  • typo
  • unique-tag-only
  • update-parent-image-stream-tag
  • update-parent-ist
  • url-label-needs-release
  • url-label-needs-release-0.40.x
  • use-compress-plugin
  • use-registry_api_versions
  • v2-cg-metadata-only
  • v2-compress
  • v2-registry-uris
  • validate_registry_uri
  • validation
  • watch-builds

pending completion
2398

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>

2472 of 3277 relevant lines covered (75.43%)

2.25 hits per line

Relevant lines Covered
Build:
Build:
3277 RELEVANT LINES 2472 COVERED LINES
2.25 HITS PER LINE
Source Files on arrangement_version
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2398 arrangement_version 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 t... push 10 Mar 2017 05:37PM UTC twaugh travis-ci pending completion  
2396 arrangement_version 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 t... push 10 Mar 2017 05:25PM UTC twaugh travis-ci pending completion  
2394 arrangement_version 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 t... push 10 Mar 2017 04:06PM UTC twaugh travis-ci pending completion  
2392 arrangement_version 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 t... push 10 Mar 2017 03:00PM UTC twaugh travis-ci pending completion  
2387 arrangement_version 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 t... push 08 Mar 2017 03:30PM UTC twaugh travis-ci pending completion  
2385 arrangement_version 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 t... push 08 Mar 2017 12:58PM UTC twaugh travis-ci pending completion  
2383 arrangement_version 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 t... push 08 Mar 2017 12:29PM UTC twaugh travis-ci pending completion  
2358 arrangement_version Add arrangement_version to create_worker_build() parameters This new parameter requires callers to specify which inner template to use by version. The idea is that the inner templates for orchestrator and worker builds should match but also provi... push 06 Mar 2017 12:46PM UTC twaugh travis-ci pending completion  
2351 arrangement_version Add arrangement_version to create_worker_build() parameters This new parameter requires callers to specify which inner template to use by version. The idea is that the inner templates for orchestrator and worker builds should match but also provi... push 06 Mar 2017 10:54AM UTC twaugh travis-ci pending completion  
2334 arrangement_version Add arrangement_version to create_worker_build() parameters This new parameter requires callers to specify which inner template to use by version. The idea is that the inner templates for orchestrator and worker builds should match but also provi... push 04 Mar 2017 12:14AM UTC twaugh travis-ci pending completion  
See All Builds (3423)
  • Repo on GitHub
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