Skip to content

Conversation

@delanni
Copy link
Contributor

@delanni delanni commented Jan 6, 2025

Summary

Similar to #195581

Adds a pipeline that builds Kibana and starts cloud deployment without going through the CI test suites (as in normal pull-request pipeline runs). It can be useful if a developer would like to save time/compute on re-building/re-testing the whole project before deploying to the cloud.

Added labels (ci:cloud-deploy / ci:cloud-redeploy) are required similarly to the usual CI flow.

Related to: https://github.com/elastic/kibana-operations/issues/121

@delanni delanni added the ci:cloud-deploy Create or update a Cloud deployment label Jan 6, 2025
@kibanamachine
Copy link
Contributor

@kibanamachine
Copy link
Contributor

@kibanamachine
Copy link
Contributor

@kibanamachine
Copy link
Contributor

Cloud deployment initiated, see credentials at: https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/192

@delanni delanni marked this pull request as ready for review January 8, 2025 11:25
@delanni delanni requested a review from a team as a code owner January 8, 2025 11:25
@delanni delanni added release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release and removed ci:cloud-deploy Create or update a Cloud deployment labels Jan 8, 2025
@delanni delanni added the ci:cloud-deploy Create or update a Cloud deployment label Jan 14, 2025
@delanni delanni marked this pull request as draft January 14, 2025 15:34
@delanni delanni force-pushed the create-deploy-cloud-pipeline branch 2 times, most recently from db2390a to 2ef578b Compare January 14, 2025 16:00
@delanni delanni force-pushed the create-deploy-cloud-pipeline branch from 2ef578b to 005281a Compare January 14, 2025 16:07
@elastic elastic deleted a comment from kibanamachine Jan 14, 2025
@delanni delanni marked this pull request as ready for review January 14, 2025 17:22
@kibanamachine
Copy link
Contributor

Cloud deployment initiated, see credentials at: https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/199

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

--message "PR Cloud deployment started at: $BUILDKITE_BUILD_URL" \
--context "cloud-deploy-job" \
--clear-previous
label: Comment with job URL
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@delanni delanni requested a review from a team January 16, 2025 13:45
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@delanni delanni merged commit e36833b into main Jan 23, 2025
8 checks passed
@delanni delanni deleted the create-deploy-cloud-pipeline branch January 23, 2025 09:26
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 7.17, 8.16, 8.17, 8.x

https://github.com/elastic/kibana/actions/runs/12926123310

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
7.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 7.17:
- Update platform security modules (main) (#206227)
8.16 Backport failed because of merge conflicts
8.17 Backport failed because of merge conflicts
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 205623

Questions ?

Please refer to the Backport tool documentation

delanni added a commit to delanni/kibana that referenced this pull request Jan 23, 2025
## Summary
Similar to elastic#195581

Adds a pipeline that builds Kibana and starts cloud deployment without
going through the CI test suites (as in normal pull-request pipeline
runs). It can be useful if a developer would like to save time/compute
on re-building/re-testing the whole project before deploying to the
cloud.

Added labels (`ci:cloud-deploy / ci:cloud-redeploy`) are required
similarly to the usual CI flow.

Related to: elastic/kibana-operations#121

(cherry picked from commit e36833b)

# Conflicts:
#	.buildkite/pipeline-resource-definitions/kibana-deploy-project.yml
#	.buildkite/pipeline-utils/github/github.ts
#	.buildkite/pipelines/serverless_deployment/build_pr_and_deploy_project.yml
#	.buildkite/pull_requests.json
#	.buildkite/scripts/lifecycle/comment_on_pr.ts
@delanni
Copy link
Contributor Author

delanni commented Jan 23, 2025

💚 All backports created successfully

Status Branch Result
8.x
8.17
8.16

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

delanni added a commit to delanni/kibana that referenced this pull request Jan 23, 2025
## Summary
Similar to elastic#195581

Adds a pipeline that builds Kibana and starts cloud deployment without
going through the CI test suites (as in normal pull-request pipeline
runs). It can be useful if a developer would like to save time/compute
on re-building/re-testing the whole project before deploying to the
cloud.

Added labels (`ci:cloud-deploy / ci:cloud-redeploy`) are required
similarly to the usual CI flow.

Related to: elastic/kibana-operations#121

(cherry picked from commit e36833b)

# Conflicts:
#	.buildkite/pipeline-resource-definitions/kibana-deploy-project.yml
#	.buildkite/pipeline-utils/github/github.ts
#	.buildkite/pipelines/serverless_deployment/build_pr_and_deploy_project.yml
#	.buildkite/pull_requests.json
#	.buildkite/scripts/lifecycle/comment_on_pr.ts
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Jan 23, 2025
## Summary
Similar to elastic#195581

Adds a pipeline that builds Kibana and starts cloud deployment without
going through the CI test suites (as in normal pull-request pipeline
runs). It can be useful if a developer would like to save time/compute
on re-building/re-testing the whole project before deploying to the
cloud.

Added labels (`ci:cloud-deploy / ci:cloud-redeploy`) are required
similarly to the usual CI flow.

Related to: elastic/kibana-operations#121
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 24, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

delanni added a commit that referenced this pull request Jan 24, 2025
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ci] Click to deploy cloud
(#205623)](#205623)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-23T09:26:03Z","message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Click to deploy
cloud","number":205623,"url":"https://github.com/elastic/kibana/pull/205623","mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205623","number":205623,"mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}}]}]
BACKPORT-->
delanni added a commit that referenced this pull request Jan 24, 2025
# Backport

This will backport the following commits from `main` to `8.17`:
- [[ci] Click to deploy cloud
(#205623)](#205623)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-23T09:26:03Z","message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Click to deploy
cloud","number":205623,"url":"https://github.com/elastic/kibana/pull/205623","mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205623","number":205623,"mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}}]}]
BACKPORT-->
delanni added a commit that referenced this pull request Jan 24, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Click to deploy cloud
(#205623)](#205623)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-23T09:26:03Z","message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Click to deploy
cloud","number":205623,"url":"https://github.com/elastic/kibana/pull/205623","mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205623","number":205623,"mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}}]}]
BACKPORT-->
@kibanamachine kibanamachine added v8.17.2 v8.16.4 v8.18.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v8.16.4 v8.17.2 v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants