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

Wait for deployment rollout only when binding created / modified #5785

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Jun 2, 2022

What type of PR is this:

/kind bug

What does this PR do / why we need it:

This PR tests during the patch of the service binding if this one has been created/updated or not, during odo dev.

If the binding has not been created or updated, odo dev does not wait for the pod to restart

Which issue(s) this PR fixes:

Fixes #5781

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 2, 2022
@netlify
Copy link

netlify bot commented Jun 2, 2022

Deploy Preview for odo-docusaurus-preview ready!

Name Link
🔨 Latest commit 8334e38
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/62a6f94f5318ff00087d2a27
😎 Deploy Preview https://deploy-preview-5785--odo-docusaurus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@openshift-ci openshift-ci bot requested review from dharmit and rm3l June 2, 2022 08:04
@feloy feloy requested a review from kadel June 2, 2022 08:04
@odo-robot
Copy link

odo-robot bot commented Jun 2, 2022

Validate Tests on commit 256686e finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 2, 2022

Unit Tests on commit 256686e finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 2, 2022

Windows Tests (OCP) on commit 256686e finished successfully.
View logs: TXT HTML

@feloy feloy force-pushed the bugfix-5781/no-wait-unmodified-binding branch from 81fbde4 to 1204a80 Compare June 2, 2022 08:15
@odo-robot
Copy link

odo-robot bot commented Jun 2, 2022

Kubernetes Tests on commit 256686e finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 2, 2022

OpenShift Tests on commit 256686e finished successfully.
View logs: TXT HTML

@valaparthvi
Copy link
Contributor

@feloy, Tomas mentioned in the call yday that we require integration tests for this, can you add them?

1 similar comment
@valaparthvi
Copy link
Contributor

@feloy, Tomas mentioned in the call yday that we require integration tests for this, can you add them?

@feloy feloy force-pushed the bugfix-5781/no-wait-unmodified-binding branch from 1204a80 to d3463bd Compare June 7, 2022 13:52
@valaparthvi
Copy link
Contributor

/approve

1 similar comment
@valaparthvi
Copy link
Contributor

/approve

@openshift-ci
Copy link

openshift-ci bot commented Jun 9, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: valaparthvi

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. Required by Prow. label Jun 9, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 9, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: valaparthvi

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

@feloy feloy force-pushed the bugfix-5781/no-wait-unmodified-binding branch from d3463bd to b24a302 Compare June 9, 2022 14:09
@feloy feloy force-pushed the bugfix-5781/no-wait-unmodified-binding branch from b24a302 to 8334e38 Compare June 13, 2022 08:46
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Jun 13, 2022
@feloy
Copy link
Contributor Author

feloy commented Jun 13, 2022

/override /tide

@openshift-ci
Copy link

openshift-ci bot commented Jun 13, 2022

@feloy: /override requires a failed status context or a job name to operate on.
The following unknown contexts were given:

  • /tide

Only the following contexts were expected:

  • Kubernetes Integration Tests/Kubernetes Integration Tests
  • OpenShift Integration tests/OpenShift Integration tests
  • Unit Tests/Unit Tests
  • ci/prow/unit
  • ci/prow/v4.10-images
  • ci/prow/v4.10-integration-e2e
  • ci/prow/v4.11-images
  • netlify/odo-docusaurus-preview/deploy-preview
  • pull-ci-redhat-developer-odo-main-unit
  • pull-ci-redhat-developer-odo-main-v4.10-images
  • pull-ci-redhat-developer-odo-main-v4.10-integration-e2e
  • pull-ci-redhat-developer-odo-main-v4.11-images
  • tide
  • validator/Validate

In response to this:

/override /tide

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.

@feloy
Copy link
Contributor Author

feloy commented Jun 13, 2022

/override tide

@openshift-ci
Copy link

openshift-ci bot commented Jun 13, 2022

@feloy: Overrode contexts on behalf of feloy: tide

In response to this:

/override tide

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.

@feloy
Copy link
Contributor Author

feloy commented Jun 13, 2022

/override ci/prow/v4.10-integration-e2e

flaky test

Tests pass on IBM cloud

@openshift-ci
Copy link

openshift-ci bot commented Jun 13, 2022

@feloy: Overrode contexts on behalf of feloy: ci/prow/v4.10-integration-e2e

In response to this:

/override ci/prow/v4.10-integration-e2e

flaky test

Tests pass on IBM cloud

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 merged commit c777e33 into redhat-developer:main Jun 13, 2022
cdrage pushed a commit to cdrage/odo that referenced this pull request Aug 31, 2022
…hat-developer#5785)

* Wait for deployment rollout only when binding created / modified

* Add integration test
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. Required by Prow. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

odo dev - fails to reload application if ServiceBinding is present
3 participants