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

test: add script to check that all services have corresponding endpoints #145

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

nikolaymatrosov
Copy link
Contributor

The script could be used in CI/CD workflow, to check that endpoints are defined for all services.

On current master script fails with following message:

> ts-node scripts/check-endpoints.ts

Missing service speechkit.stt.v3.AsyncRecognizer
Missing service speechkit.stt.v3.Recognizer
Missing service yandex.cloud.ai.llm.v1alpha.EmbeddingsService
Missing service yandex.cloud.ai.llm.v1alpha.TextGenerationAsyncService
Missing service yandex.cloud.ai.llm.v1alpha.TextGenerationService
Missing service yandex.cloud.ai.llm.v1alpha.TokenizerService
Missing service yandex.cloud.ai.ocr.v1.TextRecognitionAsyncService
Missing service yandex.cloud.mdb.mysql.v1alpha.BackupService
Missing service yandex.cloud.mdb.mysql.v1alpha.ClusterService
Missing service yandex.cloud.mdb.mysql.v1alpha.DatabaseService
Missing service yandex.cloud.mdb.mysql.v1alpha.ResourcePresetService
Missing service yandex.cloud.mdb.mysql.v1alpha.UserService

Process finished with exit code 1

@nikolaymatrosov
Copy link
Contributor Author

These missing services are the reason why there were opened issues #143 and #144.

@DavyJohnes
Copy link
Contributor

@nikolaymatrosov let's use test: prefix in commit message, since these changes shouldn't produce new release.

@nikolaymatrosov nikolaymatrosov force-pushed the feature/check-endpoints branch from a4ca194 to 33b0e2f Compare October 17, 2023 14:32
@nikolaymatrosov nikolaymatrosov changed the title feat: add script to check that all services have corresponding endpoints test: add script to check that all services have corresponding endpoints Oct 17, 2023
@DavyJohnes DavyJohnes merged commit 79ac104 into master Oct 18, 2023
3 checks passed
@yandex-cloud-bot
Copy link
Collaborator

🎉 This PR is included in version 2.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants