Commit graph

34 commits

Author SHA1 Message Date
Christiane (Tina) Heiligers
778572a6cc
Configures PagerDuty Backstage Integration for kbn (#208440)
Integration services added: kibana-sdh, kibana-serverless

Addresses the call to action to integrate pagerduty with backstage.
2025-01-27 23:29:11 +00:00
Jon
32044868b8
[sonarqube] Disable cron (#190611)
OOM issues, will follow up in
https://github.com/elastic/kibana/pull/190547
2024-08-15 09:19:09 -05:00
Jon
432710065d
Reapply "[ci] Fix sonarqube scan (#189936)" (#190011)
I reverted the locations.yml change - I'll leave it for a PR that
migrates the remaining entries in that file.
2024-08-07 07:33:03 -05:00
Jonathan Budzenski
f587412a2e Revert "[ci] Fix sonarqube scan (#189936)"
This reverts commit c0b6ed501e.
2024-08-06 16:06:17 -05:00
Jon
c0b6ed501e
[ci] Fix sonarqube scan (#189936)
jq isn't installed on the container running a scan. It isn't needed, so
this wraps the statement in an `if binary exists`. block

This also enables slack notifications on failure.

https://buildkite.com/elastic/kibana-sonarqube/builds/224
2024-08-06 14:56:29 -05:00
Alex Szabo
ba3f83cd3d
[CI] Remove kme leftovers (take 2) (#187947)
## Summary
Retries #187762 again. There was a partially removed step in the
previous attempt, that's now fully removed.
2024-07-10 16:01:06 +02:00
Jonathan Budzenski
369277fcbc Revert "[CI] Remove kme leftovers (#187762)"
This reverts commit 41ee64709f.
2024-07-09 13:05:08 -05:00
Alex Szabo
41ee64709f
[CI] Remove kme leftovers (#187762)
## Summary
These were used for testing the migration from the kibana-buildkite
infra to the elastic-wide buildkite infra. Now we're done with most of
the migration, we can clean these up.
2024-07-10 03:36:34 +10:00
Robert Oskamp
22a940f5db
Move serverless pipeline definitions to separate files (#187253)
## Summary

This PR moves the definitions of the following pipelines from
`catalog-info.yaml` to `.buildkite/pipeline-resource-definitions`:
- `buildkite-pipeline-kibana-emergency-release` ->
`.buildkite/pipeline-resource-definitions/kibana-serverless-emergency-release.yml`
- `kibana-tests-pipeline` ->
`.buildkite/pipeline-resource-definitions/kibana-serverless-quality-gates.yml`

More details in the original PR #186833, which is split into the
creation of the new pipeline (#187251) and moving existing pipelines
from catalog-info.yaml to .buildkite/pipeline-resource-definitions (this
PR).
2024-07-05 08:58:19 +02:00
Jonathan Budzenski
e23230f072 Revert "Add serverless emergency release quality gate pipeline (#186833)"
This reverts commit cbedb5fff8.
2024-06-28 09:07:52 -05:00
Robert Oskamp
cbedb5fff8
Add serverless emergency release quality gate pipeline (#186833)
## Summary

This PR adds separately quality gate pipelines for the emergency release
process.
This gives us the opportunity to run a different set of checks during an
emergency release compared to a regular release.

### Details

- Add new emergency quality gates pipeline definitions in
`.buildkite/pipelines/quality-gates/emergency`. These are copies of the
regular quality gates pipeline files with the following adjustments:
- The entry point `kibana-serverless-quality-gates-emergency.yml` has an
adjusted `QG_PIPELINE_LOCATION` and comment
- The QA quality gates in `pipeline.tests-qa.yaml` is reduced to just
the CP e2e tests
- Add new pipeline
`.buildkite/pipeline-resource-definitions/kibana-serverless-quality-gates-emergency.yml`
is added that will trigger the emergency version of the quality gates.

### Other changes

In order to have things around the serverless quality gates and the
emergency release consistent, I've taken the opportunity and moved the
definitions of the following pipelines from `catalog-info.yaml` to
`.buildkite/pipeline-resource-definitions`
- `buildkite-pipeline-kibana-emergency-release` ->
`.buildkite/pipeline-resource-definitions/kibana-serverless-emergency-release.yml`
- `kibana-tests-pipeline` ->
`.buildkite/pipeline-resource-definitions/kibana-serverless-quality-gates.yml`
2024-06-28 13:04:38 +02:00
Alex Szabo
ce4c245701
[BK] Add template for pipeline defs (#180189)
## Summary
This is to aid new pipeline creation by example.
2024-04-08 11:21:28 +02:00
Alex Szabo
ab796fdc83
[Ops] Use urls instead of file locations in backstage location entries (#178208)
## Summary
Another episode of the https://github.com/elastic/kibana/pull/178136
saga. It seems I can't find a way to figure out `file` based locations,
backstage always says they don't exist. It's also apparent, that a
sourcegraph.com doesn't show any public `catalog-info.yaml`s that would
use a `type: file` - so it could be a broken approach to begin with.
2024-03-07 13:22:30 +01:00
Alex Szabo
04aeaa2118
[Ops] Use full relative file paths for location entries (#178205)
## Summary
Another padding on https://github.com/elastic/kibana/pull/178136 - this
time using another way of proper local paths, with `./` added.
2024-03-07 12:58:36 +01:00
Alex Szabo
8099b23926
[Ops] Fix backstage location spec (#178194)
## Summary
Another, but hopefully last fix after
https://github.com/elastic/kibana/pull/178136 : `"location" -> "target"`
2024-03-07 11:47:42 +01:00
Alex Szabo
6258233e71
[Ops] fix used catalog entry type to files rather than urls (#178191)
## Summary
For some reason in the previous
(https://github.com/elastic/kibana/pull/178136) PR I've used URL but
didn't actually give urls, this PR fixes the entry types to files.
2024-03-07 11:03:50 +01:00
Alex Szabo
7390350791
[Ops] Create a pipeline staging job (#178136)
## Summary
This job is to help with the kibana-buildkite -> elastic-wide buildkite
migration (https://github.com/elastic/kibana-operations/issues/15).

The idea is the following:
- this PR will create a backstage resource in `catalog-info.yaml` that
triggers the creation of a buildkite pipeline. (*)
- this pipeline will be within the `gobld` universe, using the
elastic-wide infrastructure and agent images.
- if we use this pipeline, edit, and run on a specific branch, we can
test further pipelines in the `gobld` universe, thus we can test a
pipeline's behavior before creating a resource for it, or altering the
currently existing pipelines

(*) - by creating this pipeline, it also tests the idea of having a
router file (`locations.yml`) instead of cramming every pipeline def to
`catalog-info.yaml`
2024-03-07 09:44:09 +01:00
Alex Szabo
171b758bb0
[Ops] Decouple serverless release from tags (#176505)
## Summary
Removes resource def and pipeline for:
https://buildkite.com/elastic/kibana-serverless-release
Adds a step after deploy tag creation to trigger a GPCTL release flow
for the commit hash - this step needs to be emitted because some of its
parameters are not available at the time of uploading the original
pipeline file.

- [x] Test without firing off a release
<img width="1250" alt="Screenshot 2024-02-23 at 11 43 08"
src="f8b2fd04-8b44-4beb-949e-5f45a3573bc5">

Closes https://github.com/elastic/kibana-operations/issues/59 - see this
for the full context.

---------

Co-authored-by: Thomas Watson <w@tson.dk>
2024-02-23 17:58:13 +01:00
Jon
d3a2221ae4
[ci] Create kibana-emergency-release pipeline (#176101)
This pipeline is a no-op for the moment, but will enable testing in
branches.
2024-02-02 15:11:11 -06:00
Jon
0b23e346bf
[ci] Run sonarqube daily (#173961)
Adds a pipeline for a daily SonarQube scan.


https://buildkite.com/elastic/kibana-bot-sonarqube/builds/7#018ca703-4b56-4a56-b6ce-ae6630cd81e3
(ignore the pipeline name/slug, that was a copy paste error. I'll fix it
after)
2024-01-03 15:43:29 -06:00
Jon
cb74a08b4a
[ci] Add sonarqube scan pipeline (#172524)
This pipeline is a no-op for the moment, but will enable testing in
branches.
2023-12-05 11:58:14 -06:00
Ellie
39bf2511fc
Add the buildkite-pipeline to the catalog-info.yaml (#171741)
This PR converts the data in 6843857da0/terrazzo/manifests/prod/buildkite/ into an RRE and stores it their associated repo.
2023-11-29 02:56:09 -07:00
Thomas Watson
5f9e70c7b1
[Ops] Tighten kibana-tests pipeline permissions (#171538) 2023-11-23 15:09:30 +01:00
Thomas Watson
15937228a0
[Ops] Make kibana-release-operators admin for kibana-test-pipeline (#171401) 2023-11-20 07:50:24 -05:00
Giorgos Bamparopoulos
8485e37fb8
Remove obs-ux-infra_services-team from catalog info as it seems to cause issues with Terrazzo (#170737) 2023-11-07 14:46:12 +01:00
Giorgos Bamparopoulos
f93e57bbcf
[serverless] Add obs-ux-infra_services-team team permissions for pipeline.kibana-tests (#170624) 2023-11-07 09:47:20 +00:00
Thomas Watson
3dc0ba39be
[serverless] Give appex-qa team permissions to manage deployments (#169114) 2023-10-17 10:18:11 -07:00
Brandon Kobel
7a1ec0c5c1
Removing the double quotes from the build.filter (#165500)
@brianseeders figured this out. We tried out this change by modifying
the pipeline directly, and it triggered the pipeline:
https://buildkite.com/elastic/kibana-serverless-release
2023-09-01 13:58:32 -04:00
Brandon Kobel
4ba2955f4f
Allow kibana-tech-leads manage Serverless Release Pipeline (#165491) 2023-09-01 13:15:44 -04:00
Brandon Kobel
26afc4d196
Removing trigger_mode: none for the Serverless release pipeline (#165463)
Context:
https://elastic.slack.com/archives/C04KKUA8EUB/p1693563106926819
2023-09-01 09:30:56 -04:00
Isaac Karrer
581b7f4327
pipeline for serverless kibana release (#165009)
## Summary

Adds a pipeline that will trigger the promotion and QG for kibana
through qa -> staging -> production whenever the tag which [matches the
regex](https://regex101.com/r/tY52jo/1) is created.

Sibling PR [here](https://github.com/elastic/serverless-gitops/pull/661)
that defines `main/gen/gpctl/kibana/tagged-release.yaml`

The meat of the PR is the regex.

---------

Co-authored-by: Thomas Watson <w@tson.dk>
Co-authored-by: Alex Szabo <delanni.alex@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-08-31 08:08:01 -05:00
Isaac Karrer
f10b15afc5
Qx 282 touchup qg (#164643)
## Summary

The wrong file path was being given for the pipeline, this fixes that.  

Also, the [serverless release end to end
workflow](https://docs.google.com/document/d/15rx2Z-soL20An0nBUcXX0o_HHf1OU_IgrHXgz20NndI/edit)
calls out some things that I missed on the first pass. Please refer to
the "Kibana Release required testing" table.
2023-08-24 08:48:31 -05:00
Petr Klapka
5ab3d27733
Update catalog-info.yaml (#164498)
Adds the Kibana UI and Kibana Background Tasks services to the Backstage
configuration.

## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Petr Klapka <petr.klapak@elastic.co>
Co-authored-by: Jon <jon@elastic.co>
2023-08-22 14:29:47 -07:00
Isaac Karrer
58334b54ac
Kibana QualityGate Scaffold (#163831)
The main question is here did I get the github team names correct for
fleet and security? Are there any other groups I am missing who will
have quality gates they want to see execute on every kibana release?

- The PR which registered the repo and controls who can write secrets to
vault was merged
[here](https://github.com/elastic/catalog-info/pull/488/files)
- Quality gate registration with argo deploy pipeline
[here](https://github.com/elastic/serverless-gitops/pull/586). Should
merge after this and pipelines are working.
- [this one](https://github.com/elastic/catalog-info/pull/485/files)
merges last and tells terrazzo about the catalog-info.yaml file with our
pipeline. Other pipelines should be migrated over but are not included
here.


Rel: https://github.com/elastic/ingest-dev/issues/2201
Rel: https://elasticco.atlassian.net/browse/QX-282

---------

Co-authored-by: Ramon Butter <ramon.butter@elastic.co>
2023-08-22 14:30:08 +02:00