Skip to content

Cherry-pick #16927 to 7.x: Fix issue when building Agent snapshot and enable building the agent.#17574

Merged
ph merged 5 commits intoelastic:7.xfrom
ph:backport_16927_7.x
Apr 7, 2020
Merged

Cherry-pick #16927 to 7.x: Fix issue when building Agent snapshot and enable building the agent.#17574
ph merged 5 commits intoelastic:7.xfrom
ph:backport_16927_7.x

Conversation

@ph
Copy link
Copy Markdown
Contributor

@ph ph commented Apr 7, 2020

Cherry-pick of PR #16927 to 7.x branch. Original message:

An extension in the generated files ("SNAPSHOT") was preventing us to
correctly generate the agent artifact with the packaged
metricbeat/filebeat.

Fixes: #16908

What does this PR do?

Why is it important?

To have agent artifacts from the nigthly build.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

…#16927)

An extension in the generated files ("SNAPSHOT") was preventing us to
correctly generate the agent artifact with the packaged
metricbeat/filebeat.

Fixes: #16908
(cherry picked from commit 62d3683)
@ph ph requested a review from michalpristas April 7, 2020 12:41
@ph ph self-assigned this Apr 7, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

Comment thread dev-tools/packaging/packages.yml Outdated
@@ -98,10 +98,10 @@ shared:
mode: 0600
config: true
/etc/{{.BeatName}}/beats/filebeat-{{ beat_version }}-{{.GOOS}}-{{.AgentArchName}}.tar.gz:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you cherry pick also a commit where snapshot is used also here on this line?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes please

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have included #17077 #17368 #17016 #16898 in this PR can you take another look?

[Agent] Fix installers for snapshots (#17077)
[Agent] fixed mage package for agent (#17368)
[Agent] Make default config OS agnostic (#17016)
[Agent] Docker image for integration tests (#16898)
Copy link
Copy Markdown
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ph
Copy link
Copy Markdown
Contributor Author

ph commented Apr 7, 2020

I am going to merge this as soon as lint passes there are currently no tests for agent executed on the 7.x branch.

@ph ph merged commit 284b202 into elastic:7.x Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants