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

Run integtest for components present in test manifest #4349

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

gaiksaya
Copy link
Member

Description

This change does the following:

  1. Loads the components to test from test manifest instead of build manifest
  2. Cross checks the components in the list against the given build manifest and removes the components from the list that were not a part of the distribution.

This saves resources in the CI where a stage is deployed and skipped because the components was absent. Also avoids creation of unnecessary issues in the component repos.

Issues Resolved

resolves #3461

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f37c31c) 91.35% compared to head (c2a1018) 91.35%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4349   +/-   ##
=======================================
  Coverage   91.35%   91.35%           
=======================================
  Files         190      190           
  Lines        6175     6175           
=======================================
  Hits         5641     5641           
  Misses        534      534           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -7,30 +7,30 @@
* compatible open source license.
*/

lib = library(identifier: 'jenkins@5.11.1', retriever: modernSCM([
lib = library(identifier: 'jenkins@add-getNames', retriever: modernSCM([
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are we deviating from semver here?

Copy link
Member Author

@gaiksaya gaiksaya Jan 17, 2024

Choose a reason for hiding this comment

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

No was waiting for opensearch-project/opensearch-build-libraries#361 to merge and cut a tag to be used. Else the tests would fail here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Upgraded the version and git repo to right version now.
Thanks!

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
remote: 'https://github.com/gaiksaya/opensearch-build-libraries.git',
Copy link
Member

Choose a reason for hiding this comment

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

Similar to above.

@gaiksaya gaiksaya merged commit 24deb66 into opensearch-project:main Jan 18, 2024
13 checks passed
@gaiksaya gaiksaya deleted the fix-integ-test branch January 18, 2024 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: OpenSearch integration test deploys stages for components absent from test manifest
3 participants