-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into extra-setup-guide-f…
…ield-tests
- Loading branch information
Showing
1,930 changed files
with
19,591 additions
and
15,068 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
.buildkite/pipeline-resource-definitions/kibana-api-docs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-api-docs-daily | ||
description: Builds api_docs daily and creates a PR with the changes | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-api-docs-daily' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / api-docs / daily | ||
description: Builds api_docs daily and creates a PR with the changes | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: true | ||
branch_configuration: main | ||
cancel_intermediate_builds: true | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/build_api_docs.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
build_branches: false | ||
build_pull_requests: false | ||
publish_commit_status: false | ||
trigger_mode: none | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: false | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
appex-qa: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ | ||
schedules: | ||
Daily build: | ||
cronline: 0 0 * * * America/New_York | ||
message: Daily build | ||
branch: main |
38 changes: 38 additions & 0 deletions
38
.buildkite/pipeline-resource-definitions/kibana-fips-daily.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-fips-daily | ||
description: Run Kibana FIPS smoke tests | ||
links: | ||
- title: Pipeline link | ||
url: https://buildkite.com/elastic/kibana-fips | ||
spec: | ||
type: buildkite-pipeline | ||
owner: group:kibana-operations | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / fips | ||
description: Run Kibana FIPS smoke tests | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: "#kibana-operations-alerts" | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true" | ||
repository: elastic/kibana | ||
branch_configuration: main | ||
default_branch: main | ||
pipeline_file: ".buildkite/pipelines/fips.yml" | ||
provider_settings: | ||
trigger_mode: none | ||
schedules: | ||
daily: | ||
branch: main | ||
cronline: 0 9 * * * America/New_York | ||
teams: | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
everyone: | ||
access_level: READ_ONLY |
49 changes: 49 additions & 0 deletions
49
.buildkite/pipeline-resource-definitions/kibana-fleet-packages-daily.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-fleet-packages | ||
description: Installs all fleet packages into Kibana to ensure the install step works | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-fleet-packages' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / fleet-packages | ||
description: Installs all fleet packages into Kibana to ensure the install step works | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#fleet-notifications' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: true | ||
branch_configuration: main | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/fleet/packages_daily.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
trigger_mode: none | ||
publish_commit_status: false | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: false | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
fleet: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ | ||
schedules: | ||
Single user daily test: | ||
cronline: 0 9 * * * America/New_York | ||
message: Single user daily test | ||
env: {} | ||
branch: main |
46 changes: 46 additions & 0 deletions
46
...resource-definitions/kibana-serverless-security-solution-quality-gate-api-integration.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-serverless-secsol-qg-api-integration | ||
description: Runs the serverless security solution api integration tests for the Quality Gate | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-api-integration' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / serverless / security-solution-quality-gate / api-integration | ||
description: Runs the serverless security solution api integration tests for the Quality Gate | ||
spec: | ||
env: {} | ||
allow_rebuilds: true | ||
branch_configuration: '' | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/security_solution/api_integration.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
build_branches: false | ||
build_pull_requests: false | ||
publish_commit_status: false | ||
trigger_mode: none | ||
build_tags: false | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: false | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
security-engineering-productivity: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
appex-qa: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,46 @@ | ||
env: | ||
PUBLISH_API_DOCS_CHANGES: 'true' | ||
steps: | ||
- command: .buildkite/scripts/steps/build_api_docs.sh | ||
- command: .buildkite/scripts/steps/api_docs/type_check_with_status.sh | ||
label: Run scripts/type_check | ||
key: type_check | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-qa | ||
provider: gcp | ||
machineType: n2-standard-4 | ||
preemptible: true | ||
timeout_in_minutes: 50 | ||
|
||
- command: .buildkite/scripts/steps/api_docs/build_api_docs.sh | ||
label: 'Build API Docs' | ||
agents: | ||
queue: n2-4-spot | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-qa | ||
provider: gcp | ||
machineType: n2-standard-4 | ||
preemptible: true | ||
key: build_api_docs | ||
timeout_in_minutes: 60 | ||
timeout_in_minutes: 50 | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 3 | ||
|
||
- wait: ~ | ||
|
||
- command: .buildkite/scripts/steps/api_docs/publish_api_docs.sh | ||
label: 'Publish API Docs' | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-qa | ||
provider: gcp | ||
machineType: n2-standard-4 | ||
preemptible: true | ||
key: publish_api_docs | ||
timeout_in_minutes: 50 | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 3 | ||
if: env('PUBLISH_API_DOCS_CHANGES') == 'true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
env: | ||
DISABLE_CI_STATS_SHIPPING: "true" | ||
steps: | ||
- command: .buildkite/scripts/steps/build_kibana.sh | ||
label: Build Kibana Distribution and Plugins | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-qa | ||
provider: gcp | ||
machineType: n2-standard-16 | ||
preemptible: true | ||
key: build | ||
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''" | ||
timeout_in_minutes: 60 | ||
retry: | ||
automatic: | ||
- exit_status: "-1" | ||
limit: 3 | ||
|
||
- wait | ||
|
||
- command: TEST_PACKAGE=fips .buildkite/scripts/steps/package_testing/test.sh | ||
label: "Smoke testing for FIPS" | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-qa | ||
provider: gcp | ||
enableNestedVirtualization: true | ||
localSsds: 1 | ||
localSsdInterface: nvme | ||
machineType: n2-standard-4 | ||
timeout_in_minutes: 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.