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

feat: add wait and wait_timeout to mq_broker; closes #1879 #1888

Conversation

alialkhalidi
Copy link
Contributor

SUMMARY

add wait and wait_timeout to wait for broker desired state. This will be used instead of polling for broker desired state though a separate module, broker_info.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

mq_broker

ADDITIONAL INFORMATION
  wait:
    description:
      - Specifies whether the module waits for the desired C(state).
    type: bool
  wait_timeout:
    description:
      - How long to wait (in seconds) for the broker to reach the desired state.
    default: 900
    type: int

@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request integration tests/integration module module needs_triage plugins plugin (any type) tests tests labels Jul 13, 2023
@github-actions
Copy link

github-actions bot commented Jul 13, 2023

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/85b5eebf941b40a9b4bc30f107d103e9

✔️ ansible-galaxy-importer SUCCESS in 3m 41s (non-voting)
✔️ build-ansible-collection SUCCESS in 13m 26s
✔️ ansible-test-splitter SUCCESS in 4m 45s
✔️ integration-community.aws-1 SUCCESS in 6m 47s
Skipped 21 jobs

@alialkhalidi
Copy link
Contributor Author

@alinabuzachis @markuman anything else needed here?

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/88f1936751f34453923fb8bdc908c41e

✔️ ansible-galaxy-importer SUCCESS in 4m 29s (non-voting)
✔️ build-ansible-collection SUCCESS in 13m 16s
✔️ ansible-test-splitter SUCCESS in 5m 07s
✔️ integration-community.aws-1 SUCCESS in 5m 26s
Skipped 21 jobs

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/ffd2d9b71e5441308bb628be717024fc

ansible-galaxy-importer FAILURE in 4m 52s (non-voting)
✔️ build-ansible-collection SUCCESS in 13m 06s
✔️ ansible-test-splitter SUCCESS in 4m 47s
✔️ integration-community.aws-1 SUCCESS in 5m 41s
Skipped 21 jobs

@alialkhalidi
Copy link
Contributor Author

ready_for_review

@alialkhalidi
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/b6eee16568264c8b8f023dd4b3c056dc

ansible-galaxy-importer FAILURE in 5m 52s (non-voting)
✔️ build-ansible-collection SUCCESS in 13m 18s
✔️ ansible-test-splitter SUCCESS in 5m 01s
✔️ integration-community.aws-1 SUCCESS in 7m 55s
✔️ integration-community.aws-2 SUCCESS in 6m 55s
Skipped 20 jobs

@alialkhalidi
Copy link
Contributor Author

@alinabuzachis @tremble rebased. can we finish this?

@alialkhalidi
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/e09c233179244039b1969e229606c869

✔️ ansible-galaxy-importer SUCCESS in 10m 30s (non-voting)
✔️ build-ansible-collection SUCCESS in 21m 12s
✔️ ansible-test-splitter SUCCESS in 10m 38s
✔️ integration-community.aws-1 SUCCESS in 7m 15s
Skipped 21 jobs

@alialkhalidi
Copy link
Contributor Author

@alinabuzachis @tremble @markuman. can we finish this?

Copy link
Contributor

@alinabuzachis alinabuzachis left a comment

Choose a reason for hiding this comment

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

@alialkhalidi Sorry for the late reply. Can you please update version_added to 7.1.0? Other than that, LGTM! Thank you for working on this.

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/770731dca2da4d48bc20affa306db213

ansible-galaxy-importer FAILURE in 5m 12s (non-voting)
✔️ build-ansible-collection SUCCESS in 15m 06s
✔️ ansible-test-splitter SUCCESS in 5m 21s
✔️ integration-community.aws-1 SUCCESS in 8m 03s
Skipped 21 jobs

@alialkhalidi
Copy link
Contributor Author

recheck

@alialkhalidi
Copy link
Contributor Author

@alinabuzachis those failing tests are expected?

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/68a656e5348a4791bce7e255746e0d0a

