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

[Bug]: Missing information from Dev Guide and auto cut issues #4432

Open
owaiskazi19 opened this issue Feb 8, 2024 · 1 comment
Open

[Bug]: Missing information from Dev Guide and auto cut issues #4432

owaiskazi19 opened this issue Feb 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@owaiskazi19
Copy link
Member

owaiskazi19 commented Feb 8, 2024

Describe the bug

  1. With every release, build repo cuts autocut issues in the repo like:
    a. [AUTOCUT] Distribution Build Failed for flow-framework-2.12.0 flow-framework#500
    b. [AUTOCUT] Distribution Build Failed for skills-2.12.0 skills#178

The issue just mentions to run

Received Error: Error building skills, retry with: ./build.sh manifests/2.12.0/opensearch-2.12.0.yml --component skills.

The above information is incomplete without linking the build.sh file of opensearch-build repo or if present in the repo itself.

  1. To run the build script, OpenSearch should be published to maven local. Otherwise, it would fail with the below:
A problem occurred configuring root project 'opensearch-skills'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find org.opensearch.gradle:build-tools:2.12.0.
     Searched in the following locations:
       - file:/home/ubuntu/.m2/repository/org/opensearch/gradle/build-tools/2.12.0/build-tools-2.12.0.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/gradle/build-tools/2.12.0/build-tools-2.12.0.pom
       - https://plugins.gradle.org/m2/org/opensearch/gradle/build-tools/2.12.0/build-tools-2.12.0.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/gradle/build-tools/2.12.0/build-tools-2.12.0.pom
     Required by:
         project :

* Try:

There's no mention of the same in https://github.com/opensearch-project/opensearch-build/blob/main/DEVELOPER_GUIDE.md or if there's any other documentation where it's mentioned should be linked in the auto cut issues.

To reproduce

  1. Run ./build.sh manifests/2.12.0/opensearch-2.12.0.yml --component <component-name> without publishing OpenSearch to maven local.

Expected behavior

  1. Dev guide should mention the above details

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

No response

@owaiskazi19 owaiskazi19 added bug Something isn't working untriaged Issues that have not yet been triaged labels Feb 8, 2024
@rishabh6788 rishabh6788 removed the untriaged Issues that have not yet been triaged label Feb 13, 2024
@prudhvigodithi
Copy link
Collaborator

[Triage]
By default when executed ./build.sh manifests/2.12.0/opensearch-2.12.0.yml, this will build all components in an order (which are already ordered as per dependencies in manifest), for any component (--component skills) OpenSearch core is the mandatory requirement, hence in this case ./build.sh manifests/2.12.0/opensearch-2.12.0.yml --component OpenSearch skills should work as long as skills just depends only on OpenSearch. Its good to add this line in Build Workflow that shows users to add dependency components with --component flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants