-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add daily cron for elastic-agent #5599
Conversation
This pull request does not have a backport label. Could you fix it @rowlandgeoff? 🙏
|
|
@@ -95,7 +95,6 @@ steps: | |||
command: | | |||
buildkite-agent artifact download build/distributions/** . --step 'package-it' | |||
.buildkite/scripts/steps/beats_tests.sh | |||
# if: "build.env('CRON') == 'yes'" |
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.
Let's uncomment this line. We have to run these tests only for the daily build
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.
Agent team, can you confirm the behavior you want? Currently the serverless beats tests are running with every single build, and it's been like that for at least 4 months (still digging through history). Do you only want the serverless beats tests running once per day?
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.
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.
Sorry, just found this PR via its backport but I can still add a bit of context:
This was supposed to be temporary to make sure that agent/beats changes on PRs would not break serverless beats tests.
The whole step was supposed to be moved to the beats CI pipeline at some point but here it still is 6 months after the fact.
@pierrehilbert @jlind23 do we have an idea when these tests can be moved off the agent pipeline and into beats CI?
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.
We were "only" waiting for buildkite to be available in the beats repository so I think we should be able to do it by now.
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.
Got it. We'll get this on the roadmap to do soon.
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.
Tracking with https://github.com/elastic/ingest-dev/issues/4128, currently set for sprint 37
Quality Gate passedIssues Measures |
I have removed the manually configured cron at https://buildkite.com/elastic/elastic-agent/settings/schedules |
* Add daily cron * Update integration.pipeline.yml (cherry picked from commit 6183312)
Adds the daily cron that was manually configured to the yml config.