Uploaded image for project: 'OpenShift BuildConfig'
  1. OpenShift BuildConfig
  2. OCPBUILD-93

Support adding version control labels to images built from source archives

    XMLWordPrintable

Details

    • Story
    • Resolution: Won't Do
    • Normal
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

    Description

      Description of problem:

      When an image is built from a git repository, labels are added to the image that allow to trace the source code the image was built from (like `io.openshift.build.commit.id`).

      When an image is built by uploading a source archive, it is not possible to add these labels.

      Expected results:

      It should be possible to add the labels that enable tracing the sources the image was built from.

      The `instantiatebinary` API accepts query parameters (like `revision.commit`) to provide the source control information. These could be used to add the labels.

      Or, the `instantiatebinary` API could be extended to allow adding arbitrary labels.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tdeseyn@redhat.com Tom Deseyn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty