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

[CI] Validate CDN assets in typescript #181733

Merged
merged 6 commits into from
Apr 26, 2024
Merged

Conversation

delanni
Copy link
Contributor

@delanni delanni commented Apr 25, 2024

Summary

Replaces bash/curl validation with Typescript, to see if it's any faster or more reliable

This was a successful run: https://buildkite.com/elastic/kibana-artifacts-container-image/builds/11689#018f1a82-bf0f-4cd4-ac34-4f822d73a17b - the validation seems to have taken place in 5 seconds (instead of 15m+)

@delanni delanni marked this pull request as ready for review April 26, 2024 15:26
@delanni delanni requested a review from a team as a code owner April 26, 2024 15:26
@delanni delanni added Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Apr 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@delanni delanni force-pushed the validate-cdn-assets-in-typescript branch from b3d0525 to 92fa9c7 Compare April 26, 2024 15:42
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #20 / alerting api integration security and spaces enabled Alerts - Group 1 alerts backfill rule runs get backfill global_read at space1 should handle getting backfill job requests appropriately

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@delanni delanni merged commit 26e5bfa into main Apr 26, 2024
17 checks passed
@delanni delanni deleted the validate-cdn-assets-in-typescript branch April 26, 2024 17:11
delanni added a commit that referenced this pull request May 3, 2024
## Summary
Related to #181733 - I didn't check, and axios rejects requests'
promises that don't result in `2xx`.

This PR wraps the attempt in a try-catch to be able to retry.
yuliacech pushed a commit to yuliacech/kibana that referenced this pull request May 3, 2024
## Summary
Replaces bash/curl validation with Typescript, to see if it's any faster
or more reliable

This was a successful run:
https://buildkite.com/elastic/kibana-artifacts-container-image/builds/11689#018f1a82-bf0f-4cd4-ac34-4f822d73a17b
- the validation seems to have taken place in 5 seconds.
yuliacech pushed a commit to yuliacech/kibana that referenced this pull request May 3, 2024
## Summary
Related to elastic#181733 - I didn't check, and axios rejects requests'
promises that don't result in `2xx`.

This PR wraps the attempt in a try-catch to be able to retry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants