-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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] Fix scheduled JDK matrix CI jobs #15623
[ci] Fix scheduled JDK matrix CI jobs #15623
Conversation
164fe7f
to
6d07291
Compare
This commit fixes failed scheduled JDK matrix CI jobs, that can't access the default values for the OS and JDK from the input steps, as observed in [^1] and [^2]. [^1] https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/53#018c1371-b760-4c28-9203-340c0a1df150 [^2]: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/35#018c1371-b72e-48b4-b707-ce103eb6039c
6d07291
to
162ae8c
Compare
This reverts commit c540971.
Because scheduled job testing is tricky, this is how this PR has been tested:
Linux: https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/55 Windows: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/41
The PR is now ready for review. I've reverted c540971 and we are back to the state described in 1. |
SonarQube Quality Gate |
@@ -1,5 +1,9 @@ | |||
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json | |||
|
|||
env: | |||
DEFAULT_MATRIX_OS: "ubuntu-2204" | |||
DEFAULT_MATRIX_JDK: "adoptiumjdk_17" |
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 discussed offline with @alexsapran who pointed out that another alternative for this would be to define it as env vars in the schedule branch section. In that case, the env vars here will always override any values in the schedule.
I think I prefer things as they are here, though, because we won't have different defaults per branch and will not need to define them in catalog-info.yaml and the source of truth for the defaults remains in the pipeline file.
💚 Build Succeeded
History
cc @dliappis |
@logstashmachine backport 8.11 |
@logstashmachine backport 7.17 |
This commit fixes failed scheduled JDK matrix CI jobs, that can't access the default values for the OS and JDK from the input steps, as observed in [^1] and [^2]. [^1] https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/53#018c1371-b760-4c28-9203-340c0a1df150 [^2]: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/35#018c1371-b72e-48b4-b707-ce103eb6039c (cherry picked from commit f0019bf)
This commit fixes failed scheduled JDK matrix CI jobs, that can't access the default values for the OS and JDK from the input steps, as observed in [^1] and [^2]. [^1] https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/53#018c1371-b760-4c28-9203-340c0a1df150 [^2]: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/35#018c1371-b72e-48b4-b707-ce103eb6039c (cherry picked from commit f0019bf)
This commit fixes failed scheduled JDK matrix CI jobs, that can't access the default values for the OS and JDK from the input steps, as observed in [^1] and [^2]. [^1] https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/53#018c1371-b760-4c28-9203-340c0a1df150 [^2]: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/35#018c1371-b72e-48b4-b707-ce103eb6039c (cherry picked from commit f0019bf) Co-authored-by: Dimitrios Liappis <[email protected]>
This commit fixes failed scheduled JDK matrix CI jobs, that can't access the default values for the OS and JDK from the input steps, as observed in [^1] and [^2]. [^1] https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/53#018c1371-b760-4c28-9203-340c0a1df150 [^2]: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/35#018c1371-b72e-48b4-b707-ce103eb6039c (cherry picked from commit f0019bf) Co-authored-by: Dimitrios Liappis <[email protected]>
Release notes
[rn:skip]
What does this PR do?
This commit fixes failed scheduled JDK matrix CI jobs, that can't access the default values for the OS and JDK from the input steps, as observed in [^1] and [^2].
[^1] https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/53#018c1371-b760-4c28-9203-340c0a1df150 [^2]: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline/builds/35#018c1371-b72e-48b4-b707-ce103eb6039c
Related issues