Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

docker/opbeans/go: strip vN from replacement path#1401

Merged
axw merged 1 commit intoelastic:mainfrom
axw:opbeans-go-mod-replace
Jan 25, 2022
Merged

docker/opbeans/go: strip vN from replacement path#1401
axw merged 1 commit intoelastic:mainfrom
axw:opbeans-go-mod-replace

Conversation

@axw
Copy link
Copy Markdown
Member

@axw axw commented Jan 25, 2022

What does this PR do?

When replacing go.elastic.co/apm modules for opbeans-go, strip the trailing /vN (e.g. /v2) from the module paths to form the directory structure. The version suffix is only present in module files, not in the directory structure.

Why is it important?

This will be required to replace modules to a local checkout when we add /v2 suffixes to APM Agent modules.

Related issues

Related to elastic/apm-agent-go#1184

When replacing go.elastic.co/apm modules for opbeans-go,
strip the trailing /vN (e.g. /v2) from the module paths
to form the directory structure. The version suffix is
only present in module files, not in the directory
structure.
@axw axw requested a review from a team January 25, 2022 03:14
@ghost
Copy link
Copy Markdown

ghost commented Jan 25, 2022

💚 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: 2022-01-25T03:14:51.284+0000

  • Duration: 42 min 26 sec

  • Commit: 26e50a8

Test stats 🧪

Test Results
Failed 0
Passed 707
Skipped 1
Total 708

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@axw axw merged commit ed30b62 into elastic:main Jan 25, 2022
@axw axw deleted the opbeans-go-mod-replace branch January 25, 2022 04:36
mergify bot pushed a commit that referenced this pull request Jan 25, 2022
When replacing go.elastic.co/apm modules for opbeans-go,
strip the trailing /vN (e.g. /v2) from the module paths
to form the directory structure. The version suffix is
only present in module files, not in the directory
structure.

(cherry picked from commit ed30b62)
axw added a commit that referenced this pull request Jan 25, 2022
When replacing go.elastic.co/apm modules for opbeans-go,
strip the trailing /vN (e.g. /v2) from the module paths
to form the directory structure. The version suffix is
only present in module files, not in the directory
structure.

(cherry picked from commit ed30b62)

Co-authored-by: Andrew Wilkins <axw@elastic.co>
v1v added a commit to v1v/apm-integration-testing that referenced this pull request Feb 3, 2022
…main-reference

* upstream/main:
  Update dockerfile for opbeans-dotnet to use .NET6 (elastic#1423)
  versions: wrong versions (elastic#1414)
  Update dockerfile for .NET test to use .NET6 (elastic#1412)
  apm: Neutral naming for apm-agent-java (elastic#1375)
  docker/go: use go.elastic.co/apm/v2 (elastic#1403)
  docker/opbeans/go: strip vN from replacement path (elastic#1401)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant