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

ODC-7539: Update devfile library to v2.2.2 #13045

Merged
merged 2 commits into from Mar 12, 2024

Conversation

maysunfaisal
Copy link
Member

@maysunfaisal maysunfaisal commented Jul 24, 2023

Description

This PR updates to a newer version of devfile/library. The devfile/library go mod version that has been selected includes the updated devfile validation, whereby the ports defined in the devfile sample can now be more uniform and consistent. For example, take a peak at the Quakus devfile sample for this port change devfile-samples/devfile-sample-code-with-quarkus#23

For a list of the feature updates on devfile/library, see the release v2.2.1

Issue

Fixes devfile/api#1136

Testing

Build an image from branch, push to quay and update the console container with the quay image.

Notes

We should also be back porting this to a few releases.

@openshift-ci openshift-ci bot requested review from florkbr and rhamilto July 24, 2023 18:57
@openshift-ci openshift-ci bot added the component/backend Related to backend label Jul 24, 2023
@maysunfaisal
Copy link
Member Author

@jerolimov are you still monitoring the code base from devfile POV? If you are, I would be grateful if you could also please take a look!

@vikram-raj
Copy link
Member

/cc @jhadvig

@openshift-ci openshift-ci bot requested a review from jhadvig July 25, 2023 05:58
@maysunfaisal
Copy link
Member Author

/retest-required

@maysunfaisal
Copy link
Member Author

/retest

2 similar comments
@maysunfaisal
Copy link
Member Author

/retest

@maysunfaisal
Copy link
Member Author

/retest

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 25, 2024
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 25, 2024
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 29, 2024
@maysunfaisal
Copy link
Member Author

@thepetk could you please use this branch and test it with the new registry index with multiple versions? It is now pulling the latest devfile/library

Copy link

@thepetk thepetk left a comment

Choose a reason for hiding this comment

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

/lgtm

I've tested the updated console with the existing registry index:

  • Was able to fetch all devfile samples.
  • Was able to build an application for each one of the samples.

Another thing I've tried to test the latest changes, was to try to import from git a temp branch I've created for the go-basic sample which has two components using the same port 8080. The updated console was able to validate & build the devfile, which is not allowed atm for console as it uses an older version of devfile library. The example code is here: https://github.com/thepetk/devfile-sample-go-basic/tree/temp_branch

cc @maysunfaisal

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 6, 2024
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 6, 2024
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2024
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 1, 2024
Copy link
Contributor

openshift-ci bot commented Mar 2, 2024

@maysunfaisal: 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.

@jerolimov
Copy link
Member

/remove-lifecycle stale

@openshift-ci openshift-ci bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 5, 2024
@jerolimov
Copy link
Member

/assign @jerolimov
/cc @jerolimov @sanketpathak @The-Anton

Copy link
Member

@jerolimov jerolimov left a comment

Choose a reason for hiding this comment

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

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 7, 2024
Copy link
Contributor

openshift-ci bot commented Mar 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jerolimov, maysunfaisal, thepetk

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 Mar 7, 2024
@jerolimov
Copy link
Member

jerolimov commented Mar 7, 2024

/retitle ODC-7539: Update devfile library to v2.2.2

@openshift-ci openshift-ci bot changed the title Update to a newer devfile/library go mod version ODC-7539: Update devfile library to v2.2.2 Mar 7, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 7, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 7, 2024

@maysunfaisal: This pull request references ODC-7539 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.16.0" version, but no target version was set.

In response to this:

Description

This PR updates to a newer version of devfile/library. The devfile/library go mod version that has been selected includes the updated devfile validation, whereby the ports defined in the devfile sample can now be more uniform and consistent. For example, take a peak at the Quakus devfile sample for this port change devfile-samples/devfile-sample-code-with-quarkus#23

For a list of the feature updates on devfile/library, see the release v2.2.1

Issue

Fixes devfile/api#1136

Testing

Build an image from branch, push to quay and update the console container with the quay image.

Notes

We should also be back porting this to a few releases.

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.

@jerolimov
Copy link
Member

It's a go library update and I spend a lot of time to test different use case...

/label px-approved
/label docs-approved
/jira refresh

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 7, 2024

@jerolimov: This pull request references ODC-7539 which is a valid jira issue.

In response to this:

It's a go library update and I spend a lot of time to test different use case...

/label px-approved
/label docs-approved
/jira refresh

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.

@openshift-ci openshift-ci bot added px-approved Signifies that Product Support has signed off on this PR docs-approved Signifies that Docs has signed off on this PR labels Mar 7, 2024
@sanketpathak
Copy link
Contributor

Verified with admin and non-admin users
Screenshot 2024-03-12 at 7 00 23 PM
/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Mar 12, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 12, 2024

@maysunfaisal: This pull request references ODC-7539 which is a valid jira issue.

In response to this:

Description

This PR updates to a newer version of devfile/library. The devfile/library go mod version that has been selected includes the updated devfile validation, whereby the ports defined in the devfile sample can now be more uniform and consistent. For example, take a peak at the Quakus devfile sample for this port change devfile-samples/devfile-sample-code-with-quarkus#23

For a list of the feature updates on devfile/library, see the release v2.2.1

Issue

Fixes devfile/api#1136

Testing

Build an image from branch, push to quay and update the console container with the quay image.

Notes

We should also be back porting this to a few releases.

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 995fecb into openshift:master Mar 12, 2024
6 checks passed
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/backend Related to backend docs-approved Signifies that Docs has signed off on this PR 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 qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update ODC's Devfile Library version
8 participants