Commit graph

14 commits

Author SHA1 Message Date
Kibana Machine
ae57b8a683
add a timeout to buildkite artifact downloads (#139046) (#139115)
(cherry picked from commit ab576bb6c1)

Co-authored-by: Spencer <spencer@elastic.co>
2022-08-18 11:17:06 -07:00
Jonathan Budzenski
1410bc4aa5
[cft] Add pipeline to shutdown deployment (#136659)
* [cft] Add pipeline to shutdown deployment

* 755

* save file
2022-07-20 10:22:25 -05:00
Jonathan Budzenski
7f776252d9
[cft] Enable verbose logging (#134262)
* [cft] Enable verbose logging

* fix

* fix merge
2022-06-30 12:59:52 -05:00
Jonathan Budzenski
fa8b7c952a
[cft] Improve error handling (#134519)
* [cft] Write to vault as soon as deployment is ready

* cleanup

* add status logging

* quicker rebuilds

* log stderr

* login

* fix conditional

* disable self logging

* cleanup logging

* cleanup
2022-06-29 15:13:35 -05:00
Brian Seeders
0b0b68786a
[CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
Jonathan Budzenski
2a7b219fbb
[cft] Bump Kibana memory to 2GB (#130600)
When https://github.com/elastic/kibana/pull/130020 is merged reporting
will be disabled on 1GB Kibana instances.  This bumps our CI deployed
instances to 2GB to support manual and automated testing of reporting.
2022-04-19 15:06:48 -05:00
Jonathan Budzenski
b0c3aab4e0
[cft] Reuse elasticsearch snapshot on upgrade (#128264)
Same-version snapshot upgrades have  been causing deployments
to become unhealthy.  For now, lets reuse the original snapshot while we
look for a workaround.
2022-03-22 09:18:19 -07:00
Jonathan Budzenski
e638f82d1f
[cft] Use last verified elasticsearch snapshot (#127906) 2022-03-16 15:18:31 -05:00
Jonathan Budzenski
db116e0568
[cloud deploy] Enable stack monitoring (#126278) 2022-02-23 14:46:39 -06:00
Jonathan Budzenski
f0cfbca673
[cft] Enable enterprise search, integrations server, and ml (#125847)
* wip

* cleanup

* fix syntax

* update all versions

* newline
2022-02-23 14:24:58 -06:00
Jonathan Budzenski
292c25d947
[cft] Generate update plan based on current configuration (#125317)
When a Cloud deployment is updated, we're reusing the original creation
template.  In cases where settings are manually overridden. these changes will be
lost when a deployment is updated.  Instead of using the base template,
this queries the cloud API for an update payload as a base.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-15 13:35:33 -06:00
Jonathan Budzenski
9a63bb8130
[ci] Fix state check for purge cloud deployments (#124985)
Pull request state from GitHub returns 'OPEN' if a pull request is open.
This updates the capitalization when branching from state
2022-02-08 10:31:28 -06:00
Jonathan Budzenski
eb5ab3e23e
[cloud first testing] Purge vault when deployment is removed (#124761)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-07 16:51:00 -06:00
Jonathan Budzenski
f046541315
[cloud-first-testing] Automated deployments (#122102)
* [ci/cloud] Deploy docker image to cloud

* add git commit

* fix template path

* Split cloud build and deploy into separate step

* Remove file

* update field

* Add bootstrap

* WIP purge old cloud deployments

* Fix variable reference

* rm apm

* update path

* fix apm edit

* s/kibana/elasticsearch

* Fix purge bug, remove commit hash from deployment name, track deployment, grab logs and credentials from output

* Use n2-2 agent for cloud build/deploy, fix output flag

* Fix file path

* Use a tmp file for deployment json

* update if kibana exists

* Fix syntax error and skip build for now

* Don't skip build

* grab endpoints

* cleanup

* vault write

* redirect stderr

* refresh vault token

* fix id

* fix annotation

* cleanup

* Update .buildkite/scripts/steps/cloud/build_and_deploy.sh

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2022-02-02 15:52:51 -06:00