✔️ ansible-galaxy-importer SUCCESS in 3m 43s (non-voting)
✔️ build-ansible-collection SUCCESS in 14m 54s
✔️ ansible-test-splitter SUCCESS in 5m 55s
✔️ integration-community.aws-1 SUCCESS in 6m 58s
Skipped 21 jobs

@markuman
Copy link
Member

recheck

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/0a7af82213044838a0656110bb615052

✔️ ansible-galaxy-importer SUCCESS in 4m 26s (non-voting)
✔️ build-ansible-collection SUCCESS in 14m 19s
✔️ ansible-test-splitter SUCCESS in 5m 18s
✔️ integration-community.aws-1 SUCCESS in 9m 42s
Skipped 21 jobs

@alialkhalidi
Copy link
Contributor Author

recheck

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/0df11afa96e8483aa60c02fa660c810b

✔️ ansible-galaxy-importer SUCCESS in 5m 17s (non-voting)
✔️ build-ansible-collection SUCCESS in 14m 16s
✔️ ansible-test-splitter SUCCESS in 6m 01s
✔️ integration-community.aws-1 SUCCESS in 6m 03s
Skipped 21 jobs

@alinabuzachis alinabuzachis added the backport-7 PR should be backported to the stable-7 branch label Jan 4, 2024
@tremble
Copy link
Contributor

tremble commented Jan 4, 2024

recheck

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/a191078577b4410dbabb9af6b6b00100

✔️ ansible-galaxy-importer SUCCESS in 3m 47s (non-voting)
✔️ build-ansible-collection SUCCESS in 14m 55s
✔️ ansible-test-splitter SUCCESS in 5m 56s
✔️ integration-community.aws-1 SUCCESS in 6m 27s
Skipped 21 jobs

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Jan 9, 2024
Copy link
Contributor

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/3f097c1f238f473c821a82094f3293f6

✔️ ansible-galaxy-importer SUCCESS in 3m 41s (non-voting)
✔️ build-ansible-collection SUCCESS in 14m 42s
✔️ ansible-test-splitter SUCCESS in 5m 30s
✔️ integration-community.aws-1 SUCCESS in 6m 21s
Skipped 21 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit f65eb5a into ansible-collections:main Jan 9, 2024
90 of 105 checks passed
Copy link

patchback bot commented Jan 9, 2024

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/f65eb5a1589657c2e5273f88e834cb4663835fff/pr-1888

Backported as #2039

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jan 9, 2024
feat: add wait and wait_timeout to mq_broker; closes #1879

SUMMARY
add wait and wait_timeout to wait for broker desired state. This will be used instead of polling for broker desired state though a separate module, broker_info.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
mq_broker
ADDITIONAL INFORMATION
  wait:
    description:
      - Specifies whether the module waits for the desired C(state).
    type: bool
  wait_timeout:
    description:
      - How long to wait (in seconds) for the broker to reach the desired state.
    default: 900
    type: int

Reviewed-by: Alina Buzachis
(cherry picked from commit f65eb5a)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jan 9, 2024
…2039)

[PR #1888/f65eb5a1 backport][stable-7] feat: add wait and wait_timeout to mq_broker; closes #1879

This is a backport of PR #1888 as merged into main (f65eb5a).
SUMMARY
add wait and wait_timeout to wait for broker desired state. This will be used instead of polling for broker desired state though a separate module, broker_info.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
mq_broker
ADDITIONAL INFORMATION
  wait:
    description:
      - Specifies whether the module waits for the desired C(state).
    type: bool
  wait_timeout:
    description:
      - How long to wait (in seconds) for the broker to reach the desired state.
    default: 900
    type: int

Reviewed-by: Mark Chappell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-7 PR should be backported to the stable-7 branch community_review feature This issue/PR relates to a feature request integration tests/integration mergeit Merge the PR (SoftwareFactory) module module needs_triage plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants