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

OCPBUGS-16693, OCPBUGS-13387: Import page create button is disabled due to PAC validation #13046

Conversation

lokanandaprabhu
Copy link
Contributor

@lokanandaprabhu lokanandaprabhu commented Jul 25, 2023

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693
https://issues.redhat.com/browse/OCPBUGS-13387

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Screen.Recording.2023-07-25.at.2.34.08.PM.mov
Screen.Recording.2023-07-25.at.2.35.31.PM.mov

Unit test coverage report:
NA

Test setup:
-----OCPBUGS-16693----

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

---OCPBUGS-13387---

  1. In import from git form enter the git URL https://github.com/Lucifergene/oc-pipe-func
  2. Pipeline is checked and PAC option is selected by default even if user uncheck the Pipeline option user get the same error
  3. click Create button

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Jul 25, 2023
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-16693, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Unit test coverage report:
NA

Test setup:

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/dev-console Related to dev-console component/pipelines Related to pipelines-plugin labels Jul 25, 2023
@lokanandaprabhu lokanandaprabhu changed the title OCPBUGS-16693: Import page create button is disabled due to PAC validation OCPBUGS-16693, OCPBUGS-13387: Import page create button is disabled due to PAC validation Jul 25, 2023
@openshift-ci-robot openshift-ci-robot added the jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. label Jul 25, 2023
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-13387, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Unit test coverage report:
NA

Test setup:

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-13387, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693
https://issues.redhat.com/browse/OCPBUGS-13387

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Unit test coverage report:
NA

Test setup:
-----OCPBUGS-16693----

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

---OCPBUGS-13387---

  1. In import from git form enter the git URL https://github.com/lance/viewer
  2. Pipeline is checked and PAC option is selected by default even if user uncheck the Pipeline option user get the same error
  3. click Create button

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-13387, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693
https://issues.redhat.com/browse/OCPBUGS-13387

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Screen.Recording.2023-07-25.at.2.34.08.PM.mov
Screen.Recording.2023-07-25.at.2.35.31.PM.mov

Unit test coverage report:
NA

Test setup:
-----OCPBUGS-16693----

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

---OCPBUGS-13387---

  1. In import from git form enter the git URL https://github.com/lance/viewer
  2. Pipeline is checked and PAC option is selected by default even if user uncheck the Pipeline option user get the same error
  3. click Create button

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lokanandaprabhu
Copy link
Contributor Author

/cc @vikram-raj @Lucifergene

@openshift-ci openshift-ci bot requested a review from vikram-raj July 25, 2023 09:07
@Lucifergene
Copy link
Contributor

/retest

1 similar comment
@lokanandaprabhu
Copy link
Contributor Author

/retest

@lokanandaprabhu lokanandaprabhu force-pushed the feature/OCPBUGS-16693 branch 2 times, most recently from e29a9bd to b8a130e Compare July 27, 2023 06:53
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-13387, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693
https://issues.redhat.com/browse/OCPBUGS-13387

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Screen.Recording.2023-07-25.at.2.34.08.PM.mov
Screen.Recording.2023-07-25.at.2.35.31.PM.mov

Unit test coverage report:
NA

Test setup:
-----OCPBUGS-16693----

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

---OCPBUGS-13387---

  1. In import from git form enter the git URL https://github.com/Lucifergene/oc-pipe-func
  2. Pipeline is checked and PAC option is selected by default even if user uncheck the Pipeline option user get the same error
  3. click Create button

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2023
Copy link
Contributor

@Lucifergene Lucifergene left a comment

Choose a reason for hiding this comment

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

Satisfies all the edge cases.

  • Without Serverless Operator installed
  • With Serverless operator installed
  • With the Pipeline Templates installed

/lgtm

@Lucifergene
Copy link
Contributor

/retest

@lokanandaprabhu
Copy link
Contributor Author

Propage labels from the epic:

/label docs-approved
/label px-approved

@openshift-ci openshift-ci bot added docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR labels Jul 28, 2023
@vikram-raj
Copy link
Member

When I import a repo that has func.yaml, it detected the import strategy as a serverless function, and in the Pipeline section, it shows an alert as the pipeline is not present for the Serverless function. But when I switch to the Builder Image import strategy it still shows the same alert instead of showing the pipeline for a combination of Serverless deployment and node.js. See the GIF below

GH-13046-issue.mov

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2023
@vikram-raj
Copy link
Member

/retest

Copy link
Member

@vikram-raj vikram-raj left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 4, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lokanandaprabhu, Lucifergene, vikram-raj

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 4, 2023

@lokanandaprabhu: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit bd06053 into openshift:master Aug 4, 2023
6 checks passed
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: Jira Issue OCPBUGS-13387: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-13387 has been moved to the MODIFIED state.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-16693
https://issues.redhat.com/browse/OCPBUGS-13387

Analysis / Root cause:
On selecting of default pipeline from the cluster, PAC validation was happening, so the create button is disabled

Solution Description:
Added validation only if the pipeline type is PAC

Screen shots / Gifs for design review:

Screen.Recording.2023-07-25.at.2.34.08.PM.mov
Screen.Recording.2023-07-25.at.2.35.31.PM.mov

Unit test coverage report:
NA

Test setup:
-----OCPBUGS-16693----

  1. Go to Import from Git page
  2. Add repository https://bitbucket.org/lokanandap/hello-func
  3. Select Use Pipeline from this cluster in Add Pipeline section

---OCPBUGS-13387---

  1. In import from git form enter the git URL https://github.com/Lucifergene/oc-pipe-func
  2. Pipeline is checked and PAC option is selected by default even if user uncheck the Pipeline option user get the same error
  3. click Create button

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lokanandaprabhu
Copy link
Contributor Author

/cherry-pick release-4.13

@openshift-cherrypick-robot

@lokanandaprabhu: new pull request created: #13116

In response to this:

/cherry-pick release-4.13

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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/dev-console Related to dev-console component/pipelines Related to pipelines-plugin docs-approved Signifies that Docs has signed off on this PR jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants