Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5462

[SPIKE] Test build creation via instantiate binary API

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • 2
    • False
    • False
    • 0
    • Undefined
    • Not Supported

      Description

      It's possible to create a new binary build using the `oc` cli:

      oc new-build --name=sbtest java:openjdk-11-el7 --binary=true
      oc start-build sbtest --from-file=./spring-boot-artifacts.jar

      Is it possible to instantiate a new build by uploading a file from the web UI?

      Acceptance Criteria

      • Create a form with a file picker (not to be delivered to repo)
      • Upon submit of the form, the jar file will be uploaded through the build instantiatebinary API
      • If successful, the epic can continue as planned
      • If unsuccessful, identify why and if possible to fix, create stories to address the issue.

      Additional Details:

      - https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/buildconfig-build-openshift-io-v1.html#apisbuild-openshift-iov1namespacesnamespacebuildconfigsnameinstantiatebinary 

              christianvogt Christian Vogt
              christianvogt Christian Vogt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: