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] Mandatory windows support for all the versions #23615

Merged
merged 4 commits into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .ci/scripts/generate_build_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
if "withModule" in doc["stages"][stage]:
withModule = doc["stages"][stage]["withModule"]
if "when" in doc["stages"][stage]:
when = f"optional"
if "not_changeset_full_match" not in doc["stages"][stage]["when"]:
when = "optional"
print("| {} | {} | `{}` | {} | `{}` | {} |".format(
module, stage, command, withModule, platforms, when))
36 changes: 12 additions & 24 deletions auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,45 +72,33 @@ stages:
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test auditbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-2012:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2012-r2"
when: ## Override the top-level when.
comments:
- "/test auditbeat for windows-2012"
labels:
- "windows-2012"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-10:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-10"
when: ## Override the top-level when.
comments:
- "/test auditbeat for windows-10"
labels:
- "windows-10"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-8:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-8"
when: ## Override the top-level when.
comments:
- "/test auditbeat for windows-8"
labels:
- "windows-8"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
#windows-7: See https://github.com/elastic/beats/issues/19831
# mage: "mage build unitTest"
# platforms: ## override default labels in this specific stage.
Expand Down
36 changes: 12 additions & 24 deletions filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,34 +66,25 @@ stages:
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test filebeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-10:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-10"
when: ## Override the top-level when.
comments:
- "/test filebeat for windows-10"
labels:
- "windows-10"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-8:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-8"
when: ## Override the top-level when.
comments:
- "/test filebeat for windows-8"
labels:
- "windows-8"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
#windows-7: See https://github.com/elastic/beats/issues/22317
# mage: "mage build unitTest"
# platforms: ## override default labels in this specific stage.
Expand All @@ -110,9 +101,6 @@ stages:
platforms: ## override default labels in this specific stage.
- "windows-7-32-bit"
when: ## Override the top-level when.
comments:
- "/test filebeat for windows-7-32"
labels:
- "windows-7-32"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
63 changes: 21 additions & 42 deletions heartbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,75 +64,54 @@ stages:
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-2012:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2012-r2"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-2012"
labels:
- "windows-2012"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-10:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-10"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-10"
labels:
- "windows-10"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-2008:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2008-r2"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-2008"
labels:
- "windows-2008"
branches: true ## for all the branches
tags: true ## for all the tag
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-8:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-8"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-8"
labels:
- "windows-8"
branches: true ## for all the branches
tags: true ## for all the tag
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-7:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-7"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-7"
labels:
- "windows-7"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-7-32:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-7-32-bit"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-7-32"
labels:
- "windows-7-32"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
63 changes: 21 additions & 42 deletions metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,75 +71,54 @@ stages:
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-2012:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2012-r2"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-2012"
labels:
- "windows-2012"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-10:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-10"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-10"
labels:
- "windows-10"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-8:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-8"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-8"
labels:
- "windows-8"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-2008:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2008-r2"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-2008"
labels:
- "windows-2008"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-7:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-7"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-7"
labels:
- "windows-7"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
windows-7-32:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-7-32-bit"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-7-32"
labels:
- "windows-7-32"
branches: true ## for all the branches
tags: true ## for all the tags
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
branches: true ## for all the branches
tags: true ## for all the tags
Loading