Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ It is possible to configure some options and versions to run by defining environ

* `APM_AGENT_GO_VERSION`: selects the agent Go version to use. By default it uses the master branch. See [specify an agent version](#specify-an-agent-version)

* `APM_AGENT_JAVA_VERSION`: selects the agent Java version to use. By default it uses the master branch. See [specify an agent version](#specify-an-agent-version)
* `APM_AGENT_JAVA_VERSION`: selects the agent Java version to use. By default it uses the main branch. See [specify an agent version](#specify-an-agent-version)

* `APM_AGENT_NODEJS_VERSION`: selects the agent Nodejs version to use. By default it uses the master branch. See [specify an agent version](#specify-an-agent-version)

Expand Down
2 changes: 1 addition & 1 deletion docker/java/spring/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM maven:3.6.3-adoptopenjdk-11

ARG JAVA_AGENT_REPO=elastic/apm-agent-java
ARG JAVA_AGENT_BRANCH=master
ARG JAVA_AGENT_BRANCH=main
ARG JAVA_AGENT_BUILT_VERSION=
ARG JAVA_M2_CACHE=false

Expand Down
4 changes: 2 additions & 2 deletions scripts/modules/apm_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def _content(self):

class AgentJavaSpring(Service):
SERVICE_PORT = 8090
DEFAULT_AGENT_VERSION = "master"
DEFAULT_AGENT_VERSION = "main"
DEFAULT_AGENT_RELEASE = ""
DEFAULT_AGENT_REPO = "elastic/apm-agent-java"

Expand All @@ -470,7 +470,7 @@ def add_arguments(cls, parser):
parser.add_argument(
"--java-agent-version",
default=cls.DEFAULT_AGENT_VERSION,
help='Use Java agent version (master, 0.5, v.0.7.1, ...)',
help='Use Java agent version (main, 0.5, v.0.7.1, ...)',
)
parser.add_argument(
"--java-agent-release",
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def test_agent_java_spring(self):
agent-java-spring:
build:
args:
JAVA_AGENT_BRANCH: master
JAVA_AGENT_BRANCH: main
JAVA_AGENT_BUILT_VERSION: ""
JAVA_AGENT_REPO: elastic/apm-agent-java
JAVA_M2_CACHE: "false"
Expand Down
2 changes: 1 addition & 1 deletion tests/versions/java.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
JAVA_AGENT:
- 'github;master'
- 'github;main'
- 'release;1.19.0'
- 'release;1.18.1'
2 changes: 1 addition & 1 deletion tests/versions/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ PYTHON_AGENT:
# github;version -> pip install elastic-apm==git+https://github.com/elastic/apm-agent-python.git@version
# release;latest -> pip install elastic-apm
# release;release -> pip install elastic-apm==version
- 'github;master'
- 'github;main'
- 'release;latest'
- 'release;4.2.2'