-
Notifications
You must be signed in to change notification settings - Fork 502
[buildkite] Add new Buildkite pipelines to test packages with Serverless #8072
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
Conversation
7733215 to
43d279d
Compare
43d279d to
554d5a0
Compare
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errors
Expand to view the tests failures
|
3469da8 to
ce9e0f1
Compare
9f35c13 to
e9af47e
Compare
🌐 Coverage report
|
| "pipelineSlug": "integrations", | ||
| "allow_org_users": true, | ||
| "allowed_repo_permissions": ["admin", "write"], | ||
| "allowed_list": ["dependabot[bot]", "mergify[bot]"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allow dependabot PRs to run buildkite pull requests.
|
|
||
| echo "Checking gsutil command..." | ||
| if ! command -v gsutil &> /dev/null ; then | ||
| echo "⚠️ gsutil is not installed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably we can add this message to the buildkite annotation, @mrodm WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer just to keep it in the output. I think there is no need to add more information in the annotation for this.
| fi | ||
|
|
||
| if [ $any_package_failing -eq 1 ] ; then | ||
| echo "These packages have failed:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably we can add this message to the buildkite annotation, @mrodm WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed packages are already in one annotation. This is to be also in the log output.
.buildkite/scripts/common.sh
Outdated
| } | ||
|
|
||
| is_pr() { | ||
| if [ "${BUILDKITE_PULL_REQUEST}" == "false" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if [ "${BUILDKITE_PULL_REQUEST}" == "false" ]; then | |
| if [[ "${BUILDKITE_PULL_REQUEST}" == "false" && "${BUILDKITE_TAG}" == "" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This repository is configured to not run builds when pushing tags (catalog.yml) build_tags: false
But to be sure I'll add this (with OR condition):
- if it is not a PR
- or, it is a tag
if [[ "${BUILDKITE_PULL_REQUEST}" == "false" || "${BUILDKITE_TAG}" == "" ]]; then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
catalog-info.yaml
Outdated
| # env: | ||
| # ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
| # # SLACK_NOTIFICATIONS_CHANNEL: '#beats-build' as the current jenkins schedule-daily? | ||
| # SLACK_NOTIFICATIONS_CHANNEL: '#ingest-test-notifications' #TODO: will be changed before GO-PROD | ||
| # SLACK_NOTIFICATIONS_ALL_BRANCHES: 'true' | ||
| # SLACK_NOTIFICATIONS_ON_SUCCESS: 'true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can enable it and use out test channel for tests: #ingest-test-notifications
WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! I'll uncomment those lines
Co-authored-by: sharbuz <87968844+sharbuz@users.noreply.github.com>
…ests)"" This reverts commit 94fa971.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks!
|
Merging since failures in the Jenkins CI job are unrelated to this change. |
Proposed commit message
Add new pipelines to test packages in serverless.
Example of output:
This PR adds a schedule-daily and a integrations-serverless pipelines to test packages with Serverless projects. Tests performed in this script/pipeline:
This pipeline is different from the one running in Pull Requests:
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues