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

[Enhancement] Update ci workflow so Dashboards will actually test SNAPSHOT and QUALIFIER #1486

Open
peterzhuamazon opened this issue Mar 30, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@peterzhuamazon
Copy link
Member

Hi,

As of now we skip the checks for snapshots and qualifier in ci workflow for dashboards due to it is checking package.json.
These information are not in package.json thus cannot check.

https://github.com/opensearch-project/opensearch-build/blob/main/src/ci_workflow/ci_check_npm_package_version.py#L16-L18

We need a method similar to gradle properties for yarn or some other ways to properly extract these values for ci checks.

Thanks.

@peterzhuamazon peterzhuamazon added enhancement New feature or request untriaged labels Mar 30, 2022
@peterzhuamazon peterzhuamazon changed the title [BUG] Update ci workflow so Dashboards will actually test SNAPSHOT and QUALIFIER [Enhancement] Update ci workflow so Dashboards will actually test SNAPSHOT and QUALIFIER Mar 30, 2022
@dblock
Copy link
Member

dblock commented Mar 31, 2022

Isn't the problem that package.json needs to have the snapshot and qualifier information? @kavilla

@dblock
Copy link
Member

dblock commented Apr 18, 2022

Is this still 2.0?

@peterzhuamazon
Copy link
Member Author

Is this still 2.0?

I dont think it is 2.0 required but would be nice to get it 😄

@gaiksaya
Copy link
Member

[Triage] Hey @opensearch-project/opensearch-dashboards-core, can someone look into this to support qualifier and snapshot via yarn?
Thanks!

@gaiksaya gaiksaya transferred this issue from opensearch-project/opensearch-build Apr 21, 2022
@kavilla
Copy link
Member

kavilla commented Apr 29, 2022

Hello!

So the ask here is to have other keys? I do believe when the package.json is build with snapshot or qualifer the version key will have that information.

@peterzhuamazon
Copy link
Member Author

Hello!

So the ask here is to have other keys? I do believe when the package.json is build with snapshot or qualifer the version key will have that information.

That means you need to 1st build it with the snapshot/qualifier, which is not how the manifest workflow is trying to achieve.
The workflow is trying to identify the versions already in the repo, and check if any manifest missing for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants