Skip to content

4.0.0

Compare
Choose a tag to compare
@rcerven rcerven released this 06 Oct 16:35
· 119 commits to master since this release

Requires osbs-client >= 2.0.0 and dockerfile-parse >= 1.2.0

Only Python3 is supported.

First release of OSBS 2.0 components.

Incompatible changes

  • The CLI has been completely reworked
    • All of the previous commands are gone
    • There is no monolithic build command, the functionality has been split into individual tasks
    • The tasks will be integrated into a Tekton pipeline
  • Checking user settings now happens a bit later in the process. Generally, this should make no difference
  • OSBS no longer provides the com.redhat.build-host label
    • However, if the base image has this label, the child will inherit it and it will be incorrect
    • This is a temporary problem until base images are rebuilt on OSBS 2
  • The koji.task_annotations_whitelist server-side config option is no longer accepted

Build JSON API changes

  • This API is not supported anymore

Bug Fixes

  • Fixed yum repo filenames creation for weird urls
  • allow isolated flatpaks
  • Set include_koji_repo correctly when plugin is aborted
  • Use the configured path for manifests instead of default
  • Don't follow symlinks when copying files
  • Remote hosts corrupted slots should be treated as free
  • edit .dockerignore file and allow files added by osbs in Dockerfile

Improvements

  • OMPS integration removed
  • pre_reactor_config plugin removed and functionality added to the core
  • df_path, df_dir, original_df, buildargs, dockerfile_images moved from InsideBuilder to DockerBuildWorkflow
  • schema now requires also : "openshift", "registries", "source_registry" as those are mandatory for osbs anyway
  • removed fallbacks from plugins, as all configuration should be read from config
  • removed build, create-build-image, inside-build sub parsers and related code
  • removed InputPlugin, InputPluginsRunner
  • removed rebuilds and buildconfigs
  • removed everything related to arrangement version
  • removed InsideBuilder
  • removed tasker classes (DockerTasker, ContainerTasker)
  • removed docker usage
  • remove unneeded code for buildroot imagestream
  • pre_resolve_compose: add a new compose: module_resolve_tags key
  • added tekton definitions for source containers
  • updated schema for user_params
  • update exporting labels and annotations
  • tests require now flexmock >= 0.11.0 which introduced breaking changes
  • Fetch logs from pipeline run for source container builds
  • koji_import plugin will add userdata to brew build metadata
  • improved error messages for operators digest pinning
  • Set resources for tasks
  • Add unittests for json schemas
  • Update Pipeline definition for parallel build tasks
  • Move tag_from_config plugin to prebuild
  • Add method that returns platform specific image pullspec
  • Manage workflow data
  • Add methods to work with built images
  • Don't raise error when buildstep provides no results
  • Generate labels/annotations for Tekton results earlier
  • new tasks for binary & source pipelines which set pipeline run results
  • push oci image as v2s2
  • remove worker and orchestrator subparsers and related tasks
  • remove build_json_dir usage
  • implemented job for unlocking zombie slots
  • initialize build_dir for post build plugins in plugin_based execute
  • Remove support for openshift labels
  • Remove all traces of clusters configuration
  • use reflinks for copying to platform specific dirs
  • allowlist for source containers using lookaside cache
  • Move sigterm handling to task level
  • check_and_set_platforms will always check disabled remote hosts
  • task_result option added, for non-plugin based tasks, where results or failure is stored, used by build task
  • check_and_set_platforms sets platforms_results with final platforms, for koji-container build to consume, based on platform-result argument for prebuild task
  • retries module logs HTTP errors on DEBUG level now, logging at error level was confusing users
  • add annotation_results parameter for exit tasks, and save required annotations in exit task results instead of pipelinerun annotations
  • use separate workspace for homedir in tekton pipeline
  • add build tools and rpms from build hosts to koji metadata, use build hostname as buildroot_id
  • Import koji metadata from file