gardener-extension-shoot-fleet-agent:
  template: 'default'
  base_definition:
    repo: ~
    traits:
      version:
        preprocess: 'inject-commit-hash'
      publish:
        dockerimages:
          gardener-extension-shoot-fleet-agent:
            registry: 'gcr-readwrite'
            image: 'eu.gcr.io/gardener-project/gardener/extensions/shoot-fleet-agent'
            dockerfile: 'Dockerfile'
            target: gardener-extension-shoot-fleet-agent
  jobs:
    head-update:
      traits:
        component_descriptor: ~
        draft_release: ~
        options:
          public_build_logs: true
    pull-request:
      traits:
        pull-request: ~
        component_descriptor: ~
        options:
          public_build_logs: true
    release:
      traits:
        version:
          preprocess: 'finalize'
        release:
          nextversion: 'bump_minor'
          next_version_callback: '.ci/prepare_release'
          release_callback: '.ci/prepare_release'
        slack:
          default_channel: 'internal_scp_workspace'
          channel_cfgs:
            internal_scp_workspace:
              channel_name: 'C9CEBQPGE' #sap-tech-gardener
              slack_cfg_name: 'scp_workspace'
        component_descriptor: ~
        publish:
          dockerimages:
            gardener-extension-shoot-fleet-agent:
              tag_as_latest: true
