Skip to content

Commit

Permalink
Add assetbeat as external component (#3503)
Browse files Browse the repository at this point in the history
  • Loading branch information
girodav committed Oct 23, 2023
1 parent 97d9c80 commit 9ae9a4c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
32 changes: 32 additions & 0 deletions changelog/fragments/1696319263-add-assetbeat-dependency.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: feature

# Change summary; a 80ish characters long description of the change.
summary: Add assetbeat among the external dependencies needed to package Elastic Agent

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: elastic-agent

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
#pr: https://github.com/owner/repo/1234

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
issue: https://github.com/elastic/obs-infraobs-team/issues/1114
1 change: 1 addition & 0 deletions dev-tools/mage/manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func DownloadComponentsFromManifest(manifest string, platforms []string, platfor
"beats": {"auditbeat", "filebeat", "heartbeat", "metricbeat", "osquerybeat", "packetbeat"},
"cloud-defend": {"cloud-defend"},
"cloudbeat": {"cloudbeat"},
"assetbeat": {"assetbeat"},
"elastic-agent-shipper": {"elastic-agent-shipper"},
"endpoint-dev": {"endpoint-security"},
"fleet-server": {"fleet-server"},
Expand Down
2 changes: 2 additions & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ func packageAgent(platforms []string, packagingFn func()) {
// https://artifacts-snapshot.elastic.co/endpoint-dev/latest/8.11.0-SNAPSHOT.json
// https://artifacts-snapshot.elastic.co/fleet-server/latest/8.11.0-SNAPSHOT.json
// https://artifacts-snapshot.elastic.co/prodfiler/latest/8.11.0-SNAPSHOT.json
// https://artifacts-snapshot.elastic.co/assetbeat/latest/8.11.0-SNAPSHOT.json
externalBinaries := map[string]string{
"auditbeat": "beats",
"filebeat": "beats",
Expand All @@ -943,6 +944,7 @@ func packageAgent(platforms []string, packagingFn func()) {
"pf-elastic-collector": "prodfiler",
"pf-elastic-symbolizer": "prodfiler",
"pf-host-agent": "prodfiler",
"assetbeat": "assetbeat", // only supporting linux/amd64 or linux/arm64
}

// Only log fatal logs for logs produced using logrus. This is the global logger
Expand Down

0 comments on commit 9ae9a4c

Please sign in to comment.