Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Embedded Task/Pipeline/Pipeline Resources #8630

Conversation

andrewballantyne
Copy link
Contributor

Fixes:
https://issues.redhat.com/browse/ODC-5272

Analysis / Root cause:
Embedded Specs were widely just ignored and hidden when they happened. There are three we focused on and hide, they are:

  1. Task Specs (inside Pipelines)
  2. Resource Specs (inside Pipeline Runs)
  3. Pipeline Specs (inside Pipeline Runs)

Solution Description:
Support them in a basic fashion, instead of hiding them, show an "Embedded ..." text.

Screen shots / Gifs for design review:
@openshift/team-devconsole-ux

Embedded Pipeline Resource and Stand-alone Pipeline resource:
Screen Shot 2021-04-12 at 3 29 52 PM

All Embedded Tasks:
Screen Shot 2021-04-12 at 3 37 18 PM

Mixture of Embedded Tasks and Stand-alone Task resources:
Screen Shot 2021-04-12 at 3 39 53 PM

Both Embedded Pipeline and Embedded Pipeline Resource:
Screen Shot 2021-04-12 at 3 42 04 PM

Slight modification to existing Stand-alone Pipeline Resources to showcase the type (names can be anything, but our generated names have the type, like below):
Screen Shot 2021-04-12 at 3 57 14 PM

Unit test coverage report:

Coming Soon...

Test setup:

Setup Pipelines with various embedded Tasks
Setup Pipeline Runs with various embedded Pipeline Resources & embedded Pipeline

Some example resource files:

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

cc @bgliwa01 @karthikjeeyar

@openshift-ci-robot openshift-ci-robot added kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 12, 2021
Copy link

@bgliwa01 bgliwa01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@karthikjeeyar
Copy link
Contributor

Verified locally, works fine
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 13, 2021
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewballantyne, bgliwa01, karthikjeeyar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 4b3c459 into openshift:master Apr 13, 2021
@spadgett spadgett added this to the v4.8 milestone May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/pipelines Related to pipelines-plugin kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants