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

[7.x] Move "tool" module dependencies to tools/go.mod (backport #5827) #5838

Merged
merged 7 commits into from
Aug 3, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 31, 2021

This is an automatic backport of pull request #5827 done by Mergify.
Cherry-pick of fef190e has failed:

On branch mergify/bp/7.x/pr-5827
Your branch is up to date with 'origin/7.x'.

You are currently cherry-picking commit fef190e9.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   .ci/scripts/unit-test.sh
	modified:   Makefile
	modified:   NOTICE.txt
	modified:   elasticsearch/backoff_test.go
	modified:   elasticsearch/estest/client.go
	modified:   script/generate_notice.py
	new file:   tools/go.mod
	new file:   tools/go.sum
	renamed:    tools.go -> tools/tools.go
	modified:   x-pack/apm-server/sampling/pubsub/pubsubtest/client.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   go.mod
	both modified:   go.sum

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* Move "tool" module dependencies to tools/go.mod

Move some Go module dependencies into their own
go.mod under tools/, so they don't interfere with
apm-server's dependencies.

* Update go-elasticsearch

* Update go elasticsearch (#5599)

Partial cherry-pick of
39228c2

Excludes product change bits, which are not in go-elasticsearch/v8.

(cherry picked from commit fef190e)

# Conflicts:
#	go.mod
#	go.sum
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Jul 31, 2021
@mergify mergify bot assigned axw Jul 31, 2021
@apmmachine
Copy link
Contributor

apmmachine commented Jul 31, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-03T03:51:48.964+0000

  • Duration: 43 min 4 sec

  • Commit: 7862e5f

Test stats 🧪

Test Results
Failed 0
Passed 4517
Skipped 15
Total 4532

Trends 🧪

Image of Build Times

Image of Tests

@axw axw removed the conflicts There is a conflict in the backported pull request label Aug 2, 2021
@axw axw enabled auto-merge (squash) August 2, 2021 01:35
axw added 2 commits August 3, 2021 10:45
elasticsearch/estest was only used inside the sourcemap
package's tests. Remove this package and refactor tests
to use an httptest.Server where feasible.

Change the beater test that was using sourcemap/test
for test data to use the sourcemap in testdata/sourcemap
instead, and remove sourcemap/test.

(cherry picked from commit 7ccc202)
Apparently these ones are required by CI to be
in the top-level go.mod file. I'll see if we can
fix that, but for now here we go.

(cherry picked from commit aa13b93)
@axw axw merged commit 7414d04 into 7.x Aug 3, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-5827 branch August 3, 2021 04:35
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.

2 participants