Skip to content

Conversation

@elfiesmelfie
Copy link
Collaborator

  • Use a list of strings, instead of a space-separated string
  • Remove the string separating tasks
  • Replace wc -l with stdout_lines | length
  • Name the loop var

vyzigold
vyzigold previously approved these changes Jun 10, 2025
ayefimov-1
ayefimov-1 previously approved these changes Jun 12, 2025
Copy link
Contributor

@ayefimov-1 ayefimov-1 left a comment

Choose a reason for hiding this comment

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

That looks good.

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/7bfdec45f3ff4ee8af74b63280096267

openstack-k8s-operators-content-provider FAILURE in 12m 06s
⚠️ functional-autoscaling-tests-osp18 SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ functional-logging-tests-osp18 SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@elfiesmelfie elfiesmelfie force-pushed the efoley/update_manifest_tests branch from 5b6e3ac to 86adbaa Compare July 4, 2025 17:58
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/87925265dc11473dad903dbaff8759a2

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 52m 14s
functional-autoscaling-tests-osp18 FAILURE in 2h 36m 33s
✔️ functional-logging-tests-osp18 SUCCESS in 1h 09m 35s

* Use a list of strings, instead of a space-separated string
* Remove the string separating tasks
* Replace `wc -l` with stdout_lines | length
* Name the loop var
Run the oc command just once to get the package manifet list, and then compare the expected packages to this static list.

This reduces the test runtime by returning all the needed information once, instead of running getting the information for each comparison.
@elfiesmelfie elfiesmelfie force-pushed the efoley/update_manifest_tests branch from 86adbaa to 96e817d Compare November 28, 2025 20:42
elfiesmelfie and others added 2 commits November 28, 2025 16:29
Change common_manifest_list from list-of-lists to list-of-dictionaries
with 'name' and 'expected_number' keys. The expected_number key is
optional and defaults to 1 when not specified.

Refactored manifest_tests.yml to use block-level variables for
expected_count and actual_count to eliminate repetitive filter
expressions and improve readability.

Updated documentation in README.md to reflect the new structure
and provide usage examples.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@elfiesmelfie elfiesmelfie dismissed stale reviews from ayefimov-1 and vyzigold November 28, 2025 21:45

There have been big changes since the review was made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants