kibana/dev_docs/tutorials/ci.mdx
Jonathan Budzenski 946e094637
[cft] Add support for creating a new deployment (#138243)
* [cft] Add support for creating a new redeployment

- Adds a new label `ci:cloud-redeploy` that will always create a fresh deployment
- Deprecates `ci:deploy-cloud` in favor of namespacing `ci:cloud-deploy`

* booleans
2022-08-11 14:56:44 -05:00

52 lines
1.5 KiB
Text

---
id: kibDevTutorialCI
slug: /kibana-dev-docs/tutorials/ci
title: CI
description: CI
date: 2022-02-03
tags: ['kibana', 'onboarding', 'dev', 'ci']
---
## CI
Kibana uses BuildKite to run a series of checks against each pull requests and tracked branch. Results are posted in pull requests as comments and from the BuildKite UI
### Comments
Comments in pull requests can be used to trigger CI operations.
#### `buildkite test this`
Run test suites and checks.
#### `@elasticmachine merge upstream`
Merge in the most recent changes from upstream.
#### `@elasticmachine run elasticsearch-ci/docs`
Build documentation from the root `docs` folder.
### Labels
Labels can be added to a pull request to run conditional pipelines.
#### `ci:cloud-deploy`
Create or update a deployment on Elastic Cloud.
#### `ci:cloud-redeploy`
Create a new deployment on Elastic Cloud. Previous deployments linked to a pull request will be shutdown and data will not be preserved.
#### `ci:build-all-platforms`
Build Windows, macOS, and Linux archives. Artifacts will be available on the "Artifacts" tab of the "Build Kibana Distribution and Plugins" step.
#### `ci:build-os-packages`
Build Docker images, and Debian and RPM packages. Artifacts will be available on the "Artifacts" tab of the "Build Kibana Distribution and Plugins" step.
#### `ci:all-cypress-suites`
By default, Cypress test suites are only run when code changes are made in certain files, typically files with overlapping test coverage. Adding this label will cause all Cypress tests to run.