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

Fix manifest workflow failure #2889

Merged
merged 5 commits into from
Nov 14, 2022
Merged

Fix manifest workflow failure #2889

merged 5 commits into from
Nov 14, 2022

Conversation

rishabh6788
Copy link
Collaborator

Signed-off-by: Rishabh Singh [email protected]

Description

This PR fixes version workflow to auto update input manifests.

Issues Resolved

#2854

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: Rishabh Singh <[email protected]>
Signed-off-by: Rishabh Singh <[email protected]>
Signed-off-by: Rishabh Singh <[email protected]>
Signed-off-by: Rishabh Singh <[email protected]>
@rishabh6788 rishabh6788 marked this pull request as ready for review November 14, 2022 21:13
@rishabh6788 rishabh6788 requested a review from a team as a code owner November 14, 2022 21:13
main_versions[release_version] = []
main_versions[release_version].append(component)
logging.info(f"{component.name}#main is version {release_version} (from {component_version})")
if type(component) is ComponentFromSource:
Copy link
Member

Choose a reason for hiding this comment

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

If I'm getting it correct, we assume all components here are type of ComponentFromSource that has repository in its data right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, return repo for only those components that have repository attribute

Signed-off-by: Rishabh Singh <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2022

Codecov Report

Merging #2889 (31ed908) into main (97548a3) will decrease coverage by 0.00%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##             main    #2889      +/-   ##
==========================================
- Coverage   93.72%   93.72%   -0.01%     
==========================================
  Files         158      158              
  Lines        4401     4412      +11     
==========================================
+ Hits         4125     4135      +10     
- Misses        276      277       +1     
Impacted Files Coverage Δ
src/manifests_workflow/component_opensearch.py 90.00% <ø> (ø)
src/manifests/component_manifest.py 91.52% <90.90%> (-0.48%) ⬇️
src/manifests_workflow/input_manifests.py 83.21% <100.00%> (+0.23%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@zelinh zelinh left a comment

Choose a reason for hiding this comment

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

I am good with this PR to unblock the manifest workflow. Any other opinions here or we would merge this PR. Thanks.
@dblock @gaiksaya @prudhvigodithi

@rishabh6788 rishabh6788 merged commit b1e89ed into opensearch-project:main Nov 14, 2022
mnin added a commit to graylog-labs/opensearch-build that referenced this pull request Nov 16, 2022
# By Peter Zhu (8) and others
# Via GitHub
* upstream/main: (24 commits)
  Updated manifests. (opensearch-project#2894)
  Update ref for 2.4.0 with tags (opensearch-project#2906)
  Fix status syntax for gradle check (opensearch-project#2907)
  Add the consolidated release notes for 2.4.0 release (opensearch-project#2887)
  Revert set output command (opensearch-project#2903)
  Fix status code for gradle check with retry (opensearch-project#2902)
  Upgrade actions and remove deprecated set ouput commands (opensearch-project#2901)
  Update opensearch-2.4.0.yml (opensearch-project#2896)
  Resolve Window IntegTest copy and startup issues (opensearch-project#2892)
  Update IM ref to include fix (opensearch-project#2890)
  Fix manifest workflow failure (opensearch-project#2889)
  Install twine on clients image (opensearch-project#2884)
  Freeze the ref with commit ID (opensearch-project#2882)
  Add latest url update toggle on distribution workflows (opensearch-project#2881)
  Update promoteArtifacts to support win/zip and add timer for gradle check windows (opensearch-project#2869)
  Fix signing the artifacts for .asc signatures (opensearch-project#2850)
  Update the ref with 2.4 branch for OSD. (opensearch-project#2855)
  Update the OSD manifest with commit ID (opensearch-project#2862)
  Add gradle check support for windows agent (opensearch-project#2860)
  Add default copy for opensearch-dashboards yml and docker entrypoint (opensearch-project#2861)
  ...

# Conflicts:
#	scripts/components/OpenSearch-Dashboards/install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants