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

Makefile: fix update-beats-module #3785

Merged
merged 1 commit into from
May 12, 2020

Conversation

axw
Copy link
Member

@axw axw commented May 11, 2020

Motivation/summary

Update Make update-beats-module target to run go list -m -f {{.Dir}} ... in the shell command, rather than in Make as a shell function, to avoid premature expansion.

Checklist

I have considered changes for:
- [ ] documentation
- [ ] logging (add log lines, choose appropriate log selector, etc.)
- [ ] metrics and monitoring (create issue for Kibana team to add metrics to visualizations, e.g. Kibana#44001)
- [ ] automated tests (add tests for the code changes, all unit tests pass locally)
- [ ] telemetry
- [ ] Elasticsearch Service (https://cloud.elastic.co)
- [ ] Elastic Cloud Enterprise (https://www.elastic.co/products/ece)
- [ ] Elastic Cloud on Kubernetes (https://www.elastic.co/elastic-cloud-kubernetes)

How to test these changes

  1. make update-beats
  2. Check that testing/environments matches the new module

Related issues

Fixes #3784

Run `go list ...` in the shell, rather than
in Make, to avoid premature expansion.
@codecov-io
Copy link

Codecov Report

Merging #3785 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3785   +/-   ##
=======================================
  Coverage   79.76%   79.76%           
=======================================
  Files         136      136           
  Lines        6158     6158           
=======================================
  Hits         4912     4912           
  Misses       1246     1246           

@apmmachine
Copy link
Contributor

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 3227
Skipped 145
Total 3372

@axw axw merged commit 8b4a645 into elastic:master May 12, 2020
@axw axw deleted the make-update-download-modules branch May 12, 2020 00:43
axw added a commit to axw/apm-server that referenced this pull request May 12, 2020
Run `go list ...` in the shell, rather than
in Make, to avoid premature expansion.
axw added a commit to axw/apm-server that referenced this pull request May 12, 2020
Run `go list ...` in the shell, rather than
in Make, to avoid premature expansion.
axw added a commit that referenced this pull request May 12, 2020
Run `go list ...` in the shell, rather than
in Make, to avoid premature expansion.
axw added a commit that referenced this pull request May 12, 2020
Run `go list ...` in the shell, rather than
in Make, to avoid premature expansion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make update-beats-module uses wrong module for testing/environments rsync
4 participants