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

[artifacts] Deploy Cloud image #129650

Merged
merged 53 commits into from
Apr 13, 2022
Merged

[artifacts] Deploy Cloud image #129650

merged 53 commits into from
Apr 13, 2022

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Apr 6, 2022

This adds a pipeline step to create a deployment using our Cloud image artifact. Eventually we want to run FTR tests against this deployment, but unfortunately during testing there were unexpected situations (e.g. wrong credentials) where our test runner logs were not sanitized. For now this verifies our Cloud image deploys and then shuts it down.

I think there's utility in this limited check without running the FTR. I'd like to split FTR log cleanup into a separate PR and then enable the outlined FTR setup. I'm open to postponing this merge too - opening it up for discussion.

This is only enabled for snapshot builds until we have an API for getting the correct release build for beats (which is embedded in the docker image). Beats artifacts needs to match with other stack images to qualify for a staging build.

Depends on #129499. This will be easier to review once that's merged.

jbudz added 4 commits April 5, 2022 14:21
This adds the publish step to the release pipeline, which uses the
release-manager CLI to upload a list Kibana artifacts.
@jbudz jbudz added skip-ci release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v8.2.0 v8.3.0 Team:Operations Team label for Operations Team labels Apr 6, 2022
@jbudz jbudz changed the title [artifacts] Test cloud image [artifacts] Deploy Cloud image Apr 12, 2022
@jbudz jbudz removed the skip-ci label Apr 12, 2022
@jbudz
Copy link
Member Author

jbudz commented Apr 12, 2022

@jbudz jbudz marked this pull request as ready for review April 12, 2022 22:51
@jbudz jbudz requested a review from a team as a code owner April 12, 2022 22:51
@elasticmachine
Copy link
Contributor

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

@jbudz
Copy link
Member Author

jbudz commented Apr 13, 2022

buildkite test this

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz merged commit 482ae8a into main Apr 13, 2022
@jbudz jbudz deleted the artifacts/cloud-testing branch April 13, 2022 20:12
kibanamachine pushed a commit that referenced this pull request Apr 13, 2022
* [artifacts] Publish release artifacts

This adds the publish step to the release pipeline, which uses the
release-manager CLI to upload a list Kibana artifacts.

* cleanup

* [artifacts] Test cloud image

* tmp skip unrelated steps

* build cloud artifact

* fix tag

* add missing artifacts

* enable rm

* fix syntax

* fix tag

* fix artifact

* fix variable

* source utils

* fix path

* fix version

* skip steps

* re-add pipeline steps

* set permissions

* Update .buildkite/scripts/steps/artifacts/publish.sh

Co-authored-by: Chris <[email protected]>

* Revert "Update .buildkite/scripts/steps/artifacts/publish.sh"

This reverts commit a6228f5.

* export

* support version qualifier

* setup env

* cleanup

* consistency

* \n

* comment

* unneccessary fallback

* +x

* hoist env args

* source

* link to artifacts

* fix artifacts summary

* relax docker glob

* \n

* fix summary

* fix variable

* rm es docker image

* setup cloud env

* rename deployment

* exclude skipCloud

* only run on snapshot builds

* update step name

* TEST_BROWSER_HEADLESS=1

* cleanup

* newline

* consistency

* pass deployment id

Co-authored-by: Chris <[email protected]>
(cherry picked from commit 482ae8a)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.2

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 13, 2022
* [artifacts] Publish release artifacts

This adds the publish step to the release pipeline, which uses the
release-manager CLI to upload a list Kibana artifacts.

* cleanup

* [artifacts] Test cloud image

* tmp skip unrelated steps

* build cloud artifact

* fix tag

* add missing artifacts

* enable rm

* fix syntax

* fix tag

* fix artifact

* fix variable

* source utils

* fix path

* fix version

* skip steps

* re-add pipeline steps

* set permissions

* Update .buildkite/scripts/steps/artifacts/publish.sh

Co-authored-by: Chris <[email protected]>

* Revert "Update .buildkite/scripts/steps/artifacts/publish.sh"

This reverts commit a6228f5.

* export

* support version qualifier

* setup env

* cleanup

* consistency

* \n

* comment

* unneccessary fallback

* +x

* hoist env args

* source

* link to artifacts

* fix artifacts summary

* relax docker glob

* \n

* fix summary

* fix variable

* rm es docker image

* setup cloud env

* rename deployment

* exclude skipCloud

* only run on snapshot builds

* update step name

* TEST_BROWSER_HEADLESS=1

* cleanup

* newline

* consistency

* pass deployment id

Co-authored-by: Chris <[email protected]>
(cherry picked from commit 482ae8a)

Co-authored-by: Jonathan Budzenski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.2.0 v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants