Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-2352

Add an option in IB wizard not to share the image with an account (GCP)

    • EnVision Sprint 35, EnVision Sprint 36, EnVision Sprint 37, EnVision Sprint 38

          [HMS-2352] Add an option in IB wizard not to share the image with an account (GCP)

          The backend for IB got changed on this PR https://github.com/osbuild/image-builder/pull/840. I will now support having an empty `option` object for the upload request.
          The PR https://github.com/RedHatInsights/image-builder-frontend/pull/1355 needs to get updated to no longer be sending:
          {"distribution":"rhel-92","image_name":"adi","image_requests":[{"architecture":"x86_64","image_type":"gcp","upload_request":{"type":"gcp","options":

          {"share_with_accounts":["user:undefined"]}

          }}],"customizations":{}}
          but instead:
          {"distribution":"rhel-92","image_name":"adi","image_requests":[\{"architecture":"x86_64","image_type":"gcp","upload_request":{"type":"gcp","options":{}}}],"customizations":{}}
           

          Thomas Lavocat added a comment - The backend for IB got changed on this PR https://github.com/osbuild/image-builder/pull/840. I will now support having an empty `option` object for the upload request. The PR https://github.com/RedHatInsights/image-builder-frontend/pull/1355 needs to get updated to no longer be sending: {"distribution":"rhel-92","image_name":"adi","image_requests":[{"architecture":"x86_64","image_type":"gcp","upload_request":{"type":"gcp","options": {"share_with_accounts":["user:undefined"]} }}],"customizations":{}} but instead: {"distribution":"rhel-92","image_name":"adi","image_requests": [\{"architecture":"x86_64","image_type":"gcp","upload_request":{"type":"gcp","options":{}}}] ,"customizations":{}}  

          Ondrej Ezr added a comment -

          Thanks msviriko1! <3

          Ondrej Ezr added a comment - Thanks msviriko1 ! <3

          Mocks here, reviewed by the doc team.


          Mária Šviriková added a comment - Mocks here, reviewed by the doc team.

          Blocked until we get mocks from UX and having a discussion with Tiho.

          Adi Abramovich (Inactive) added a comment - Blocked until we get mocks from UX and having a discussion with Tiho.

          The Fix Version/s on this issue have been changed by automation.

          RHEL Jira bot added a comment - The Fix Version/s on this issue have been changed by automation.

            aabramov@redhat.com Adi Abramovich (Inactive)
            aabramov@redhat.com Adi Abramovich (Inactive)
            None
            None
            None
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: