console
console copied to clipboard
ODC-7621,ODC-7633: Add Shipwright as Build Options in Add & Edit Forms
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [x] Added SW Build Option
- [x] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [ ] Unit Tests Updated
- [ ] E2E Tests Updated
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator
oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml
# Wait till the operator is listed in Operatorhub
sleep 60
# Install the operator
oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml
# Wait till the operator is properly installed
sleep 30
# Create SW CR
oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml
# Wait for the SW CR to be created properly
sleep 20
# Install the ClusterBuildStrategies
oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml
oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [ ] Added SW Build Option
- [ ] Fixed Edit Forms
Screenshots / Videos for review:
Test coverage:
- [ ] Unit Tests Updated
- [ ] E2E Tests Updated
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [ ] Added SW Build Option
- [ ] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [ ] Unit Tests Updated
- [ ] E2E Tests Updated
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
/cc @pankajshivpuje I have attached the SS of the Texts shown in the Form. Please review them if changes are needed.
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [x] Added SW Build Option
- [ ] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [ ] Unit Tests Updated
- [ ] E2E Tests Updated
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
@Lucifergene The design changes look awesome. I have few recommendations for clarity and consistency.
- Consider changing 'Build Option' to 'Build option' (Word Option start with lower case letter) This should be for all the fields on the page if possible.
- Suggested support text for Build option drop list: 'Build Option to use for building the application', to 'Build option to use for transforming source code into a runnable container image'
- Consider moving 'Build for OpenShift (Shipwright)' as the first option in the drop list. So if other options are removed, the order doesn't change. Recommended support text for this option: Shipwright is an extensible framework for building container images on OpenShift Container Platform cluster.
- Consider moving 'Builds' as the 2nd option in the drop list. Change the 'Builds' to 'BuildConfig' The support text for the 'BuildConfig' option should be: Build configuration describes build definitions used for transforming source code into a runnable container image'
- Consider changing option 'Pipelines' to 'Build using pipelines' with support text to 'Buid using pipeline describes a process for transforming source code into a runnable container image' Pipelines support can be added using Red Hat OpenShift Pipelines Operator.
cc @siamaksade @alimobrem @beaumorley
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [x] Added SW Build Option
- [x] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [x] Unit Tests Updated
- [ ] E2E Tests Updated
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: logonoff, Lucifergene
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~frontend/packages/dev-console/OWNERS~~ [Lucifergene]
- ~~frontend/packages/shipwright-plugin/OWNERS~~ [Lucifergene]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/retest
/label docs-approved /label px-approved
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [x] Added SW Build Option
- [x] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [x] Unit Tests Updated
New E2E Tests will be added in the subsequent PR.
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
/cc @sanketpathak Please give the qe-approval to this.
The E2E tests for this feature will be added in the next PR for the ticket: ODC-7634
The links provided in the description don't work with non-admin user
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [x] Added SW Build Option
- [x] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [x] Unit Tests Updated
New E2E Tests will be added in the subsequent PR.
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Note: For testing as a Non-Admin user, make sure to give the user permission to get the "ClusterBuildStrategy" resource, otherwise you wont be able to use the Shipwright Build at all.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
The links provided in the description don't work with non-admin user
For testing as a Non-Admin user, give the user, permission to get the "ClusterBuildStrategy" resource. Create a role that gives this permission and attach it to the user via RoleBinding.
Verified on a cluster with admin user and non-admin user with permission /label qe-approved
@Lucifergene: This pull request references ODC-7621 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
This pull request references ODC-7633 which is a valid jira issue.
In response to this:
Type:
- [ ] Bug Fix
- [x] New Feature
Jira Link:
- https://issues.redhat.com/browse/ODC-7621
- https://issues.redhat.com/browse/ODC-7633
Solution Description:
- [x] Added SW Build Option
- [x] Fixed Edit Forms
Screenshots / Videos for review:
Walkthrough:
https://github.com/openshift/console/assets/47265560/83ab139e-bc58-496f-a48a-d6a62b09b98a
Screenshots:
Test coverage:
- [x] Unit Tests Updated
New E2E Tests will be added in the subsequent PR.
Test setup:
- Install the Builds for Openshift operator (NOT THE SHIPWRIGHT OPERATOR AVAILABLE IN OPERATORHUB) If not available, execute this to install:
# Installing the Catalog Source for the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-catalog.yaml # Wait till the operator is listed in Operatorhub sleep 60 # Install the operator oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/builds-subscription.yaml # Wait till the operator is properly installed sleep 30 # Create SW CR oc apply -f https://github.com/openshift-dev-console/operator-subscriptions/raw/main/shipwright-build.yaml # Wait for the SW CR to be created properly sleep 20 # Install the ClusterBuildStrategies oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/buildah/buildah.yaml oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/raw/main/clusterBuildStrategy/source-to-image/source_to_image.yaml
- Use the Git Import Form with these URLs:
- https://github.com/digitalocean/sample-nodejs - Builder Image Import Strategy - Port: 3000
- https://github.com/Lucifergene/knative-do-demo - Dockerfile Import Strategy - Port: 5000
- Select Builds for Openshift (Shipwright) in the Build Options.
- Select the ClusterBuildStrategy
- Create the Application.
Note: For testing as a Non-Admin user, make sure to give the user permission to get the "ClusterBuildStrategy" resource, otherwise you wont be able to use the Shipwright Build at all.
Browser conformance:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
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 openshift-eng/jira-lifecycle-plugin repository.
/label acknowledge-critical-fixes-only
/retest-required
Remaining retests: 0 against base HEAD c4a222d870089b925d0a8e04cedca5ca9fcb4f7e and 2 for PR HEAD a16cecbcf6ea8020132841873d5cd76cf20ae38c in total
/retest-required
Remaining retests: 0 against base HEAD ec62f1b7d7d3d9d241c2a0a556173b9b12a274a9 and 1 for PR HEAD a16cecbcf6ea8020132841873d5cd76cf20ae38c in total
/retest-required
Remaining retests: 0 against base HEAD 8b0c110676ed784183cbd510ed66ff1b4efe63aa and 0 for PR HEAD a16cecbcf6ea8020132841873d5cd76cf20ae38c in total
/hold
Revision a16cecbcf6ea8020132841873d5cd76cf20ae38c was retested 3 times: holding
/unhold /retest
@Lucifergene: 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-sigs/prow repository. I understand the commands that are listed here.
[ART PR BUILD NOTIFIER]
This PR has been included in build openshift-enterprise-console-container-v4.17.0-202407181511.p0.g385a3e3.assembly.stream.el9 for distgit openshift-enterprise-console. All builds following this will include this PR.
[ART PR BUILD NOTIFIER]
Distgit: openshift-enterprise-console This PR has been included in build openshift-enterprise-console-container-v4.17.0-202407191642.p0.g385a3e3.assembly.stream.el9. All builds following this will include this PR.
