Skip to content

CI Automation to keep in sync elastic-agent manifests of github and kibana repos #706

@gizas

Description

@gizas

Describe the enhancement:

Currently Cloud Native team maintains only standalone and managed elastic agent manifests of github
See https://github.com/elastic/elastic-agent/tree/main/deploy/kubernetes

Kibana team maintains another version of same files in Kibana in order to provide the different Fleet functionalities:
Standalone Manifest: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts#L8

Managed Manifest: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts#L274

This task will try to automate the syncing of above manifests in https://beats-ci.elastic.co/ when a new PR opens in github under https://github.com/elastic/elastic-agent/tree/main/deploy/kubernetes

Describe a specific use case for the enhancement or feature:

  1. Developer updates https://github.com/elastic/elastic-agent/tree/main/deploy/kubernetes/elastic-agent--kubernetes.yaml manifest
  2. PR is merged
  3. CI job is triggered nightly / (or manually) and will check the date of change of main branch
  4. Will open a new PR to for the relevant https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts repo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions